Select duplicate geometries in a single layer in QGIS

  Рет қаралды 8,389

BNHR

BNHR

Күн бұрын

Removing duplicate geometries and features is fairly straightforward in QGIS but what if you want to select and extract the features with duplicates or the features and their duplicates? In this video, we use a query in the DB Manager and the "Select by location" algorithm to do just that.
Read more: bnhr.xyz/2020/12/09/select-du...
CHAPTERS
00:00 - Introduction
00:39 - Checking for duplicate geometries using the Topology Checker plugin
01:45 - Using DB Manager to get geometries with duplicates
03:59 - Load the SQL result as new layer in QGIS
05:12 - Get all duplicate features using the Select by location algorithm
#QGIS #FOSS4G

Пікірлер: 6
@BNHRdotXYZ
@BNHRdotXYZ 2 жыл бұрын
[As of March 15, 2022 with QGIS 3.16++ on Windows] If you are using QGIS on Windows and utilizing Virtual Layers on the DB Manager to do the query above and nothing happens when you click Execute, it might be this issue where the geometry field does not appear on Virtual Layers: facebook.com/bnhr.xyz/posts/1051311215729359 It's a fairly new issue (late 2021) and mostly affects QGIS versions installed on Windows 10 using the OSGeo4W installers. It's not on Linux (which I run).
@kadalijo8815
@kadalijo8815 3 жыл бұрын
is it possible to perform the query using python?how to access the dbmanager using python?
@franciscojoseromerafernand2298
@franciscojoseromerafernand2298 3 жыл бұрын
Hello, thank you very much for the video. I am trying to do the same (remove duplicates) but not from geometries but from lines. The idea is to eliminate the dividing walls of the buildings. Is there a way to adapt the code to make this selection? Thank you very much in advance.
@yannikwohnsdorf8944
@yannikwohnsdorf8944 2 жыл бұрын
Hey, this might be too late for you but the same code works with lines/polylines as well since both lines and polygons have the geometry attribute.
@benciusilviustefan2879
@benciusilviustefan2879 Жыл бұрын
How can I create the field "num_geom" with the number of duplicates of the same geometry?
@BNHRdotXYZ
@BNHRdotXYZ Жыл бұрын
Hi! It automatically gets created using the SQL query shown in the video. You can read the full post here: bnhr.xyz/2020/12/09/select-duplicate-geometries-layer-qgis.html
Remove Duplicates in QGIS
5:10
GIS Solutions
Рет қаралды 3,3 М.
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 90 МЛН
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 59 МЛН
FASTEST Way to Learn Modern GIS and ACTUALLY Get a Job
15:12
Matt Forrest
Рет қаралды 102 М.
Database Indexing for Dumb Developers
15:59
Laith Academy
Рет қаралды 49 М.
QGIS Field Calculator Basics
15:07
Samara Ebinger
Рет қаралды 62 М.
Geoprocessing and Automation in ArcGIS Pro, Lecture 1:  Basic Geoprocessing
15:31
Jenness Enterprises: Adventures in GIS
Рет қаралды 1,9 М.
How to QGIS Attribute Table: Selected Feature by Expression tool
10:23
Это - iPhone 16!
16:29
Rozetked
Рет қаралды 399 М.
Xiaomi SU-7 Max 2024 - Самый быстрый мобильник
32:11
Клубный сервис
Рет қаралды 549 М.
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 8 МЛН
Ba Travel Smart Phone Charger
0:42
Tech Official
Рет қаралды 1,2 МЛН