<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Dev,<br>
I put the request for help out on qgis-user and to my surprise, no
one came up with direct solution.<br>
This suggests that a "crop" feature is missing, so maybe it could be
put in as a low priority feature request?<br>
The thread is still active, so you can see the replies from Andre
Joost and Randal Hale there.<br>
<br>
Thanks & regards,<br>
Zoltan.<br>
<br>
<b>qgis-user thread started 25th Jan at 14h51 (GMT+2):</b><br>
<blockquote>Hi,<br>
I'm battling finding an easy way to cut some lines with a polygon
boundary, and then deleting the line portions that are OUTSIDE the
polygon.<br>
<br>
Scenario:<br>
<blockquote>4 separate SHAPE files with lines in them<br>
1 shapefile with one polygon in it.<br>
</blockquote>
I need to cut the lines in all 4 shapefiles at the point that
their lines intersect the polygon boundary. Thereafter I want to
delete the line portions that are outside of this polygon
boundary. In other words, to be able to crop multiple layers
according to some polygon boundary.<br>
<br>
I would have thought this to be a trivial issue, but I have tried:<br>
<blockquote>
<ul>
<li>Vector Geometry Processing Clip, but it wants to extract
the data inside the polygon and create a new file with the
extracted data. (To be expected)<br>
</li>
<li>Plugin 'Clipper': I select my lonely polygon, and then
activate one of the line layers (which is also in edit
mode).<br>
The plugin seems to do nothing when I choose 'intersection'
or 'clipping' preview, and when I choose 'clip' it tells me
to select at least one feature (but my polygon is still
selected.) The home-page link comes up as '404 not found'<br>
</li>
<li>Didn't notice anything in the Advanced Digitizing plugin.</li>
<li>CadTools and CadDigitize - no relevant facility found,
but really nice 'Help' doc - thanks guys!</li>
<li>Feature 'Cut with Polygon from another Layer' deletes the
pieces I want to keep.</li>
<li>Feature: 'Split selected features with line from another
layer' is to some extent what I want, but I want '... with
polygon from another layer'</li>
</ul>
</blockquote>
<p>So, I eventually gave up and converted my polygon into a line
layer, and used 'Split selected features with line from another
layer', but this is incredibly tedious because:<br>
</p>
<ul>
<li>It only does one layer at a time</li>
<li>I then have to select the line segments that I want to
delete.</li>
</ul>
<p><br>
So, does anyone know of a way to efficiently cut features in
multiple layers using a polygon, and then to be able to select
the pieces (multiple layers) that are either inside or outside
the polygon, and then delete them?<br>
</p>
<p>Regards & thanks in advance,<br>
Zoltan<br>
</p>
</blockquote>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
===========================================
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
GIS and Photogrammetric Services
P.O. Box 7, Muizenberg 7950, South Africa.
Mobile: +27-83-6004028
Fax: +27-86-6115323 <a class="moz-txt-link-abbreviated" href="http://www.geograph.co.za">www.geograph.co.za</a>
===========================================</pre>
</body>
</html>