[GRASS-dev] [GRASS GIS] #608: GIS.m: Lat/Lon support broken in Map Display zooms

GRASS GIS trac at osgeo.org
Tue May 19 10:35:02 EDT 2009


#608: GIS.m: Lat/Lon support broken in Map Display zooms
-----------------------+----------------------------------------------------
 Reporter:  hamish     |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect     |      Status:  new                      
 Priority:  blocker    |   Milestone:  6.4.0                    
Component:  Tcl        |     Version:  6.4.0 RCs                
 Keywords:  gis.m, LL  |    Platform:  All                      
      Cpu:  All        |  
-----------------------+----------------------------------------------------
 Hi,

 when in a lat/lon location the gis.m Map Display zooming is quite broken.
 Previously you'd get many "Error setting region: child process exited
 abnormally [ok]" popping up*, and if you zoom out to the global scale
 everything pretty much goes haywire.

 [*] because `g.region n=$mapcanvas_value>90`

 there's a partial fix in SVN now (r37285) -- it will switch into
 constrained mode if you try to zoom out beyond 90 degrees N,S. But it's
 not quite right, you still get white borders and the canvas coords get all
 messed up after that. I expect that besides switching to constrained mode
 it needs to either recalc the resolution after resetting N,S to 90, or
 just break out of the routine it's in because the premise for being there
 becomes invalid.

 I've taken it about as far as I can go.
 ???


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/608>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list