[QGIS-trac] Re: [Quantum GIS] #3645: synchronize QGIS' SRS definitions with GDAL's 1.8.0 SRS database

Quantum GIS qgis at qgis.org
Wed Apr 6 08:09:18 EDT 2011


#3645: synchronize QGIS' SRS definitions with GDAL's 1.8.0 SRS database
---------------------------------------------------------+------------------
   Reporter:  nirvn                                      |              Owner:  nirvn        
       Type:  patch                                      |             Status:  assigned     
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.7.0
  Component:  Projection Support                         |            Version:  Trunk        
   Keywords:                                             |   Platform_version:               
   Platform:  All                                        |           Must_fix:  Yes          
Status_info:  0                                          |  
---------------------------------------------------------+------------------

Comment(by pcav):

 Now EPSG:3003 is defined in QGIS as:
 {{{
 +proj=tmerc +lat_0=0 +lon_0=9 +k=0.9996 +x_0=1500000 +y_0=0 +ellps=intl
 +towgs84=-104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68 +units=m +no_defs
 }}}
 instead of the old:
 {{{
 +proj=tmerc +lat_0=0 +lon_0=9 +k=0.9996 +x_0=1500000 +y_0=0 +ellps=intl
 +no_defs
 }}}
 Similarly for EPSG:3004.

 The corrections have been already inserted as fake EPSG codes:
 {{{
 40000
 +proj=tmerc +lat_0=0 +lon_0=9 +k=0.9996 +x_0=1500000 +y_0=0 +ellps=intl
 +units=m +towgs84=-104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68 +no_defs
 40001
 +proj=tmerc +lat_0=0 +lon_0=15 +k=0.9996 +x_0=2520000 +y_0=0 +ellps=intl
 +units=m +towgs84=-104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68 +no_defs
 40002
 +proj=tmerc +lat_0=0 +lon_0=9 +k=0.9996 +x_0=1500000 +y_0=0 +ellps=intl
 +units=m +towgs84=-168.6,-34.0,38.6,-0.374,-0.679,-1.379,-9.48 +no_defs
 40003
 +proj=tmerc +lat_0=0 +lon_0=9 +k=0.9996 +x_0=1500000 +y_0=0 +ellps=intl
 +units=m +towgs84=-50.2,-50.4,84.8,-0.690,-2.012,0.459,-28.08 +no_defs
 }}}

 So the fake codes 40000 and 40001 are now duplicates, and should be
 removed. 40002 and 40002 are useful, as they define ad hoc datum for
 Sardinia and Sicily.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3645#comment:7>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list