41 #ifndef __OPENFLUID_CORE_GEOVECTORVALUE_HPP__ 42 #define __OPENFLUID_CORE_GEOVECTORVALUE_HPP__ 45 #include <gdal_priv.h> 46 #include <ogrsf_frmts.h> 70 void tryToOpenSource();
75 void destroyDataSource();
90 GeoVectorValue(
const std::string& FilePath,
const std::string& FileName);
116 OGRLayer* layer(
unsigned int LayerIndex = 0);
124 OGRFeatureDefn* layerDef(
unsigned int LayerIndex = 0);
132 OGRwkbGeometryType getGeometryType(
unsigned int LayerIndex = 0);
140 bool isLineType(
unsigned int LayerIndex = 0);
148 bool isPolygonType(
unsigned int LayerIndex = 0);
157 bool containsField(
const std::string& FieldName,
unsigned int LayerIndex = 0);
166 int getFieldIndex(
const std::string& FieldName,
unsigned int LayerIndex = 0);
177 bool isFieldOfType(
const std::string& FieldName, OGRFieldType FieldType,
178 unsigned int LayerIndex = 0);
186 bool isPointType(
unsigned int LayerIndex = 0);
194 bool isMultiPolygonType(
unsigned int LayerIndex = 0);
202 bool isMultiLineType(
unsigned int LayerIndex = 0);
210 bool isMultiPointType(
unsigned int LayerIndex = 0);
Definition: GeoValue.hpp:55
Definition: ApplicationException.hpp:47
#define GDALDataset_COMPAT
Definition: GDALCompatibility.hpp:71
Definition: GeoVectorValue.hpp:56
GDALDataset_COMPAT * mp_Data
Definition: GeoVectorValue.hpp:64
#define OPENFLUID_API
Definition: dllexport.hpp:86
UnstructuredType
Definition: UnstructuredValue.hpp:57