[OpenLayers-Dev] Ticket #2762 (GML Parsing)

David Zwiers david.zwiers at gmail.com
Mon Apr 15 16:34:32 PDT 2013


Hi All,

I just ran into this bug and found an alternate patch. I don't have access
to the issue tracker, so figured I would pass it along on the email list.

The following addition would be inserted between  Ln 346 and 347 of the
OpenLayers.Format.GML class.

var dim = parseInt(nodeList[0].getAttribute("dimension"));
// Start Addition
if(!dim){
 // http://en.wikipedia.org/wiki/Geography_Markup_Language
 dim = parseInt(nodeList[0].getAttribute("srsDimension"));
}
// End Addition
var j, x, y, z;


Cheers,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20130415/704743ec/attachment.html>


More information about the Dev mailing list