Site Proximity Map
Greg Koerper
greg at dubious.cor2.epa.gov
Mon Mar 7 13:44:49 EST 1994
> I would like to create a raster map where the raster
> catagory is equal to the attribute of the nearest site.
> I'm not worried about the case where two sites are
> an equal distance from the raster location since I
> have a large uncertainty in my site locations anyway.
>
> The only approach I have come up with is to modify
> the code for s.surf.idw so that rather than computing
> a weighted average, the new code would simply use
> the attribute of the nearest neighbor. Though this
> would not be too difficult, is the facility already
> available (and I can't find it).
Just set npoints=1 and you will get the value of the nearest neighbor.
greg
******************************************************************************
Greg Koerper Internet: greg at heart.cor.epa.gov
ManTech Environmental Technology, Inc.
US EPA Environmental Research Lab voice: (503) 754-4490
200 SW 35th St., JSB fax: (503) 754-4338
Corvallis, OR 97333
******************************************************************************
More information about the grass-user
mailing list