39 #ifndef __OPENFLUID_UTILS_GDALHELPERS_HPP__
40 #define __OPENFLUID_UTILS_GDALHELPERS_HPP__
108 const std::string& AllFormatsLabel);
130 OGRwkbGeometryType FlatType = wkbFlatten(Type);
132 return (FlatType == wkbPoint || FlatType == wkbMultiPoint);
143 OGRwkbGeometryType FlatType = wkbFlatten(Type);
145 return (OGR_GT_IsSubClassOf(FlatType,wkbCurve) || OGR_GT_IsSubClassOf(FlatType,wkbMultiCurve));
156 OGRwkbGeometryType FlatType = wkbFlatten(Type);
158 return (OGR_GT_IsSubClassOf(FlatType,wkbSurface) || OGR_GT_IsSubClassOf(FlatType,wkbMultiSurface));
#define GDALOFTInteger64_COMPAT
Definition: GDALCompatibility.hpp:158
#define OPENFLUID_API
Definition: dllexport.hpp:86
std::map< std::string, GDALDriverInfos_t > GDALDriversFilesExts_t
Definition: GDALHelpers.hpp:70
bool OPENFLUID_API isOGRLinearType(OGRwkbGeometryType Type)
Definition: GDALHelpers.hpp:141
const std::set< std::string > OPENFLUID_API getOGRFilesExtensionsForOpenFLUID()
bool OPENFLUID_API isOGRPunctualType(OGRwkbGeometryType Type)
Definition: GDALHelpers.hpp:128
const GDALDriversFilesExts_t OPENFLUID_API getGDALFilesDriversForOpenFLUID()
const GDALDriversFilesExts_t OPENFLUID_API getOGRFilesDriversForOpenFLUID()
bool OPENFLUID_API isOGRSurfacicType(OGRwkbGeometryType Type)
Definition: GDALHelpers.hpp:154
bool OPENFLUID_API isOGRInteger(OGRFieldType FieldType)
Definition: GDALHelpers.hpp:117
std::string OPENFLUID_API getOGRGDALFormatsForQFileDialogs(const GDALDriversFilesExts_t &Drivers, const std::string &AllFormatsLabel)
Definition: ApplicationException.hpp:47
Definition: GDALHelpers.hpp:58
std::string Label
Definition: GDALHelpers.hpp:60
std::vector< std::string > FilesExts
Definition: GDALHelpers.hpp:63