forked from GeoNode/geonode
-
Notifications
You must be signed in to change notification settings - Fork 17
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).