[GRASS-user] vector operations based on rasters
Hamish
hamish_b at yahoo.com
Tue Sep 23 04:32:35 EDT 2008
Tim Michelsen wrote:
> I have calculated raster file based on a DEM with some r.mapcalc
> commands. As a result, my raster file with the areas of interest is
> smaller than the whole region.
> How do I intersect the landcover vector of the whole region to get
> a new landcover vector with only those polygons contained within
> the areas of interest of the raster?
>
> Basically, I'd like to run v.extract/v.overlay not on a
> vector-to-vector basis but on a vector-to-raster basis.
g.region rast=dem_name
v.in.region dem_box
then v.overlay or v.select, depending on if you want to want to clip
touching vector areas at the bound or not.
Hamish
More information about the grass-user
mailing list