GRASS logo

NAME

r.burn.frict

DESCRIPTION

r.burn.frict

Converts vector geometries to raster cells, using a simple anti-aliasing method to close "gaps" between diagonal cells. Useful for "burning" vector geometries into a friction surface, making sure that simulated movement does not "slip" through converted cells that have only diagonal neighbours.

BACKGROUND

In movement analysis using cost surfaces and shortest path algorithms, it may be desirable to add vectorial features to the friction surface to simulate bounded features that impact movement, such as pathways or barriers. If those features are represented by vector lines (e.g. road networks), then it must be ensured that the conversion to raster cells will not leave "gaps" between diagonal cells as this would allow simulated movement to "slip" through them. This module performs simple gap closing in a 2x2 cell window. It replaces gaps with the average of two neighbouring cells (on one side only), which results in the same friction for crossing cells, no matter in which direction.

Rasterization without anti-aliasing ("1"=a cell that is crossed by a vector line):

   0100
   0010
   0001
Rasterization using r.burn.frict:
   0100
   0110
   0011

AUTHOR

Benjamin Ducke, benjamin.ducke AT oadigital.net

Last changed: $Date$


Main index - raster index - Full index

© 2003-2016 GRASS Development Team