Hi

Using OL 2-10 I can draw a vector map of NL using provincies.xml which was
mentioned in post "gml in epgs28992" and referred to 
http://www.osgeo.nl/downloads/presentaties/openlayers/eindversie.zip

I get a nice orange map of the NL. However, when I use my own gml file,
points are read correctly and drawn but using the same method as above any
LineStrings are not parsed only Points are.  Hence I just get a swarm of
dots displayed

Here is an example section of my gml file 

<gml:featureMember>
<fme:NE_TRANSMEDIA gml:id="id42775f85-bd26-4007-bcb1-ec4073c2e41f">

stuff deleted

<fme:SHAPE_Length>1.46752767736453</fme:SHAPE_Length>
<gml:curveProperty>
<gml:LineString srsName="EPSG:27700" srsDimension="2">
<gml:posList>533419.047034249 191420.827037344 533419.107977671
191421.004017737 533419.061004087 191421.348985439 533418.997004764
191421.816975033 533418.988972107 191421.823959952 533418.540016418
191421.838977529</gml:posList>
</gml:LineString>
</gml:curveProperty>
</fme:NE_TRANSMEDIA>
</gml:featureMember>
<gml:featureMember>

I've spent ages trying to work this out with a debugger getting nowhere, is
this a bug? or am I being silly? (reason I ask is that I saw Ticket #2885
(GML LinearRing parser doesn't support <pos> list
I tried patching GML.js just in case but it didn't make any difference)

thanks
Steve


-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/GML-LineString-not-being-parsed-tp5647760p5647760.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to