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

Quantum GIS qgis at qgis.org
Fri Feb 13 11:56:11 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:  HEAD                                          
      Resolution:                                    |      Keywords:  grass mapset creation epsg:26745 units unknown
Platform_version:                                    |      Platform:  All                                           
        Must_fix:  No                                |   Status_info:  0                                             
-----------------------------------------------------+----------------------
Comment (by neteler):

 Using GRASS directly, it works:

 {{{
 GRASS 6.5.svn (nc_spm_07):~ > g.proj -c epsg=26745 loc=dd
 Location dd created!

 exit
 grass65 ~/grassdata/dd/PERMANENT/

 GRASS 6.5.svn (dd):~ > 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["US survey foot",0.3048006096012192]]

 GRASS 6.5.svn (dd):~ > g.proj -p
 -PROJ_INFO-------------------------------------------------
 name       : Lambert Conformal Conic
 proj       : lcc
 datum      : nad27
 ellps      : clark66
 lat_1      : 35.46666666666667
 lat_2      : 34.03333333333333
 lat_0      : 33.5
 lon_0      : -118
 x_0        : 609601.2192024384
 y_0        : 0
 no_defs    : defined
 -PROJ_UNITS------------------------------------------------
 unit       : US survey foot
 units      : US survey feet
 meters     : 0.3048006096012192
 }}}

 I suspect an GDAL/OGR issue (GRASS is calling those functions, see
 http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/lib/proj/convert.c
 ).

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