[GRASSLIST:7161] substitute to r.mask & r.to.sites in GRASS 6

Hello GRASS-list-member,

is there any substitute or work-around to r.mask and r.to.sites in GRASS 6 ?
I would need this to convert a masked raster patch (DEM) to an equivalent set of vector points, which again I intend to triangulate using v.delaunay.

Thanks in advance

Karl

--------------------------------------------------------------------------
Dr.-Ing. Karl BROICH Tel: +49 / (0) 89 / 6004 2478
Universität der Bundeswehr München Fax: +49 / (0) 89 / 6004 3858
Institut für Wasserwesen
Werner-Heisenberg-Weg 39
D 85577 Neubiberg
--------------------------------------------------------------------------

Am Mittwoch, 15. Juni 2005 13:24 schrieb Karl Broich:

Hello GRASS-list-member,

is there any substitute or work-around to r.mask and r.to.sites in GRASS 6
?

Hi,

a) you can create masks with r.mapcalc. Examples are given in the manpages or
the g60 tutorial:

http://grass.itc.it/grass60/manuals/html60_user/r.mapcalc.html
http://www.gdf-hannover.de/lit_html/grass60_v1.1_en/node72.html

b) 'r.to.sites' in GRASS 5 is 'r.to.vect' in GRASS 6.

I would need this to convert a masked raster patch (DEM) to an equivalent
set of vector points, which again I intend to triangulate using v.delaunay.

regards,
    Otto