Ian

you may have to enable the GetFeatureById option in your mapfile as at the
moment it looks like you have it turned off.

Put something like this in the LAYER block to enable all WFS requests:

"wfs_enable_request" "*"

>From there you can begin to test with:

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

And the server will tell you what other parameters you need to add to the
URL in order to successfully return a record.



On Sat, May 7, 2016 at 11:44 AM, Ian Walberg <[email protected]>
wrote:

> Jukka,
>
>
>
> We could not get that to work, what is the syntax for our setup?
>
>
>
> Thanks
>
>
>
> Ian
>
>
>
> *From:* Rahkonen Jukka (MML) [mailto:[email protected]]
> *Sent:* Saturday, May 7, 2016 10:54 AM
> *To:* Ian Walberg <[email protected]>;
> [email protected]
> *Subject:* VS: [mapserver-users] WFS - featureid/resourceid
>
>
>
> I would try the GetFeatureById stored query
> http://mapserver.org/ogc/wfs_server.html
>
> Jukka Rahkonen
> ------------------------------
>
> *Lähettäjä: *Ian Walberg <[email protected]>
> *Lähetetty: *‎7.‎5.‎2016 20:47
> *Vastaanottaja: *[email protected]
> *Aihe: *[mapserver-users] WFS - featureid/resourceid
>
> Folks,
>
> How do we select just a single feature using FEATUREID or RESOUCEID.
>
>
> http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAMES=DATA_TEST
>
> Thanks
>
> Ian
> _______________________________________________
> 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
>
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to