Do you have a FILTERITEM specified in the LAYER? See this thread to see if the solution helps:
http://lists.osgeo.org/pipermail/mapserver-users/2015-June/077933.html On Sat, May 7, 2016 at 1:04 PM, Ian Walberg <[email protected]> wrote: > The db is sqlite. > > > > ian > > > > *From:* TC Haddad [mailto:[email protected]] > *Sent:* Saturday, May 7, 2016 12:57 PM > > *To:* Ian Walberg <[email protected]> > *Cc:* [email protected] > *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 <[email protected]> > 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:[email protected] <[email protected]>] > *Sent:* Saturday, May 7, 2016 12:46 PM > *To:* Ian Walberg <[email protected]> > *Cc:* [email protected] > *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 <[email protected]> > wrote: > > Yes we see the same and that was my reason for asking. > > > > Thanks > > Ian > > > > *From:* TC Haddad [mailto:[email protected]] > *Sent:* Saturday, May 7, 2016 12:39 PM > *To:* Ian Walberg <[email protected]> > > > *Cc:* [email protected] > *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 <[email protected]> > wrote: > > >
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
