Format.GML linearRing parser only supports:

-         <gml:posList> (since GML 3.1)

-         <gml:coordinates> (since GML 2)

LinearRing may also be a list of <gml:pos> elements (since GML 3.0, see figure 
below). Coordinates to consider: <gml:pos>x0 y0</gml:pos> <gml:pos>x1 
y1</gml:pos>.

I created a patch for supporting the <gml:pos> elements. Can you please review 
ticket #2885 : http://trac.osgeo.org/openlayers/ticket/2885

Patch : http://trac.osgeo.org/openlayers/attachment/ticket/2885/GML.js.patch





Kind regards,





P Please consider the environment before printing this email.





___________________________________________________________________________________
E-MAIL DISCLAIMER

The present message may contain confidential and/or legally privileged 
information.
If you are not the intended addressee and in case of a transmission error,
please notify the sender immediately and destroy this E-mail.
Disclosure, reproduction or distribution of this document and its possible
attachments is strictly forbidden.

SPACEBEL denies all liability for incomplete, improper, inaccurate, intercepted,
(partly) destroyed, lost and/or belated transmission of the current information
given that unencrypted electronic transmission cannot currently be guaranteed
to be secure or error free. Upon request or in conformity with formal, 
contractual
agreements, an originally signed hard copy will be sent to you to confirm
the information contained in this E-mail.

SPACEBEL denies all liability where E-mail is used for private use.

SPACEBEL cannot be held responsible for possible viruses that might corrupt this
message and/or your computer system.
____________________________________________________________________________________



<<image002.jpg>>

<<image003.gif>>

_______________________________________________
Dev mailing list
d...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to