[GRASS-dev] r.in.gdal problems

Hamish wrote:
> due to the grid vs cell center registration difference
> between srtm tiles and grass's raster maps I think it is
> normal that the cell edges seem to hang 1/2 a cell beyond
> exact round numbers.

(which in this case causes a slight overlap)

.... and can be solved by cropping away the left or rightmost
column of cells, either with r.region+'g.region w=w+$ewres'+
r.mapcalc or with 'gdal_translate -srcwin'

maybe you need to set r.region to some temporary fake values
to do the cropping then set them back to real values after?

Hamish