[gdal-dev] Trouble with French Ecw map

Nicolas Ragg ragg.gdal at free.fr
Wed Apr 15 15:25:17 PDT 2015


On 15/04/2015 07:59, Jean-Claude Repetto wrote:
> Please run the command : gdalinfo -mdd ECW file.ecw
> What are the metadata (ECW) :
> PROJ= ?
> DATUM= ?
>
> Jean-Claude
>
>
Hello
Thank for your support, here they are :
  PROJ=epsg:27592
  DATUM=epsg:27592
Do you see something weird?

I've noted that i have another map of the same provider, its gdalinfo is 
reported as following

Coordinate System is:
PROJCS["LM2FRANC",
     GEOGCS["N.T.F.",
         DATUM["NTF",
             SPHEROID["CLA80IGN",6378249.2,293.4660213]],
         PRIMEM["Greenwich",0],
         UNIT["degree",0.0174532925199433]],
     PROJECTION["Lambert_Conformal_Conic_2SP"],
     PARAMETER["standard_parallel_1",45.89891888888889],
     PARAMETER["standard_parallel_2",47.69601444444444],
     PARAMETER["latitude_of_origin",46.80000000000000],
     PARAMETER["central_meridian",2.337229169999754],
     PARAMETER["false_easting",600000],
     PARAMETER["false_northing",2200000],
     UNIT["Meter",1]]
Origin = (1079250.000000000000000,1851300.000000000000000)
Pixel Size = (50.000000000000000,-50.000000000000000)
Metadata:
   COLORSPACE=RGB
   COMPRESSION_RATE_TARGET=10
   VERSION=2
Metadata (ECW):
   PROJ=LM2FRANC
   DATUM=NTF
   UNITS=METERS

I'm pretty sure something is wrong in the first file, with gdal 1.7.2 
with matching ECW plugin there was no issue

Thanks again for the support

Nicolas




More information about the gdal-dev mailing list