Geometry Repair
Feature Description
Basic DLG data often exhibits geometric errors during production or conversion (commonly seen in SHP format data), leading to errors in subsequent spatial analysis. Therefore, geometry repair is necessary for data cleaning.
Additionally, you can first perform geometry inspection on the data to obtain a geometric error report, identifying which geometries have what errors, and then use geometry repair to resolve these geometric issues.
This tool will use the same logic as geometry inspection to repair geometric problems.
Below is a list of all geometric problems and their repair statuses:
| Problem | Repair Status |
|---|---|
| Coordinates exceed the valid coordinate range | Cannot be repaired |
| Ring orientation is not correctly directed | Update geometry to achieve correct ring orientation (outer ring - clockwise, inner ring - counterclockwise) |
| Self-intersection | Generate a compound containing multiple sub-polygons (the self-intersecting part forms a sub-polygon) |
| Ring not closed | Close the unclosed ring by connecting its endpoints |
| Duplicate points | Retain one of the vertices |
| Number of points is less than required for the feature | Cannot be repaired |
| Overlapping areas between polygon rings | Merge the overlapping parts |
| Polygon shell contains dangling lines | Delete the dangling lines |
| Ring interior intersection | Generate a compound containing multiple sub-polygons |
Parameter Description
| Parameter Name | Default Value | Parameter Interpretation | Parameter Type |
|---|---|---|---|
| Source Dataset | Specifies the source dataset to be processed. Supports point, line, and region datasets. | DatasetVector |
Notes
- Function Changes: Starting from SuperMap 2025 version, the tool’s repaired problems add the "ring interior intersection" error type and remove the "incorrect feature bounds" and "dataset extent does not include all features in the dataset" error types.