Crop a shapefile during import: Difference between revisions
Jump to navigation
Jump to search
(new) |
m (link to computational region) |
||
Line 3: | Line 3: | ||
'''A:''' Yes, easily: | '''A:''' Yes, easily: | ||
First set the computational region of interest, with | First set the [[computational region]] of interest, with | ||
{{cmd|g.region}} -p e=<east bound> w=<west bound> n=<north> s=<south> | {{cmd|g.region}} -p e=<east bound> w=<west bound> n=<north> s=<south> | ||
Revision as of 20:47, 23 October 2011
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