[mapserver-users] WFS - featureid/resourceid

Ian Walberg ian.walberg at airborne.aero
Sat May 7 12:53:24 PDT 2016


That did not seem to make any difference, can you tell from here what output types should work?

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetCapabilities

Thanks

Ian


From: TC Haddad [mailto:tchaddad at gmail.com]
Sent: Saturday, May 7, 2016 12:46 PM
To: Ian Walberg <ian.walberg at airborne.aero<mailto:ian.walberg at airborne.aero>>
Cc: mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
Subject: Re: [mapserver-users] WFS - featureid/resourceid


Try adding GML as a format option to see if you are able to get a result that way:

"wfs_getfeature_formatlist" "gml,geojson"


On Sat, May 7, 2016 at 12:43 PM, Ian Walberg <ian.walberg at airborne.aero<mailto:ian.walberg at airborne.aero>> wrote:
Yes we see the same and that was my reason for asking.

Thanks
Ian

From: TC Haddad [mailto:tchaddad at gmail.com<mailto:tchaddad at gmail.com>]
Sent: Saturday, May 7, 2016 12:39 PM
To: Ian Walberg <ian.walberg at airborne.aero<mailto:ian.walberg at airborne.aero>>

Cc: mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
Subject: Re: [mapserver-users] WFS - featureid/resourceid


Well it looks like your map file settings are fine, and a correctly formatted URL would be:

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&STOREDQUERY_ID=urn:ogc:def:query:OGC-WFS::GetFeatureById&ID=DATA_TEST.1
However the resulting error message indicates that something may else may be amiss:

msQueryByFilter(): Search returned no results. No matching record(s) found.
LayerDefaultTranslateFilter(): General error message. This data driver does not implement filter translation support

On Sat, May 7, 2016 at 12:29 PM, Ian Walberg <ian.walberg at airborne.aero<mailto:ian.walberg at airborne.aero>> wrote:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160507/ebd4fd30/attachment.htm>


More information about the MapServer-users mailing list