2

I have a problem with the borders of counties. I have a shp file with counties and I want to combine them into one large district. Unfortunately, after I chose 'connect the selected objects' one object is not combine with rest. But when I select the object, QGIS 'sees it' as a single object. Has anyone had a similar problem or know how to solve it?

enter image description here

enter image description here

Edit:

@Joseph - I did it. But still I have this same problem. enter image description here

3

Here's a couple of methods:


  1. Select your counties again and then select from the menubar:

    Vector > Geoprocessing Tools > Dissolve
    

    and check the Use only selected features.


  1. Click the Edit button on your shapefile, selected your features and then from the menubar:

    Edit > Merge Selected Features
    

If you still receive errors then you may want to consider running Vector > Geometry Tools > Check geometry validity to see if there are errors in your shapefile.


EDIT:

I believe what you're left with, after you have connected your features, is a dangle. This can be removed by running v.clean with the rmdangle tool with a threshold of 0.1 (default value):

Cleaned

  • Thanks for your advice, but the problem occurs all the time. – KarolinaC Jun 28 '16 at 10:50
  • 1
    @KarolinaC - Does your shapefile contain geometric errors? – Joseph Jun 28 '16 at 10:50
  • No, I checked it. – KarolinaC Jun 28 '16 at 10:56
  • @KarolinaC - I have edited my post. – Joseph Jun 28 '16 at 13:15
1

I think ,since the solution proposed by Joseph didn't work, your problem is probably because of the type of geometry you are using.

Check if your geometry type is multipolygon then change it to polygon this way your processing will work

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.