Re : [gdal-dev] Conversion of MapInfo to GML using ogr2ogr - lat/long format issue

Yves Jacolin yjacolin at free.fr
Thu Dec 22 01:10:02 EST 2011


Hello,

What don't you use EPSG:4326?

Y.

----- Reply message -----
De : "mysticraja" <shrikant.sundaram at accenture.com>
Pour : <gdal-dev at lists.osgeo.org>
Objet : [gdal-dev] Conversion of MapInfo to GML using ogr2ogr - lat/long	format issue
Date : jeu., déc. 22, 2011 02:49


Hi, 

I'm trying to convert a Mapinfo file (MID/MIF file) into a GML file using
ogr2ogr tool. 

I am getting the results in long/lat format but I need them in lat/long
format. 

Reading through some material on the net I set the below environment
variables as well but to no use. 

GDAL_DRIVER_PATH=C:\Program Files\GDAL\bin\gdal\plugins 
GML_CONSIDER_EPSG_AS_URN=YES 

Does someone have any tips or tricks on how to generate or convert the
coordinates into lat/long format? 

Here is the command I used. 

ogr2ogr -t_srs "EPSG:4283" -f "GML"  output.XML input.MID 

Current Output 
---- 
...<gml:coordinates>115.879512,-31.9709 115.880008,-31.970772
115.880448,-31.970646 .... 
----- 

I am using Windows Vista and  GDAL v1.8.1, released 2011/07/09 

regards

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Conversion-of-MapInfo-to-GML-using-ogr2ogr-lat-long-format-issue-tp7117273p7117273.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20111222/2e6c1a96/attachment.html


More information about the gdal-dev mailing list