[Qgis-developer] Re: srs.db epsg's added, shrinking?

Maciej Sieczka tutey at o2.pl
Thu Apr 24 03:53:42 EDT 2008


Frank Warmerdam pisze:
> Maciej Sieczka wrote:

>> Moreover I'm affraid PROJ.4 4.6.0 uses wrong (AFAICT) values for many 
>> coordinate systems. Compare the PROJ.4's epsg file in version 4.5.0 
>> and 4.6.0, and see how parameters differ (in terms of real numbers, 
>> not only number of extra zeros) in many SRS definitions, eg. EPSG 
>> 26794-26798, 2180, 2255-2262, 2057, 2000-2007 and more. Looks like 
>> some rounding errors (?). Eg.:
>>
>> 4.5.0:
>> <4009> +proj=longlat +a=6378450.047548896 +b=6356826.621488444 
>> +no_defs <>
>>
>> 4.6.0:
>> <4009> +proj=longlat +a=6378450.047548897 +b=6356826.621488445 
>> +no_defs  <>

> I believe these problems are due to a change in GDAL/OGR to use CPLAtof()
> which gives slightly different results than atof() in some cases.
> 
>   http://trac.osgeo.org/gdal/ticket/2036
> 
> Perhaps you could work with Andrey on this problem and then I could
> regenerate things.

Until this issue is resolved I'll suspend any srs.db manipulations. The 
discussion is moved to GDAL dev ML [1].

[1]http://lists.osgeo.org/pipermail/gdal-dev/2008-April/016891.html

Maciek


More information about the Qgis-developer mailing list