39 #ifndef __GEOVECTORVALUE_HPP__
40 #define __GEOVECTORVALUE_HPP__
45 #include <ogrsf_frmts.h>
68 void tryToOpenSource();
73 void destroyDataSource();
108 OGRDataSource*
get();
117 OGRLayer* getLayer(
unsigned int LayerIndex = 0);
126 OGRFeatureDefn* getLayerDef(
unsigned int LayerIndex = 0);
134 bool isLineType(
unsigned int LayerIndex = 0);
142 bool isPolygonType(
unsigned int LayerIndex = 0);
152 bool containsField(std::string FieldName,
unsigned int LayerIndex = 0);
162 int getFieldIndex(std::string FieldName,
unsigned int LayerIndex = 0);
174 bool isFieldOfType(std::string FieldName, OGRFieldType FieldType,
175 unsigned int LayerIndex = 0);
183 bool isPointType(
unsigned int LayerIndex = 0);
191 bool isMultiPolygonType(
unsigned int LayerIndex = 0);
199 bool isMultiLineType(
unsigned int LayerIndex = 0);
207 bool isMultiPointType(
unsigned int LayerIndex = 0);
Abstract class for geospatial data.
Definition: GeoValue.hpp:51
OGRDataSource * mp_Data
The OGRDataSource associated to this GeoVectorValue.
Definition: GeoVectorValue.hpp:61
UnstructuredType
Definition: UnstructuredValue.hpp:53
Container class for geospatial vector data, represented by an OGR datasource.
Definition: GeoVectorValue.hpp:54
#define DLLEXPORT
Definition: dllexport.hpp:51