[GRASS-dev] Re: [GRASS GIS] #1597: r.topidx ERROR current region resolution

GRASS GIS trac at osgeo.org
Mon Feb 27 17:51:15 EST 2012


#1597: r.topidx ERROR current region resolution
----------------------+-----------------------------------------------------
 Reporter:  madi      |       Owner:  grass-dev@…              
     Type:  defect    |      Status:  new                      
 Priority:  normal    |   Milestone:  6.5.0                    
Component:  Raster    |     Version:  svn-develbranch6         
 Keywords:  r.topidx  |    Platform:  Linux                    
      Cpu:  x86-64    |  
----------------------+-----------------------------------------------------

Comment(by hamish):

 ok so the two grids don't match (your dem map is not on multiples of 20m,
 its grid is offset), and it is being resampled. what does the full r.info
 say? (everything between the Type of map: and Range of data: lines)

 was it a self-made DEM or did you import it from some 3rd party source?
 (ie can you remake it on a cleaner grid without loss?)

 also try "g.region -p rast=dem" before r.topidx so that the region and the
 map perfectly align the map's (offset) grid.


 Hamish

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



More information about the grass-dev mailing list