How do you use QGIS to remove portions of polygons that overlap in the same layer?
Is there a way to easily eliminate the overlapping portions of polygons in the same layer?
For example, I want to turn this
into this
I used Union to break the polygons apart where they overlapped, and then used Delete Duplicate Geometries to get rid of half the overlaps, but still had to manually delete the others. That's fine for the example, but won't work with the large amount of polygons that will be in the real data. Is there a better way to do this?
qgis
New contributor
add a comment |
Is there a way to easily eliminate the overlapping portions of polygons in the same layer?
For example, I want to turn this
into this
I used Union to break the polygons apart where they overlapped, and then used Delete Duplicate Geometries to get rid of half the overlaps, but still had to manually delete the others. That's fine for the example, but won't work with the large amount of polygons that will be in the real data. Is there a better way to do this?
qgis
New contributor
Thank you for including "before" and "after" images of what you're trying to achieve. It made your question easy to understand.
– csk
5 hours ago
add a comment |
Is there a way to easily eliminate the overlapping portions of polygons in the same layer?
For example, I want to turn this
into this
I used Union to break the polygons apart where they overlapped, and then used Delete Duplicate Geometries to get rid of half the overlaps, but still had to manually delete the others. That's fine for the example, but won't work with the large amount of polygons that will be in the real data. Is there a better way to do this?
qgis
New contributor
Is there a way to easily eliminate the overlapping portions of polygons in the same layer?
For example, I want to turn this
into this
I used Union to break the polygons apart where they overlapped, and then used Delete Duplicate Geometries to get rid of half the overlaps, but still had to manually delete the others. That's fine for the example, but won't work with the large amount of polygons that will be in the real data. Is there a better way to do this?
qgis
qgis
New contributor
New contributor
edited 5 hours ago
csk
7,577833
7,577833
New contributor
asked 5 hours ago
ChadChad
111
111
New contributor
New contributor
Thank you for including "before" and "after" images of what you're trying to achieve. It made your question easy to understand.
– csk
5 hours ago
add a comment |
Thank you for including "before" and "after" images of what you're trying to achieve. It made your question easy to understand.
– csk
5 hours ago
Thank you for including "before" and "after" images of what you're trying to achieve. It made your question easy to understand.
– csk
5 hours ago
Thank you for including "before" and "after" images of what you're trying to achieve. It made your question easy to understand.
– csk
5 hours ago
add a comment |
2 Answers
2
active
oldest
votes
Use the Symmetrical Difference tool.
Symmetrical difference
This algorithm extracts the portions of features from both the Input and Overlay layers that do not overlap. Overlapping areas between the two layers are removed. The attribute table of the Symmetrical Difference layer contains original attributes from both the Input and Difference layers.
Thanks for the help. But does this only work if they are in different layers? When I tried it, I got a blank layer. All the overlapping features will be in the same layer.
– Chad
3 hours ago
add a comment |
QGIS Processing Toolbox has a SAGA Polygon self-intersection tool (under SAGA | Vector polygon tools
).
It works much like QIGS Union Tool, while this tool retains only one feature per the overlapped area.
Open the attribute table of generated Intersection
layer and select Delete all features whose fid
(or id
) is 0
.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "79"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Chad is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f309950%2fhow-do-you-use-qgis-to-remove-portions-of-polygons-that-overlap-in-the-same-laye%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Use the Symmetrical Difference tool.
Symmetrical difference
This algorithm extracts the portions of features from both the Input and Overlay layers that do not overlap. Overlapping areas between the two layers are removed. The attribute table of the Symmetrical Difference layer contains original attributes from both the Input and Difference layers.
Thanks for the help. But does this only work if they are in different layers? When I tried it, I got a blank layer. All the overlapping features will be in the same layer.
– Chad
3 hours ago
add a comment |
Use the Symmetrical Difference tool.
Symmetrical difference
This algorithm extracts the portions of features from both the Input and Overlay layers that do not overlap. Overlapping areas between the two layers are removed. The attribute table of the Symmetrical Difference layer contains original attributes from both the Input and Difference layers.
Thanks for the help. But does this only work if they are in different layers? When I tried it, I got a blank layer. All the overlapping features will be in the same layer.
– Chad
3 hours ago
add a comment |
Use the Symmetrical Difference tool.
Symmetrical difference
This algorithm extracts the portions of features from both the Input and Overlay layers that do not overlap. Overlapping areas between the two layers are removed. The attribute table of the Symmetrical Difference layer contains original attributes from both the Input and Difference layers.
Use the Symmetrical Difference tool.
Symmetrical difference
This algorithm extracts the portions of features from both the Input and Overlay layers that do not overlap. Overlapping areas between the two layers are removed. The attribute table of the Symmetrical Difference layer contains original attributes from both the Input and Difference layers.
answered 5 hours ago
cskcsk
7,577833
7,577833
Thanks for the help. But does this only work if they are in different layers? When I tried it, I got a blank layer. All the overlapping features will be in the same layer.
– Chad
3 hours ago
add a comment |
Thanks for the help. But does this only work if they are in different layers? When I tried it, I got a blank layer. All the overlapping features will be in the same layer.
– Chad
3 hours ago
Thanks for the help. But does this only work if they are in different layers? When I tried it, I got a blank layer. All the overlapping features will be in the same layer.
– Chad
3 hours ago
Thanks for the help. But does this only work if they are in different layers? When I tried it, I got a blank layer. All the overlapping features will be in the same layer.
– Chad
3 hours ago
add a comment |
QGIS Processing Toolbox has a SAGA Polygon self-intersection tool (under SAGA | Vector polygon tools
).
It works much like QIGS Union Tool, while this tool retains only one feature per the overlapped area.
Open the attribute table of generated Intersection
layer and select Delete all features whose fid
(or id
) is 0
.
add a comment |
QGIS Processing Toolbox has a SAGA Polygon self-intersection tool (under SAGA | Vector polygon tools
).
It works much like QIGS Union Tool, while this tool retains only one feature per the overlapped area.
Open the attribute table of generated Intersection
layer and select Delete all features whose fid
(or id
) is 0
.
add a comment |
QGIS Processing Toolbox has a SAGA Polygon self-intersection tool (under SAGA | Vector polygon tools
).
It works much like QIGS Union Tool, while this tool retains only one feature per the overlapped area.
Open the attribute table of generated Intersection
layer and select Delete all features whose fid
(or id
) is 0
.
QGIS Processing Toolbox has a SAGA Polygon self-intersection tool (under SAGA | Vector polygon tools
).
It works much like QIGS Union Tool, while this tool retains only one feature per the overlapped area.
Open the attribute table of generated Intersection
layer and select Delete all features whose fid
(or id
) is 0
.
edited 55 mins ago
answered 1 hour ago
KazuhitoKazuhito
14.9k31677
14.9k31677
add a comment |
add a comment |
Chad is a new contributor. Be nice, and check out our Code of Conduct.
Chad is a new contributor. Be nice, and check out our Code of Conduct.
Chad is a new contributor. Be nice, and check out our Code of Conduct.
Chad is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f309950%2fhow-do-you-use-qgis-to-remove-portions-of-polygons-that-overlap-in-the-same-laye%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Thank you for including "before" and "after" images of what you're trying to achieve. It made your question easy to understand.
– csk
5 hours ago