<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Reiko,<br>
<br>
You could try something like this:<br>
<br>
<ol>
<li>Merge all forests into a single file (if you haven't already);</li>
<li>Create a new field in the forests table called something like
"border"</li>
<li>Create lines that trace the panel boundaries, that separate
the forests you want to join;</li>
<li>Buffer each of those lines by some small distance (try 1
meter);</li>
<li>For each buffer "Select by location" all features in forests
that intersect buffer;</li>
<li>Use the field calculator in the table to enter a unique
identifier for the selected features in the "border" field;</li>
<li>Do this for each buffer;</li>
<li>Dissolve the forest layer on the border field.</li>
</ol>
<p>Feel free to get in touch.</p>
<p>Cheers,</p>
<p>Mike<br>
</p>
<br>
<br>
<br>
<pre wrap="">Message: 1
Date: Wed, 6 May 2020 14:55:30 -0400
From: RMG <a class="moz-txt-link-rfc2396E" href="mailto:reikogoodwin@gmail.com"><reikogoodwin@gmail.com></a>
To: <a class="moz-txt-link-abbreviated" href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>
Subject: [Qgis-user] combining fragmented forests
Message-ID:
<a class="moz-txt-link-rfc2396E" href="mailto:CALwVOrJq9njBAdtvVeXLVsVT8SEjcDfp5mp=AYdoOi93w3TWxA@mail.gmail.com"><CALwVOrJq9njBAdtvVeXLVsVT8SEjcDfp5mp=AYdoOi93w3TWxA@mail.gmail.com></a>
Content-Type: text/plain; charset="utf-8"
Hello,
I have five shapefiles that contain thousands of fragmented forests that I
created from a NDVI raster of a large protected area in West Africa, which
I separated into five panels. Now, how do I stitch thousands of the
fragmented forests at the borders?
Each shapefile's attributes have ID, count (number of units), area, and
perimeter, so I can visually recognize which fragments need stitching, but
because there are so many, I don't think I can do it manually.
Any help would be appreciated.
Best wishes,
Reiko Matsuda Goodwin
Comoé Monkey Project <a class="moz-txt-link-rfc2396E" href="https://www.facebook.com/ComoeMonkeyProject/"><https://www.facebook.com/ComoeMonkeyProject/></a>
Guenon Conservation Community
<a class="moz-txt-link-rfc2396E" href="http://facebook.com/GuenonConservationCommunity/"><http://facebook.com/GuenonConservationCommunity/></a>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a class="moz-txt-link-rfc2396E" href="http://lists.osgeo.org/pipermail/qgis-user/attachments/20200506/c823b462/attachment-0001.html"><http://lists.osgeo.org/pipermail/qgis-user/attachments/20200506/c823b462/attachment-0001.html></a>
------------------------------</pre>
</body>
</html>