Opened 18 years ago
Last modified 16 years ago
#1718 closed enhancement
Allow disabling geometry output for WFS — at Initial Version
Reported by: | sdlime | Owned by: | mapserverbugs |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | WFS Server | Version: | 4.10 |
Severity: | minor | Keywords: | |
Cc: |
Description
In some cases one might not want to output the geometry associated with a feature as part of a WFS response. I propose taking advantage of the gml_geometries metadata element. That element allows you to define the geometry(ies) associated with a layer (MapServer will create a default if not set). By setting that value to "none" that would trigger MapServer to: - ommit the geometry from the describeFeatureType response - ommit the geometry (and bounding box) from a WFS query response I've tested the proposed solution and it works nicely and could be taken advantage of via WFS filters that exclude certain properties by setting metadata on-the-fly.
Note:
See TracTickets
for help on using tickets.