DESCRIPTION

v.curvature calculates average curvature along a segment given by from/to distance measured along the line specified by category.

For individual straight parts of the line, the average curvature as calculated from directions of adjacent parts. An average of specified segment is then calculated as average from curvatures of line parts (lengths of line parts overlapped by specified segment are taken into acount).

This method may be used only if line data digitized with appropriate accuracy, where 'appropriate' depend on an application we want to use it for and on the length of the segment we want to calculate the curvature for.

If user needs curvature for too small segments compared to the density of vertices on lines, the lines should be smoothed beforehand with some other module (this approach is preferred to internal smoothing (interpolating) within v.curvature, because automatic smoothing may often result in unexpected, unwanted shapes, and user should see which data are really processed).

With the 'segment' option, the module reads from 'stdin':

Output is written to 'stdout' in format:
  segment_id average_curvature average_radius

AUTHOR

Radim Blazek, ITC-Irst, Trento, Italy

Last changed: $Date$