[GRASS-user] vector points from DEM in regular spaces

Markus Neteler neteler at fbk.eu
Wed Oct 31 03:50:59 EDT 2007


temiz wrote on 10/31/2007 10:36 AM:
> /hello
>
> I want to  create vector points from DEM in regular spaces.
> Say, in every 10 m, I want to pick height values from DEM and
> create the vector map with db table.
> As far as I see, ///v.random <cid:part1.09040903.01070903 at deprem.gov.tr>
> makes in irregular spaces.
>   
Right.
> What do you offer me to do ?
g.region ... to set region boundaries and coordinates,
r.to.vect with feature=point parameter

Spearfish example:
g.region -dp
r.to.vect elevation.dem out=elev feature=point
d.mon x0
d.vect elev
v.db.select elev
cat|value|label
1|1112|
2|1111|
3|1111|
4|1110|
...

The value column contains the elevation.

Markus




More information about the grass-user mailing list