-
Notifications
You must be signed in to change notification settings - Fork 1.1k
GNIP 25 LayerAttribute Model for Customizing Feature Info Results
mbertrand edited this page Jan 26, 2012
·
2 revisions
Functionality that will allow users to determine which layer attributes are displayed by the Identify tool, along with their sort order and titles.
Matt Bertrand
TBD.
Implemented in WorldMap. Pull request at https://github.com/opengeo/gxp/pull/83 (GeoNode), https://github.com/GeoNode/geonode-client/pull/4 (geonode-client), https://github.com/opengeo/gxp/pull/84 (gxp)
Requested by WorldMap users.
- When uploading/slurping layers, save all the layer's feature attributes in a new LayerAttribute model.
https://github.com/cga-harvard/cga-worldmap/blob/master/src/GeoNodePy/geonode/maps/models.py#L1501
https://github.com/cga-harvard/cga-worldmap/blob/master/src/GeoNodePy/geonode/maps/utils.py#L491
- On the layer details edit page, a new form allows the user to customize each attribute's title, display order, and visibility. This will determine how the attribute is displayed when GetFeatureInfo results are returned (depends on additional changes made to geonode-client and gxp).