A static class with methods to fix geometry topology.
More...
#include <FixGeometryTopology.h>
A static class with methods to fix geometry topology.
Definition at line 48 of file FixGeometryTopology.h.
This function closes an opened geometry ring.
- Parameters
-
geometryToFix | Input Geometry to fix. |
topologyError | If any error occurs, TopologyValidationError struct is populated with error message and geometry coordinate. |
- Returns
- True, if the the function was executed successfully and the geometry was fixed correctly.
- Note
- This function is only used for Geometries of Polygon and MultiPolygon types.
This function fixes geometries with self-intersection.
- Parameters
-
geometryToFix | Input Geometry to fix. |
fixedGeometryVector | A vector with the result of fixed geometries. |
topologyError | If any error occurs, TopologyValidationError struct is populated with error message and geometry coordinate. |
- Returns
- True, if the the function was executed successfully and the geometry was fixed correctly.
This method gets a topologically inconsistent geometry and calls specific functions to fix this geometry.
- Parameters
-
geometryToFix | Input Geometry to fix. |
fixedGeometryVector | A vector with the result of fixed geometries. |
topologyError | If any error occurs, TopologyValidationError struct is populated with error message and geometry coordinate. |
- Returns
- True, if the function was executed successfully and the geometry was fixed correctly.
The documentation for this class was generated from the following file: