2

In a MapServer map file, it is possible to set up a variety of output formats for WFS GetFeature requests.

However, it doesn't seem possible to do the same for a WFS GetPropertyValue request, which only seems to work with these output formats:

application/gml+xml; version=3.2
text/xml; subtype=gml/3.2.1
text/xml; subtype=gml/3.1.1
text/xml; subtype=gml/2.1.2

Is there any way to enable CSV or JSON output for GetPropertyValue requests?

4

You can setup OUTPUTFORMAT declarations which leverage MapServer's use of OGR for custom output formats (including CSV, GeoJSON). See the documentation for further details.

Update: this does not appear to be the case for GetPropertyValue requests, only GetFeature requests.

  • 1
    For GetFeature, sure, but does it affect also GetPropertyValue? – user30184 Apr 30 '16 at 21:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.