<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:#000066">I've been given a shape file representing a vegetation map which I now have to modify, merging a number of polygons. When I do this, in almost all cases the merge leaves a number of lines, either attached to one of the polygons or completely isolated. An example of the problem (one of the worst) is illustrated in the following screenshots. <br>

</div><div class="gmail_quote"><div dir="ltr">
<div style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,102)"><br></div><div style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,102)">Firstly a section of the shape:</div>
<div><font color="#000066" face="arial, helvetica, sans-serif"><a href="https://www.dropbox.com/s/amik6g9cdoqg84b/Screenshot%202014-01-15%2017.42.18.jpg" target="_blank">https://www.dropbox.com/s/amik6g9cdoqg84b/Screenshot%202014-01-15%2017.42.18.jpg</a></font><br>


</div><div><font color="#000066" face="arial, helvetica, sans-serif"><br></font></div><div><font color="#000066" face="arial, helvetica, sans-serif">The three polygons to be merged selected:</font></div>
<div><font color="#000066" face="arial, helvetica, sans-serif"><a href="https://www.dropbox.com/s/6gl83y2jwgxvrje/Screenshot%202014-01-15%2017.42.33.jpg" target="_blank">https://www.dropbox.com/s/6gl83y2jwgxvrje/Screenshot%202014-01-15%2017.42.33.jpg</a><br>


</font></div><div><font color="#000066" face="arial, helvetica, sans-serif"><br></font></div><div><font color="#000066" face="arial, helvetica, sans-serif">The section of the shape after the merge:</font></div>
<div><font color="#000066" face="arial, helvetica, sans-serif"><a href="https://www.dropbox.com/s/f1iem85kidkwkwx/Screenshot%202014-01-15%2017.42.53.jpg" target="_blank">https://www.dropbox.com/s/f1iem85kidkwkwx/Screenshot%202014-01-15%2017.42.53.jpg</a><br>


</font></div><div><font color="#000066" face="arial, helvetica, sans-serif"><br></font></div><div><font color="#000066" face="arial, helvetica, sans-serif">And a close-up of the unattached lines left after the operation:</font></div>


<div><font color="#000066" face="arial, helvetica, sans-serif"><a href="https://www.dropbox.com/s/i4rmyi7apcfpgg9/Screenshot%202014-01-15%2017.44.05.jpg" target="_blank">https://www.dropbox.com/s/i4rmyi7apcfpgg9/Screenshot%202014-01-15%2017.44.05.jpg</a><br>


</font></div><div><font color="#000066" face="arial, helvetica, sans-serif"><br></font></div><div><font color="#000066" face="arial, helvetica, sans-serif">In case it is relevant, here are my snap options:</font></div>
<div><font color="#000066" face="arial, helvetica, sans-serif"><a href="https://www.dropbox.com/s/73ky3qgbzk16esj/Screenshot%202014-01-15%2017.44.30.jpg" target="_blank">https://www.dropbox.com/s/73ky3qgbzk16esj/Screenshot%202014-01-15%2017.44.30.jpg</a><br>


</font></div><div><br></div><div><font color="#000066" face="arial, helvetica, sans-serif">And here is a part of the shape file:</font></div><div><font color="#000066" face="arial, helvetica, sans-serif"><a href="https://www.dropbox.com/s/n2asd9urvyd5fc8/merge-test.shp" target="_blank">https://www.dropbox.com/s/n2asd9urvyd5fc8/merge-test.shp</a><br>


</font></div><div><font color="#000066" face="arial, helvetica, sans-serif"><br></font></div><div><font color="#000066" face="arial, helvetica, sans-serif">If I had just a few polygons to merge, I could simply eliminate the lines, but the file contains about 500, a large proportion of which must be merged. </font><span style="color:rgb(0,0,102);font-family:arial,helvetica,sans-serif">I imagine the problem is caused by errors in the original polygons, but the errors don't show up on either visual examination or using the verify validity function. </span></div>


<div><span style="color:rgb(0,0,102);font-family:arial,helvetica,sans-serif">Any ideas on what the problem might be and how to resolve it, if possible, eliminating it at the roots by correcting the original shape? </span></div>


<div><font color="#000066" face="arial, helvetica, sans-serif">Thanks, Sarah. </font></div><div class="gmail_extra"><div dir="ltr"></div>
</div></div>
</div><br><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,102)">P.S. Let me know if you have problems visualizing the images or downloading the file. </div><br clear="all"><div><br>

</div>-- <br><div dir="ltr"><font style="color:rgb(0,51,0)"><span style="font-family:'comic sans ms',sans-serif"><font size="4"><b>Sarah Gregg</b></font></span></font><br></div>
</div>