[GRASS-dev] Re: [GRASS GIS] #378: g.region: weird w if input e=w

GRASS GIS trac at osgeo.org
Sun Nov 23 21:01:19 EST 2008


#378: g.region: weird w if input e=w
-----------------------+----------------------------------------------------
  Reporter:  msieczka  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect    |      Status:  new                      
  Priority:  major     |   Milestone:  6.4.0                    
 Component:  default   |     Version:  svn-develbranch6         
Resolution:            |    Keywords:                           
  Platform:  All       |         Cpu:  All                      
-----------------------+----------------------------------------------------
Comment (by hamish):

 It is ambiguous, do you want 0 columns or 360? What is the goal?

 g.region -p says:
 e 180E
 w 180E

 anyway I think that it handles the ambiguous input as best as can be
 expected, I don't see the problem here. Possibly throw an error message
 out complaining that it has to guess what you meant, but as there cannot
 be 0 columns, the only valid choice is the 360 case.
 A bug would be if the global wrap around magic fails with e>360.


 Hamish

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


More information about the grass-dev mailing list