[GRASS-user] about r.region...

Ricardo Oliveira autopilot at oniduo.pt
Wed Apr 4 11:26:04 EDT 2007


Maybe i am doing something wrong, but when importing a map, the resolution of the output image is not the correct one, meaning the one from the image. 
For instance: i create a region, with g.region, to match the data of my image:

north:      4.1585
south:      0
east:       2.4845
west:       0
cols:       1553
rows:       2599
e-w resol:  0.00159981
n-s resol:  0.00160004

BUT after r.in.gdal the image is huge, and does not match it`s position (although the 0,0 corner of the image is correct). So i need to use r.region to reposition it.

>From the r.region man page: 
"After all updates have been applied, the raster map's resolution settings are recomputed from the boundaries and the number of rows and columns in the raster map."

My question is: what is the method for this "recompute" operation?

Do i really need to use r.region? And if so what is the method for (^) the recompute operation? Nearest neighbor resample?

Thanks (again)
Ricardo Oliveira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20070404/058addd4/attachment.html


More information about the grass-user mailing list