[OpenLayers-Users] Problem with GML coordinates?

Jeff Dege jdege at korterra.com
Mon Jul 16 18:58:58 EDT 2007


> -----Original Message-----
> From: Christopher Schmidt [mailto:crschmidt at metacarta.com] 
> Sent: Monday, July 16, 2007 5:42 PM
> To: Jeff Dege
> Cc: openlayers user list; euzuro at metacarta.com
> Subject: Re: [OpenLayers-Users] Problem with GML coordinates?
> 
> 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.
> 
> Jeff, I assume you don't mind if we use the GML data in 
> question as data 
> for our unit tests?

No.  That particular file contains date that originated (prior to my
massaging and mangling) in the public domain.



More information about the Users mailing list