[gdal-dev] Trouble with French Ecw map

Jean-Claude Repetto jrepetto at free.fr
Thu Apr 16 23:00:09 PDT 2015


Le 16/04/2015 00:25, Nicolas Ragg a écrit :
> 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?

Yes :
- EPSG:27592 is deprecated, it has been replaced by EPSG:27562
- The false northing of EPSG:27592 is 200000, so GDAL is correct. Your 
map is probably using EPSG:27572 instead, whose false northing is 2200000.
- You can easily correct the error with the gdal_edit.py command :
gdal_edit.py -mo "DATUM=NTF" -mo "PROJ=LM2FRANC" file.ecw
(See : http://www.gdal.org/gdal_edit.html)

Jean-Claude



More information about the gdal-dev mailing list