[GRASS-dev] [GRASS GIS] #2100: r.proj bounding box too small by half a cell size (-g or -p):

GRASS GIS trac at osgeo.org
Mon Oct 14 07:06:28 PDT 2013


#2100: r.proj bounding box too small by half a cell size (-g or -p):
-------------------------+--------------------------------------------------
 Reporter:  awickert     |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  Default      |     Version:  unspecified              
 Keywords:  r.proj       |    Platform:  Linux                    
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by glynn):

 Replying to [ticket:2100 awickert]:

 The border-walking code uses cell centres in all cases (i.e. when
 performing projection as well as when displaying the bounding box with
 -p/-g).

 It's possible that this is intentional, to avoid issues when the
 north/south edges of either the current region or the input map extend to
 the poles.

 Otherwise, the fix should be reasonably straightforward: remove the half-
 cell offsets from bordwalk1() in raster/r.proj/bordwalk.c.

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



More information about the grass-dev mailing list