id summary reporter owner description type status priority milestone component version resolution keywords cc must_fix platform platform_version status_info 719 Problem with NTF projection in ECW files jrepetto nobody "I want to use Qgis to display ECW files (french maps), such as : The projection recorded in the ECW file header is LM2FRANC, it corresponds to NTF Lambert II (QGIS SRSID: 1605, PostGIS SRID: 27572). When I open the file in Qgis 0.8, an error message is displayed on the console : QgsSpatialRefSys::createFromProj4 error proj string supplied has no +ellps argument and if I check the properties of the layer, the SRS is ""+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"". I have to manually change the projection. gdalinfo gives the right projection : $ gdalinfo scan25000martigues.ecw Driver: ECW/ERMapper Compressed Wavelets Size is 1353, 1153 Coordinate System is: PROJCS[""unnamed"", 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.89891888888725], PARAMETER[""standard_parallel_2"",47.69601444444274], PARAMETER[""latitude_of_origin"",46.79999999999734], PARAMETER[""central_meridian"",2.337229169999754], PARAMETER[""false_easting"",600000], PARAMETER[""false_northing"",2200000], UNIT[""Meter"",1]] Origin = (818273.000000000000000,1827901.000000000000000) Pixel Size = (2.500000000000000,-2.500000000000000) Corner Coordinates: Upper Left ( 818273.000, 1827901.000) ( 5d 1'43.15""E, 43d25'10.72""N) Lower Left ( 818273.000, 1825018.500) ( 5d 1'38.78""E, 43d23'37.52""N) Upper Right ( 821655.500, 1827901.000) ( 5d 4'13.18""E, 43d25'6.94""N) Lower Right ( 821655.500, 1825018.500) ( 5d 4'8.74""E, 43d23'33.75""N) Center ( 819964.250, 1826459.750) ( 5d 2'55.96""E, 43d24'22.24""N) Band 1 Block=1353x1 Type=Byte, ColorInterp=Red Overviews: arbitrary Band 2 Block=1353x1 Type=Byte, ColorInterp=Green Overviews: arbitrary Band 3 Block=1353x1 Type=Byte, ColorInterp=Blue Overviews: arbitrary I am using Qgis 0.8, gdal-1.4.1, libecwj2-3.3 and proj-4.5.0 on a Gentoo Linux system." defect closed major: does not work as expected Projection Support 0.8 fixed NTF Lambert ECW No Gentoo 0