28 #ifndef __TERRALIB_VP_INTERNAL_MAKEGEOMETRYVALID_H
29 #define __TERRALIB_VP_INTERNAL_MAKEGEOMETRYVALID_H
33 #include "../common/Static.h"
35 #include "../dataaccess/dataset/ObjectIdSet.h"
68 std::string& errorMessage,
85 std::string& errorMessage,
98 std::string& errorMessage,
A base type for static classes.
This class represents a set of unique ids created in the same context. i.e. from the same data set.
A static class with methods to make geometry valid.
static bool makeValid(const te::da::DataAccessPtr &dataAccess, std::string &errorMessage, te::da::ObjectIdSet *oidSet=0)
This method gets the datasource capabilities and calls the specific function to fix geometry.
static bool makeValidMemory(const te::da::DataAccessPtr &dataAccess, std::string &errorMessage, te::da::ObjectIdSet *oidSet=0)
It tries to fix invalid geometry by GEOS and updates the source data.
static bool makeValidQuery(const te::da::DataAccessPtr &dataAccess, std::string &errorMessage, te::da::ObjectIdSet *oidSet=0)
It tries to fix invalid geometry by SQL clause ST_MakeValid and updates the source data.
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).