[Gdal-dev] GML writing issue

Mateusz Loskot mateusz at loskot.net
Fri May 19 12:52:27 EDT 2006


Bart van den Eijnden (OSGIS) wrote:
> Hi Frank, Mateusz,
> 
> I am not saying it is invalid GML, I am saying the values are wrong.
> 
> XMIN and YMIN in the Mapserver GML are:
> 
> 192519.015625
> 320687.375000
> 
> But in OGR's output they are both 0.
> 
> I will file some bugs on Monday.

Hi,

Strange.
I have a sample of GML 2.0 file with

<gml:boundedBy>
<gml:Box>
<gml:coordinates>
278653.100,187444.800 279095.300,187898.250
</gml:coordinates>
</gml:Box>
</gml:boundedBy>

and after I run
ogr2ogr -f "GML" test.gml MySampleGML.gml
the output is changed but correct:

<gml:boundedBy>
<gml:Box>
<gml:coord><gml:X>278653.1</gml:X><gml:Y>187444.8</gml:Y></gml:coord>
<gml:coord><gml:X>279095.3</gml:X><gml:Y>187898.25</gml:Y></gml:coord>
</gml:Box>
</gml:boundedBy>

I'd need to test using your GML file. Is it possible send me one?

Cheers
-- 
Mateusz Łoskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list