[GRASS-dev] [GRASS GIS] #1849: Cannot create a new GRASS Location using a custom proj4 string

GRASS GIS trac at osgeo.org
Fri Jan 11 10:02:58 PST 2013


#1849: Cannot create a new GRASS Location using a custom proj4 string
-----------------------------------------------------+----------------------
 Reporter:  voncasec                                 |       Owner:  grass-dev@…              
     Type:  defect                                   |      Status:  new                      
 Priority:  normal                                   |   Milestone:  6.4.3                    
Component:  Projections/Datums                       |     Version:  unspecified              
 Keywords:  proj,proj.4,proj4,location wizard,wxgui  |    Platform:  Linux                    
      Cpu:  x86-64                                   |  
-----------------------------------------------------+----------------------

Comment(by annakrat):

 This patch seems to solve this problem, however I don't really understand
 what's going on here. There are also other places when g.proj is called
 without specifying flags.

 {{{
 --- location_wizard/wizard.py   (revision 54601)
 +++ location_wizard/wizard.py   (working copy)
 @@ -1535,7 +1535,8 @@
              ret, out, err = RunCommand('g.proj',
                                         read = True, getErrorMsg = True,
                                         proj4 = self.customstring,
 -                                       datum_trans = '-1')
 +                                       datum_trans = '-1',
 +                                       flags = 'jf')

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1849#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list