Hello,
I’m wondering if there is a command that is similar to the euclidean allocation tool in ArcMap (similar to voronoi polygons in vector analysis)? I would like to calculate new cell values based on one raster with the shortest distance from the nearest input feature in another raster.
Any help would be appreciated.
Tanya
On Mon, May 7, 2012 at 11:18 PM, Tanya Dyck <tanya.dyck@hotmail.com> wrote:
Hello,
I'm wondering if there is a command that is similar to the euclidean
allocation tool in ArcMap (similar to voronoi polygons in vector analysis)?
I would like to calculate new cell values based on one raster with the
shortest distance from the nearest input feature in another raster.
This module may help:
http://grass.osgeo.org/gdp/html_grass64/r.distance.html
Markus
On 07/05/12 23:18, Tanya Dyck wrote:
Hello,
I'm wondering if there is a command that is similar to the euclidean
allocation tool in ArcMap (similar to voronoi polygons in vector
analysis)? I would like to calculate new cell values based on one raster
with the shortest distance from the nearest input feature in another raster.
IIUC how euclidean allocation works, isn't this "just" r.grow.distance with the 'value' option ? I.e. (in the NC demo dataset):
g.region vect=schools_wake res=100 -a -p
v.to.rast schools_wake out=schools use=cat
r.grow.distance schools value=school_basin
Moritz