[OpenLayers-Users] GML fragment to geometry

Milo van der Linden milo at dogodigi.net
Fri Dec 27 12:22:13 PST 2013


Hello,

Can anyone tell me what OL 2.x function can be used to transform a GML
fragment like:

<gml:Polygon srsDimension="2" srsName="
http://www.opengis.net/gml/srs/epsg.xml#28992">
                            <gml:exterior>
                                <gml:LinearRing>
                                    <gml:posList>163905.5 416242.0 163915.1
416241.5 163915.6 416252.9 163912.9 416253.0 163913.0 416255.1 163910.4
416255.2 163910.4 416256.6 163904.7 416256.9 163904.5 416253.1 163906.0
416253.0 163905.5 416242.0</gml:posList>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>

to an OpenLayers geometry?

Thanks in advance,

Milo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20131227/e8053647/attachment.html>


More information about the Users mailing list