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-boun...@lists.osgeo.org] Puolesta Seth G Lähetetty: 2. heinäkuuta 2018 21:55 Vastaanottaja: mapserver-users@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@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users