should be fixed in 7.0.1. If not you can open an issue. https://github.com/mapserver/mapserver/pull/5207
-- thomas On 10 May 2016 at 12:08, Rahkonen Jukka (MML) < [email protected]> wrote: > Hi, > > > > WFS output from Mapserver 7.0 in GML contain gml:id > > <ms:msGeometry><gml:Polygon gml:id="states.1" > srsName="urn:ogc:def:crs:EPSG::4326"> > > > > However, with GeoJSON as outputformat the id is missing: > > { > > "type": "FeatureCollection", > > "crs": { "type": "name", "properties": { "name": > "urn:ogc:def:crs:OGC:1.3:CRS84" } }, > > "features": [ > > { "type": "Feature", "properties": { "PK_UID": 1, "STATE_NAME": "Illinois", > > > > > > GeoJSON specification says in > http://geojson.org/geojson-spec.html#feature-objects: > > “If a feature has a commonly used identifier, that identifier should be > included as a member of the feature object with the name "id".” > > > > GeoJSON from Geoserver WFS does contain the id: > > {"type":"FeatureCollection","totalFeatures":49,"features":[{"type":"Feature","id":"states.1","geometry":{"type":"MultiPolygon" > > > > Should this be classified as a bug or a candidate for a featere request? > > > > -Jukka Rahkonen- > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users >
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
