[mapserver-users] WFS - featureid/resourceid

Ian Walberg ian.walberg at airborne.aero
Sat May 7 13:04:50 PDT 2016


The db is sqlite.

ian

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


No - it seems the result could return successfully in either format, so the server config is fine.
What is the data storage format? perhaps that is the driver that is reporting the error...

On Sat, May 7, 2016 at 12:53 PM, Ian Walberg <ian.walberg at airborne.aero<mailto:ian.walberg at airborne.aero>> wrote:

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/af34a6b1/attachment-0001.html>


More information about the mapserver-users mailing list