[Qgis-developer] TestQgsCoordinateReferenceSystem failed

Giuseppe Sucameli brush.tyler at gmail.com
Mon May 28 18:46:39 PDT 2012


Hi all,

one of the CRS tests fails running it from latest master (9859709e9)
running against GDAL 1.8.0 on Ubuntu 11.04:

FAIL!  : TestQgsCoordinateReferenceSystem::createFromESRIWkt() 'false'
returned FALSE. (test 0 PROJ.4 = [ +proj=utm +zone=48 +a=6377276.345
+b=6356075.413140239 +towgs84=198,881,317,0,0,0,0 +units=m +no_defs ]
expecting [ +proj=utm +zone=48 +a=6377276.345 +b=6356075.41314024
+towgs84=198,881,317,0,0,0,0 +units=m +no_defs ])
   Loc: [/home/brushtyler/projects/sources/qgis/tests/src/core/testqgscoordinatereferencesystem.cpp(221)]

The difference is due to the rounded +b value in the hardcoded version
(...24 vs. ...239).

Does the fail depends on the GDAL version or is the hardcoded
proj4string wrong?

Regards.

-- 
Giuseppe Sucameli


More information about the Qgis-developer mailing list