[mapserver-users] WFS OUTPUTFORMATs and PROPERTYNAME

Seth G sethg at geographika.co.uk
Mon Jul 2 11:55:11 PDT 2018


Hi all,

A question on WFS GetFeature requests and the OUTPUTFORMAT type. 

All fields specified in gml_include_items are returned when creating non-GML outputs such as Shapefile and GeoJSON even when setting the PROPERTYNAME parameter in the request to reduce which fields should be added to the output. 
The docs at http://mapserver.org/output/ogr_output.html#layer-metadata note you can use  gml_include_items but makes no mention they can't be overridden with PROPERTYNAME . 

As OUTPUT format is an extension to WFS (http://mapserver.org/ogc/wfs_server.html#mapserver-wfs-extensions) is this logic by design?

Maybe a note should be added to http://mapserver.org/ogc/wfs_server.html#to-do-items-and-known-limitations ?

Regards,

Seth

--
web:http://geographika.co.uk
twitter: @geographika


More information about the mapserver-users mailing list