[GRASS-user] Cut DEM by SHP
Salvator*eL*arosa
s_larosa at libero.it
Mon Nov 27 17:56:15 EST 2006
Hamish wrote:
>
> Salvator*eL*arosa wrote:
>>
>> Is it possible to cut a raster (dem) through a shape or a vector?
>
> If I understand correctly: (there are other 3D tools for planes)
>
> g.region rast=MapName
> v.to.rast
>
> then either create a raster map named MASK (see r.mask) or
> r.mapcalc newmap='if(isnull(vect_mask), null(), MapName)'
> # if( this , then do this, else do this )
>
>
> Hamish
>
> _______________________________________________
> grassuser mailing list
> grassuser at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser
>
>
Thanks.
But with MASK is it not permanent?
while with r.mapcalc it's permanent map.
sorry my english!
--
View this message in context: http://www.nabble.com/Cut-DEM-by-SHP-tf2708829.html#a7569840
Sent from the Grass - Users mailing list archive at Nabble.com.
More information about the grass-user
mailing list