[mapserver-users] WFS OUTPUTFORMATs and PROPERTYNAME

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Mon Jul 2 12:23:51 PDT 2018


Hi,

Do you get what you want with GML output? Have you tried if using ows_include_items would make any difference? And how do those attributes appear in the DescribeFeatureType? Attributes which are "not null" must appear in the response by WFS standard.

-Jukka Rahkonen- 


-----Alkuperäinen viesti-----
Lähettäjä: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Seth G
Lähetetty: 2. heinäkuuta 2018 21:55
Vastaanottaja: mapserver-users at lists.osgeo.org
Aihe: [mapserver-users] WFS OUTPUTFORMATs and PROPERTYNAME

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
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list