<html style="direction: ltr;">
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
  </head>
  <body style="direction: ltr;"
    bidimailui-detected-decoding-type="latin-charset" bgcolor="#FFFFFF"
    text="#000000">
    On 27/09/2011 13:31, giannis Nj wrote:
    <blockquote cite="mid:DUB106-W3BEBA9E8DFF4050EC0ED6AFF00@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
      <div dir="ltr">
        Hi,<br>
        <br>
        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? <br>
      </div>
      <br>
    </blockquote>
    <br>
    In GRASS it can be done with 2 steps: <br>
    First set the current region to the boundaries of the smaller region
    with g.region:<br>
    g.region -p e-&lt;east bound&gt; w=&lt;west bound&gt;
    n=&lt;north&gt; s=&lt;south&gt;<br>
    Now create a polygon of the region extents:<br>
    v.in.region out=small_region<br>
    and finally with v.overlay you can clip the original to the smaller
    region:<br>
    v.overlay ain=&lt;original shape&gt; bin=small_region
    out=clipped_shape<br>
    <br>
    There are tools in the QGIS Vector (fTools) plugin to do the same...<br>
    <br>
    <blockquote cite="mid:DUB106-W3BEBA9E8DFF4050EC0ED6AFF00@phx.gbl"
      type="cite"><br>
      This mail was received via Mail-SeCure System.<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>

This mail was received via Mail-SeCure System.


</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>