[QGIS-trac] Re: [Quantum GIS] #1537: Units unknown in GRASS mapset creation for EPSG 26745

Quantum GIS qgis at qgis.org
Fri Feb 13 15:42:56 EST 2009


#1537: Units unknown in GRASS mapset creation for EPSG 26745
-----------------------------------------------------+----------------------
        Reporter:  jctull                            |         Owner:  nobody                                        
            Type:  bug                               |        Status:  new                                           
        Priority:  major: does not work as expected  |     Milestone:  Version 1.0.1                                 
       Component:  GRASS                             |       Version:  1.0.0                                         
      Resolution:                                    |      Keywords:  grass mapset creation epsg:26745 units unknown
Platform_version:                                    |      Platform:  All                                           
        Must_fix:  No                                |   Status_info:  0                                             
-----------------------------------------------------+----------------------
Changes (by neteler):

  * version:  HEAD => 1.0.0

Comment:

 Using QGIS Version_1_0 branch, I can replicate the problem:

 Plugins -> GRASS -> New Mapset -> Next -> Create New location -> Next ->
 Projection -> EPSG-ID 26745 -> Search -> Next and so on...

 Opening the created Location in GRASS shows:

 {{{
 GRASS 6.5.svn (testloc):~ > g.proj -w
 PROJCS["Lambert Conformal Conic",
     GEOGCS["clark66",
         DATUM["North_American_Datum_1927",
             SPHEROID["Clarke_1866",6378206.4,294.9786982]],
         PRIMEM["Greenwich",0],
         UNIT["degree",0.0174532925199433]],
     PROJECTION["Lambert_Conformal_Conic_2SP"],
     PARAMETER["standard_parallel_1",35.46666666666667],
     PARAMETER["standard_parallel_2",34.03333333333333],
     PARAMETER["latitude_of_origin",33.5],
     PARAMETER["central_meridian",-118],
     PARAMETER["false_easting",2000000],
     PARAMETER["false_northing",0],
     UNIT["unknown",0.3048006096012192]]    <<-- !
 }}}

 The desired Unit should be "US survey foot" which is
 {{{
 grep 'US survey foot' *
 unit_of_measure.csv:9003,US survey foot,length,9001,12,39.37,Used in
 USA.,EPSG,EPSG,2000-05-07,99.99,0
 }}}

 Since it works in GRASS, it seems to be a lookup problem in QGIS. I don't
 know how the EPSG lookup mechanism in QGIS works, so I dunno how to debug
 this further.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1537#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