I would do what Daniel said, but use the raster (use command v.to.rast) as a mask (use command r.mask) to limit the displayed area to the vector map area.
On Thu, Jun 30, 2011 at 9:40 PM, Daniel Lee <[email protected]> wrote: > I would do the following, assuming you've got an area vector that's > covering > the raster data you want to show: > > 1. Convert the vector to a raster with r.to.vect > 2. Reclassify it so that it's got only two values: 1 and NoData. > 3. Multiply the reclassified raster with the raster data that you want to > limit to the area of the vector. The old values will be preserved in the > resulting map because x * 1 = x, but everything that's not collocated with > the vector map will be removed because it's multiplied with NoData. > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/Limit-d-raster-with-vector-map-tp6533406p6533536.html > Sent from the Grass - Users mailing list archive at Nabble.com. > _______________________________________________ > grass-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-user >
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
