[mapserver-users] WFS - featureid/resourceid

TC Haddad tchaddad at gmail.com
Sat May 7 12:12:22 PDT 2016


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 <ian.walberg at airborne.aero>
wrote:

> Jukka,
>
>
>
> We could not get that to work, what is the syntax for our setup?
>
>
>
> Thanks
>
>
>
> Ian
>
>
>
> *From:* Rahkonen Jukka (MML) [mailto:jukka.rahkonen at maanmittauslaitos.fi]
> *Sent:* Saturday, May 7, 2016 10:54 AM
> *To:* Ian Walberg <ian.walberg at airborne.aero>;
> mapserver-users at lists.osgeo.org
> *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 <ian.walberg at airborne.aero>
> *Lähetetty: *‎7.‎5.‎2016 20:47
> *Vastaanottaja: *mapserver-users at lists.osgeo.org
> *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
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160507/7b0cbea9/attachment.htm>


More information about the MapServer-users mailing list