[GRASS-user] converting contour lines to points

Maciej Sieczka tutey at o2.pl
Wed Jul 4 08:01:37 EDT 2007


Benjamin Ducke wrote:
> OK, here is mine ;)
> 
> I would like to break up a map of contour lines into points. Since
> contour lines are essentially just a bunch of nodes with arcs
> connecting them, I thought it should be straight-forward to
> decompose them. However, v.type refuses to do a line->points 
> conversion and v.to.points creates new points along the lines

Not necessarily; from the manual:
"The -v flag is used to digitize points that fall on the line's
vertices only. dmax is ignored in this case."

Is that what you need?

Maciek




More information about the grass-user mailing list