Geometry Repair
Feature Description
Basic DLG data often contains geometric errors during production and conversion (commseen in shp format), which may cause subsequent spatial analysis failures. This tool performs geometric repair for data cleaning.
Users can first conduct Geometry Check to obtain an error report, then utilize this repair tool to resolve identified issues.
This tool applies the same validation logic as Geometry Check to fix geometric problems.
Below is the complete list of geometric issues and repair solutions:
Problem | Repair Solution |
---|---|
Specified coordinate exceeds valid range | Cannot be repaired |
Incorrect ring orientation | Update geometry with proper orientation (exterior rings - clockwise, interior rings - counterclockwise) |
Self-intersections | Generates a composite object containing multiple sub-polygons |
Unclosed ring | Close ring by connecting endpoints |
Duplicate vertices | Retain one of the duplicate vertices |
Incorrect feature envelope | Update feature's envelope for correction |
Insufficient vertices for geometry type | Cannot be repaired |
Overlapping areas between polygon rings | Merge overlapping areas |
Dangling lines in polygon shells | Remove dangling lines |
Note: "Dataset extent property doesn't cover all features" will not be repaired. Use desktop tools to recalculate extent manually.
Parameter Description
Parameter | Default | Description | Type |
---|---|---|---|
Source Dataset | Specifies the source dataset to be processed. Supports point, line and polygon datasets. | DatasetVector |