[OpenLayers-Users] Use WFS Information
Bart van den Eijnden
bartvde at opengeo.org
Thu Sep 20 03:55:03 PDT 2012
If you are using an OpenLayers Format to parse this, then feature.attributes.typ and feature.attributes.tst
Best regards,
Bart
--
Bart van den Eijnden
OpenGeo - http://opengeo.org
Expert service straight from the developers.
On Sep 20, 2012, at 12:50 PM, vGIS <valentino1s73s at gmx.net> wrote:
> A WFS-Call returns the following XML per feature:
>
> <gml:featureMembers>
> <topp:poly gml:id="poly.20">
> <topp:geom>
> <gml:Polygon srsDimension="2"
> srsName="http://www.opengis.net/gml/srs/epsg.xml#31468">
> <gml:exterior>
> <gml:LinearRing srsDimension="2">
> <gml:posList>4356401.9816206 5513006.8751176 4355269.8991122
> 5511558.8626068 4357639.3741298 5510874.3476018 4358113.2691333
> 5512506.6526139 4356401.9816206 5513006.8751176</gml:posList>
> </gml:LinearRing>
> </gml:exterior>
> </gml:Polygon>
> </topp:geom>
> * <topp:typ>1</topp:typ>
> <topp:tst>test</topp:tst>*
> </topp:poly>
>
> Now, I'd like to use the bold marked information. How can feature attributes
> (not only id/fid/geom) be called?
>
>
>
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/Use-WFS-Information-tp5003197.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120920/a4bc8eb4/attachment-0001.html>
More information about the Users
mailing list