[QGIS-trac] Re: [Quantum GIS] #3672: region error when creating a GRASS location?

Quantum GIS qgis at qgis.org
Sun Apr 3 13:07:59 EDT 2011


#3672: region error when creating a GRASS location?
------------------------------------------------+---------------------------
   Reporter:  lutra                             |              Owner:               
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.7.0
  Component:  GRASS                             |            Version:  Trunk        
   Keywords:                                    |   Platform_version:               
   Platform:  All                               |           Must_fix:  Yes          
Status_info:  0                                 |  
------------------------------------------------+---------------------------

Comment(by neteler):

 Here the test with 3763:
 {{{
 g.proj -c epsg=3763 datumtrans=-1 location=loc_epsg_3763
 Location loc_epsg_3763 created!
 exit

 grass64 ~/grassdata/loc_epsg_3763/PERMANENT/
 GRASS 6.4.1svn (loc_epsg_3763):~ > g.proj -w
 PROJCS["Transverse Mercator",
     GEOGCS["grs80",
         DATUM["European_Terrestrial_Reference_System_1989",
 SPHEROID["Geodetic_Reference_System_1980",6378137,298.257222101],
             TOWGS84[0,0,0,0,0,0,0]],
         PRIMEM["Greenwich",0],
         UNIT["degree",0.0174532925199433]],
     PROJECTION["Transverse_Mercator"],
     PARAMETER["latitude_of_origin",39.66825833333333],
     PARAMETER["central_meridian",-8.133108333333334],
     PARAMETER["scale_factor",1],
     PARAMETER["false_easting",0],
     PARAMETER["false_northing",0],
     UNIT["Meter",1]]
 }}}

 Compared to http://spatialreference.org/ref/epsg/3763/prettywkt/ it looks
 as expected in GRASS.

 Concerning the original report:
 {{{
 projection: 99 (Transverse Mercator)
 zone:       0
 datum:      towgs84=-104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68
 ellipsoid:  international
 ...
 }}}

 that is (see
 http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/lib/gis/datumtransform.table)
 the first choice here:
 {{{
 63      rome40  "towgs84=-104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68"
 "Italy (Peninsular Part)" "Accuracy 3-4m"
 64      rome40  "towgs84=-168.6,-34.0,38.6,-0.374,-0.679,-1.379,-9.48"
 "Italy (Sardinia)" "Accuracy 3-4m"
 65      rome40  "towgs84=-50.2,-50.4,84.8,-0.690,-2.012,0.459,-28.08"
 "Italy (Sicily)" "Accuracy 3-4m"
 }}}

 Something in the QGIS method to create a new location with multiple datum
 choices
 seems to be broken.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3672#comment:4>
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