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

temiz temiz at deprem.gov.tr
Wed Oct 31 06:47:36 EDT 2007


Markus Neteler wrote:
> 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
>
> _______________________________________________
> grassuser mailing list
> grassuser at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser
>
>   
thank you


I will try your way.
After I sent my mail.
I think I  solved the problem with
r.stats -gn input=map1,dem  ( it enables me to exclude null values and 
confide to my map features (map1) )
then I am trying to import resulting text file to grass.



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the grass-user mailing list