Just a guess... Maybe v.distance? Create a point raster, on point for each cell in your raster. Run v.distance and look for the to_angle value calculated. Then convert the points back to raster....
v.distance man page... http://www.ces.iisc.ernet.in/grass/grass64/manuals/html64_user/v.distance.html Or you could try something with the r.distance module and the east1,north1 values.... Good luck daniel On Mon, Nov 30, 2009 at 4:44 PM, Jonathan Greenberg <[email protected]> wrote: > GRASSers: > > Is there any way to generate a raster in which the pixel values are the > directions (in radians or degrees) to the nearest vector object, e.g. a > point, line, or polygon ("nearest" being calculated as Euclidean distance)? > --j > > -- > > Jonathan A. Greenberg, PhD > Postdoctoral Scholar > Center for Spatial Technologies and Remote Sensing (CSTARS) > University of California, Davis > One Shields Avenue > The Barn, Room 250N > Davis, CA 95616 > Phone: 415-763-5476 > AIM: jgrn307, MSN: [email protected], Gchat: jgrn307 > _______________________________________________ > grass-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-user > _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
