Frans, Add the option "-a_srs WGS84" to ogr2ogr command. It should force geographic mode.
If that doesn't solve your issue, please go through the discussion on this topic at ticket 481. http://trac.osgeo.org/gdal/ticket/481 On Thu, May 24, 2012 at 4:35 PM, Frans Knibbe | Geodan < [email protected]> wrote: > Hello, > > I wonder if someone can help me with a nasty problem with using ogr2ogr to > convert shapefile to Mapinfo tab format. Whatever I try, I can not get the > output to have a correct definition of the SRS. Ogrinfo always reports the > output having a NonEarth SRS. > > The input shapefile has a *.prj file. It seems to be ignored by ogr2ogr. > Using the -a_srs option to specify the SRS, either as an EPSG code or as > the name of a file containing the WKT of the projection also fails. > > I have tested this with several versions of ogr2ogr. I do not notice any > difference between versions. The latest version of ogr2ogr that I could > find is "GDAL 2.0dev, released 2011/12/29". > > A web search on this subject leads to several similar problem > descriptions, but I have not been able to find a solution or even a > workaround. > > Regards, > Frans > > ______________________________**_________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/**mailman/listinfo/gdal-dev<http://lists.osgeo.org/mailman/listinfo/gdal-dev> > -- Best regards, Chaitanya kumar CH. +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
