[GRASS-user] Re: Selection of raster inside a polygon

TimNorwey timmy_weyrer at live.at
Fri Mar 18 16:16:14 EDT 2011

I did it that way:
1) import vector (v.in.ogr)
2) create a raster out of this vector (v.to.rast input=... output=...
column= "name of the column the holds the value")
3) create a mask, based on the created raster (r.mask input=... ) --> a new
raster called MASK is created 
4) import the raster (r.in.gdal)

When I imported the raster, it wasn´t "clipped" to the mask, but when I
executed r.sun the result was "clipped" to the specified area ... see below
(the input raster was covering the defined region)

http://osgeo-org.1803224.n2.nabble.com/file/n6186042/r_sun.png r_sun.png 


View this message in context: http://osgeo-org.1803224.n2.nabble.com/Selection-of-raster-inside-a-polygon-tp6185026p6186042.html
Sent from the Grass - Users mailing list archive at Nabble.com.

More information about the grass-user mailing list