[GRASS-user] v.patch: Correct Syntax?

Hamish hamish_b at yahoo.com
Tue Dec 29 21:00:31 EST 2009


Rich wrote:
>   I copied (using g.copy) all
> project maps from the PERMANENT mapset to the
> project-specific mapset (a subset of the larger bounds).
> Next I used
> v.in.region to create an area map for the project-specific
> mapset. Now I
> want to clip the vector and raster maps to the bounds of
> the
> project-specific mapset using v.patch. And I've read the
> man page.
> 
>   Would the proper syntax be, for example, 'v.patch
> input=streams,clipbox
> out=streams'? Does the order of the maps matter?
> 
>   I'd like to retain the same map names and
> attributes, but have the bounds
> be those of the smaller region.


you want v.overlay or v.select, not v.patch.

(v.select is much faster but doesn't mind it things go out-of-
bounds a bit; v.overlay clips like a cookie cutter)

http://grass.osgeo.org/wiki/Vector_FAQ_GRASS6


Hamish



      


More information about the grass-user mailing list