A static class with methods to fix geometry.
More...
#include <FixGeometry.h>
A static class with methods to fix geometry.
Definition at line 58 of file FixGeometry.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:
- /home/castejon/castejon_files/develop/terralib5/git_master/src/terralib/vp/FixGeometry.h