[GRASS-dev] [GRASS GIS] #1452: wx location wizard doesn't ask for datum transform options because proj4 4.7.1's epsg file is broken

GRASS GIS trac at osgeo.org
Sat Sep 29 16:32:49 PDT 2012


#1452: wx location wizard doesn't ask for datum transform options because proj4
4.7.1's epsg file is broken
-------------------------------------+--------------------------------------
 Reporter:  hamish                   |       Owner:  grass-dev@…              
     Type:  defect                   |      Status:  new                      
 Priority:  critical                 |   Milestone:  6.4.3                    
Component:  Projections/Datums       |     Version:  svn-releasebranch64      
 Keywords:  location wizard, g.proj  |    Platform:  All                      
      Cpu:  All                      |  
-------------------------------------+--------------------------------------

Comment(by neteler):

 Replying to [comment:5 hamish]:
 > It seems to go beyond just EPSG codes, e.g. on the msys command line
 selecting the nad83 datum also returns no options, although
 etc/datumtransform.table indicates that 5 (+ the 1 default) should be
 available.
 >
 > {{{
 > g.proj proj4='+proj=longlat +datum=nad83' datumtrans=-1
 > g.proj proj4='+proj=longlat +datum=nzgd49' datumtrans=-1
 > }}}
 >
 > both give no output.

 When adding "-d", it does give output:
 {{{
 GRASS 6.4.3svn (nc_spm_08):~ > g.proj proj4='+proj=longlat +datum=nad83'
 datumtrans=-1
 GRASS 6.4.3svn (nc_spm_08):~ > g.proj proj4='+proj=longlat +datum=nad83'
 datumtrans=-1 -d
 GRASS datum code: nad83
 WKT Name: North_American_Datum_1983
 Datum transformation parameters (PROJ.4 format):
         towgs84=0,0,0,0,0,0,0
 GRASS 6.4.3svn (nc_spm_08):~ > g.proj proj4='+proj=longlat +datum=nad83'
 datumtrans=-1
 GRASS 6.4.3svn (nc_spm_08):~ > g.proj proj4='+proj=longlat +datum=nad83'
 datumtrans=-1 -d
 GRASS datum code: nad83
 WKT Name: North_American_Datum_1983
 Datum transformation parameters (PROJ.4 format):
         towgs84=0,0,0,0,0,0,0
 GRASS 6.4.3svn (nc_spm_08):~ > g.proj proj4='+proj=longlat +datum=nzgd49'
 datumtrans=-1
 GRASS 6.4.3svn (nc_spm_08):~ > g.proj proj4='+proj=longlat +datum=nzgd49'
 datumtrans=-1 -d
 GRASS datum code: nzgd49
 WKT Name: New_Zealand_Geodetic_Datum_1949
 Datum transformation parameters (PROJ.4 format):
         towgs84=59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993
 }}}

 No idea about datum "eur50", though.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1452#comment:26>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list