On 27/09/2011 13:31, giannis Nj wrote:
Hi,

is it possible to crop a shapefile at some coordinates inside grass? I have a bigger area than what i want and i must limit the boundaries of this in some coordinates. If it isn't possible, any other program (open source of course) to do this job and then import the limited file in grass?


In GRASS it can be done with 2 steps:
First set the current region to the boundaries of the smaller region with g.region:
g.region -p e-<east bound> w=<west bound> n=<north> s=<south>
Now create a polygon of the region extents:
v.in.region out=small_region
and finally with v.overlay you can clip the original to the smaller region:
v.overlay ain=<original shape> bin=small_region out=clipped_shape

There are tools in the QGIS Vector (fTools) plugin to do the same...


This mail was received via Mail-SeCure System.


_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

This mail was received via Mail-SeCure System.



_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to