-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select and edit vector data in ipyleaflet #599
Comments
You can convert shapefiles to geojson, then you should be able to load the geojson to ipyleaflet and manipulate markers. Here are some relevant functions and examples: You can also try out geemap if you want to utilize the computational power of Earth Engine. Check out my tutorials:
|
Thanks for the quick response @giswqs! I will test it out and close the issue afterwards :) |
I just discovered that the ipyleaflet DrawControl has a |
By integrating ipysheet, it seems possible to edit vector data attributes interactively. |
Thanks to the 46_edit_vector.mp4 |
Dear community,
For the implicit open source geomodeling package GemPy (https://github.com/cgre-aachen/gempy) we are looking for a way to easily and interactively manipulate vector data/esri shape files (loading, plotting reprojection is no issue).
We as Geologists mainly work with point data (e.g. orientation measurements of layers), line data (e.g. fault traces where indices have to be extracted) or polygons (e.g. geological maps where vertices of certain layer boundaries are needed). All of this is input data for our modeling package. In general, the modeling package only reads in point data and computes a model based on that.
However, as we are visual people, we would like to visualize our (surface) data where we would like to use ipyleaflet for. In addition, we would like to perform very simple manipulations such as adding single points or removing points right away in python/Jupyter Notebooks instead of in a GIS software such as QGIS or ArcGIS.
Is this feature available in ipyleaflet somehow (e.g. With DrawControl) or does anyone know or can recommend any packeges (such as leaflet-geoman or geemap @giswqs) that can perform these basic tasks without leaving the ipyleaflet map environment?
Thanks for your help :)
Alex
The text was updated successfully, but these errors were encountered: