[gdal-dev] ogr2ogr projection problem
Frank Warmerdam
warmerdam at pobox.com
Fri Jun 20 12:30:27 EDT 2008
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,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org
More information about the gdal-dev
mailing list