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

mysticraja shrikant.sundaram at accenture.com
Wed Dec 21 20:49:47 EST 2011


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.


More information about the gdal-dev mailing list