Skip to content
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

WFS request without geometries #179

Closed
woodbri opened this issue Jun 16, 2017 · 0 comments
Closed

WFS request without geometries #179

woodbri opened this issue Jun 16, 2017 · 0 comments

Comments

@woodbri
Copy link

woodbri commented Jun 16, 2017

Even wrote in response to query on list:

Digging into the code, I found that setting in the LAYER.METADATA

"gml_geometries"    "none"

will do the job.

This trick is used internally in particular to implement GetPropertyValue. But digging into history, I actually see it was done on purpose for GetFeature as well per

MapServer/MapServer#1718

It is just that the documentation for it in is missing in

http://mapserver.org/ogc/wfs_server.html . Doesn't seem to be tested in the regression suite as far as I can see, so lucky it still works.

Note: this trick will only work for MapServer integrated GML output. OGR outputformat doesn't honour this setting.

havatv pushed a commit that referenced this issue Jun 16, 2017
@havatv havatv closed this as completed Jun 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants