[gdal-dev] incorrect coordinate system with ogr2ogr -f "MapInfo file"

Richard Greenwood richard.greenwood at gmail.com
Wed Aug 12 12:59:03 PDT 2020


I recently upgraded to gdal 3.0 and 3.1 on two computers. When using
ogr2ogr to create MapInfo files the coordinate system of the resulting
MapInfo files is incorrect. The coordinate system is epsg:3739 which uses
US Survey Feet. I used MapInfo to convert the native binary file to
MapInfo's external ASCII format to be able to see the coordinate system
definition. With gdal <3.0 the correct MapInfo definition is:
CoordSys Earth Projection 8, 74, "survey ft", -110.083333333333, 40.5,
0.9999375, 2624666.6666999999, 328083.3333 Bounds (-30000000, -15000000)
(30000000, 15000000)
With gdal 3.0 and 3.1 it is:
CoordSys Earth Projection 8, 74, "m", -110.083333333333, 40.5, 0.9999375,
2624666.6666999999, 328083.3333 Bounds (-27375333.3333, -14671916.6667)
(32624666.6667, 15328083.3333)

I'm running gdal on Linux, gdal 3.0 with proj 6.3 from the Ubuntu 20.04
distribution and gdal 3.1 with proj 7.1 built from source. Any suggestions
for other things to look at? I'm happy to dig into this more if anyone has
suggestions.

Thanks,
Rich

-- 
Richard W. Greenwood, PLS
www.greenwoodmap.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200812/2fc5e731/attachment.html>


More information about the gdal-dev mailing list