[gdal-dev] ogr2ogr projection problem

Guillaume Sueur guillaume.sueur at neogeo-online.net
Sat Jun 21 04:53:27 EDT 2008


actually, isn't it already the problem described in ticket 481 : 
ogr2ogr: SHAPE-> MapInfo conversion - proj info get's lost

it seems to apply to MapInfo -> MapInfo reprojection as well then.

Guillaume

Frank Warmerdam a écrit :
> Guillaume Sueur wrote:
>> Hi,
>>
>> I've noticed a problem using ogr2ogr for MapInfo files creation. the 
>> destination projection doesn't seem to be set in the resulting file, 
>> causing MapInfo opening it as 'non earth projection'.
>> Here is the ogrinfo of my input file :
>> PROJCS["unnamed",
>>     GEOGCS["unnamed",
>>         DATUM["NTF_Paris_Meridian",
>>             SPHEROID["Clarke 1880 (modified for 
>> IGN)",6378249.2,293.4660213],
>>             TOWGS84[-168,-60,320,-0,-0,-0,0]],
>>         PRIMEM["non-Greenwich",2.337229166667],
>>         UNIT["degree",0.0174532925199433]],
>>     PROJECTION["Lambert_Conformal_Conic_2SP"],
>>     PARAMETER["standard_parallel_1",43.199291275544],
>>     PARAMETER["standard_parallel_2",44.996093814511],
>>     PARAMETER["latitude_of_origin",44.1],
>>     PARAMETER["central_meridian",0],
>>     PARAMETER["false_easting",600000],
>>     PARAMETER["false_northing",200000],
>>     UNIT["Meter",1.0]]
> ...
>> but the same transformation for a mapInfo file gives back :
>> Layer SRS WKT:
>> LOCAL_CS["Nonearth",
>>     UNIT["Meter",1.0]]
>>
>> these commands with s_srs instead of a_srs gives the same results.
> 
> Guillaume,
> 
> There is something about this coordinate system that OGR's mapinfo
> driver does not know how to represent in mapinfo tab or mif format.
> I'm not sure exactly what.  Certainly the non-greenwich prime meridian
> is likely an issue.  Perhaps the LCC projection is also not supported.
> 
> I would suggest you file a ticket on this issue, but I am doubtful anything
> will change in the near future.  I expect more straightforward coordinate
> systems will work.
> 
> Best regards,




More information about the gdal-dev mailing list