Crop a shapefile during import: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 12: | Line 12: | ||
[[Category: FAQ]] | [[Category: FAQ]] | ||
[[Category: Import]] | [[Category: Import]] | ||
[[Category: Vector]] |
Latest revision as of 18:06, 31 December 2013
Q: Is it possible to crop a SHAPE file while importing it into GRASS (so, subregion import only)?
A: Yes, easily:
First set the computational region of interest, with
g.region -p e=<east bound> w=<west bound> n=<north> s=<south>
then simply limit the SHAPE file import to the current region:
v.in.ogr -r vectmap.shp out=vectmap