A static class with methods to make geometry valid.
More...
#include <MakeGeometryValid.h>
A static class with methods to make geometry valid.
Definition at line 49 of file MakeGeometryValid.h.
This method gets the datasource capabilities and calls the specific function to fix geometry.
- Parameters
-
dataSource | The data source information. |
dataSetName | The input data name. |
errorMessage | Variable to catch any error occurred during execution. |
oidSet | Set of object ids to filter iconsistent geometries. |
- Returns
- True, if the function was executed successfully and the geometries fixed was updated.
It tries to fix invalid geometry by GEOS and updates the source data.
- Parameters
-
dataSource | The data source information. |
dataSetName | The input data name. |
errorMessage | Variable to catch any error occurred during execution. |
- Returns
- True, if the query was executed successfully and the geometries fixed was updated.
It tries to fix invalid geometry by SQL clause ST_MakeValid and updates the source data.
- Parameters
-
dataSource | The data source information. |
dataSetName | The input data name. |
errorMessage | Variable to catch any error occurred during execution. |
- Returns
- True, if the query was executed successfully and the geometries fixed was updated.
- Note
- The layer must be inserted in a database with spatial extent.
The documentation for this class was generated from the following file: