KGA Geometry Utilitiesផ្ទាំងអន្តរកម្ម
Duplicate Checker
ស្វែងរក និងបង្ហាញគុណលក្ខណៈ ឬធរណីមាត្រដែលស្ទួន។
- រកឃើញនៅឯណា
- Processing ▸ Toolbox ▸ KGA Toolbox ▸ KGA Geometry Utilities ▸ Duplicate Checker
- លេខសម្គាល់ algorithm
- kga:duplicate_checker
- ប្រភេទឧបករណ៍
- Interactive dialog — modeless, needs the QGIS window
ទិដ្ឋភាពទូទៅ
Finds features that repeat — either the same value in a chosen field, or the same geometry — and shows you which ones they are, by selecting them or by colouring them on the map.
The usual use: a parcel number that was issued twice, or a point that was digitized twice on top of itself after a bad import.
ប៉ារ៉ាម៉ែត្រ
The algorithm takes no Processing parameters — running it opens the window. The controls below are the window's.
| ផ្ទាំងគ្រប់គ្រង | ប្រភេទ | តម្លៃលំនាំដើម | ការពិពណ៌នា |
|---|---|---|---|
| Input Layer | Layer combo | the active layer | Any vector layer. |
| Mode | Combo box | Check Duplicate Field Value | Check Duplicate Field Value compares one field; Check Duplicate Geometry compares the geometries themselves. |
| Field | Field combo | first field | The field compared. Enabled only in field mode. |
| Highlight Action | Combo box | Select Duplicate Features | Select Duplicate Features selects them; Symbolize (Categorize) recolours the whole layer. |
| Detect and Highlight Duplicates | Button | — | Runs the check and reports the count in a message box. |
របៀបប្រើ
- Open KGA Geometry Utilities > Duplicate Checker. Close the Processing window once the pane appears.
- Pick the Input Layer.
- Choose the Mode: compare one field's values, or compare the geometries.
- In field mode, pick the Field to compare.
- Leave Highlight Action on
Select Duplicate Featuresunless you deliberately want the layer restyled — the symbolize option writes a field and replaces your symbology. - Press Detect and Highlight Duplicates. A message box gives the count.
- Open the attribute table filtered to the selection to see which records collide.
លទ្ធផល
Depends on the Highlight Action:
- Select Duplicate Features — the duplicates end up as the layer's selection. Nothing is written; clear the selection and the run leaves no trace.
- Symbolize (Categorize) — the layer gets a text field
is_dup_tempholdingDuplicateorUniquefor every feature, and a categorized renderer showing duplicates in red and the rest in grey. This is a real, committed edit.
A message box reports how many duplicates were found, or says none were.
កំណត់សម្គាល់ និងដែនកំណត់
Symbolize (Categorize)writes to the layer. It adds theis_dup_tempfield, fills it for every feature, commits the change, and replaces the layer's renderer. The existing symbology is lost. Use Select instead if you only want to look — and if you do symbolize, remember to deleteis_dup_tempand restore your styling afterwards.- All features of a duplicate group are flagged, including the first one — the tool tells you which records collide, not which to delete.
- Geometry mode compares WKT exactly. Two geometries that differ in vertex order, precision or ring direction are not reported as duplicates even when they draw identically.
- Null values are grouped together: every feature with an empty field counts as a duplicate of every other one. The same applies to null geometries.
- The whole layer is read, regardless of any selection or filter.
- The window stays open. Close the Processing dialog behind it and keep working.
- The tool cannot run headless or inside a model.