Monday, 22 May 2017

leaflet - CartoDB.js SQL API editing geometry


Is there anyway you can allow users to edit the geometry of shapes (e.g. move an existing point) using the CartoDB.js or CartDB SQL API libraries.


I realise you can do this directly in the CartoDB app but I don't want to give the client access to the CartoDB app and would rather them edit the data through a separate web app.


The only thought I have had so far is to convert the features to GeoJSON and use available leaflet functions to move the data and then update the location via the SQL API.





No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...