[OpenLayers-Users] Problem with GML coordinates?

Erik Uzureau erik.uzureau at metacarta.com
Mon Jul 16 20:41:57 EDT 2007


On 7/16/07, Christopher Schmidt <crschmidt at metacarta.com> wrote:
> On Mon, Jul 16, 2007 at 05:16:32PM -0500, Jeff Dege wrote:
> > I think that's the problem.  It's assuming that if it uses
> > gml:coordinates, it's GML2, and if it's using gml:pos or gml:posList,
> > it's GML3, and that if it's GML2, it only has two dimensions.
> >
> > Now I'm not sure whether ogr is incorrect in using three dimensions in a
> > gml:coordinates element, or whether the GML format class is incorrect in
> > assuming that the lack of gml:pos or gml:posList indicates two
> > dimensions.  But if it's a bug in OGR, it's going to be a widespread
> > one.
> >
> > > Can you
> > > put up a full GML file generated by ogr2ogr in this way so that it can
> > > be examined by developers who might be able to improve the parser to
> > > handle this case?
> >
> > I'm using the ogr2ogr bundled in MS4W version 2.0 - which seems to be
> > gdal/ogr version 1.3.2.
>
> > I've attached the input and output files, and copied the email to you
> > since I'm not sure the list will accept the attachments.
>
>
> Great. This is clearly a bug, and should be fixed in the Format.GML
> class.
>
> Erik, can you file a ticket for this, marked for 2.5, and attach the
> output file to the ticket as an attachment so we don't lose it? That way
> I'll have the data to test against when I'm fixing it.
>

at yer service :-)
http://trac.openlayers.org/ticket/846


> Jeff, I assume you don't mind if we use the GML data in question as data
> for our unit tests?
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list