-
Notifications
You must be signed in to change notification settings - Fork 17
GNIP 21 – Create New Vector Layers and Add Edit Delete Layer Features
Users will have the option of creating a new vector layer from scratch, and add/edit/delete features for that layer when it has been added to a map. Users will also be able to edit features on any existing layer that they have edit permissions for.
Matt Bertrand
TBD.
Implemented in WorldMap but could use some refinement; geonode integration branch is at https://github.com/cga-harvard/cga-worldmap/tree/gneditor
Many potential users may want to add data to a map but don't have (or know anything about) shapefiles. The ability to edit layer features online would also be easier than editing the shapefile locally and reuploading the modified version to GeoNode.
-
Create a new layer creation form (somewhat similar to layer upload form). Use modified version of MapStory layer creation code (for annotation) to create the layer based on the form parameters. Screenshot:
-
Use a predefined template for layer attributes (name, description, numeric_field_1, string_field_1, etc). Or allow users to define their own attributes.
-
Use the existing FeatureManager and FeatureEditor tools in GXP to create/edit/delete layer features on the map
-
Add code to GeoExplorer to check user edit permissions for selected layers in the layer tree and enable/display the Create/Edit feature tools based on results.
-
Use a WFSTransactionListener in GeoServer to update layer bounding boxes whenever a feature is edited