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

Andreas Hocevar ahocevar at opengeo.org
Tue Apr 16 00:20:37 PDT 2013


You found this in the old tracker, which is now read-only. The issue
has been fixed quite some time ago:
https://github.com/openlayers/openlayers/pull/530.

Andreas.

On Tue, Apr 16, 2013 at 1:34 AM, David Zwiers <david.zwiers at gmail.com> wrote:
> 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
>
>
>
>
>
>
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Dev mailing list