[GRASS-dev] Re: [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
Wed Sep 21 06:17:00 EDT 2011


#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.2                    
Component:  Projections/Datums             |     Version:  svn-releasebranch64      
 Keywords:  wingrass, location wizard, wx  |    Platform:  MSWindows XP             
      Cpu:  x86-32                         |  
-------------------------------------------+--------------------------------

Comment(by 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.

 I have added a few debug messages to g.proj in trunk to try and figure out
 what the blazes is going on inside GPJ_get_default_datum_params_by_name()
 & co.


 (I've never been exactly sure what G_*() fns we're allowed to use inside
 modules that begin with G_no_gisinit(). g.proj uses G_warning(),
 G_fatal_error(), and G_message(), so I hope G_debug() is ok too)


 Hamish

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



More information about the grass-dev mailing list