Vector export of spatial subset

From GRASS-Wiki
Revision as of 17:37, 6 December 2011 by Neteler (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Q: How can I export only parts of a vector map, say, the part of the current region?

A: You need to cut the map first (only raster maps are region sensitive) with or v.overlay:

  # create cut box boxmap
  # if point map, do ainput=mypoints binput=boxmap output=mypoints_subset
  # if line or area map, do
  v.overlay ainput=myarea binput=boxmap operator=and output=myarea_subset