Class Geospatial::GDAL

class GDAL

Public Types

using DataSourceUqPtr = std::unique_ptr<OGRDataSource, DataSourceDeleter>
using FeatureUqPtr = std::unique_ptr<OGRFeature, FeatureDeleter>
using SpatialReferenceUqPtr = std::unique_ptr<OGRSpatialReference, SpatialReferenceDeleter>
using CoordinateTransformationUqPtr = std::unique_ptr<OGRCoordinateTransformation, CoordinateTransformationDeleter>

Public Static Functions

void init()
bool supportsNetworkFileAccess()
bool supportsDriver(const std::string &driver_name)
void setAuthorizationTokens(const std::string &s3_region, const std::string &s3_endpoint, const std::string &s3_access_key, const std::string &s3_secret_key, const std::string &s3_session_token)
GDAL::DataSourceUqPtr openDataSource(const std::string &name, const import_export::SourceType source_type)
import_export::SourceType getDataSourceType(const std::string &name)
std::vector<std::string> unpackMetadata(char **metadata)
void logMetadata(GDALMajorObject *object)
std::string getMetadataString(char **metadata, const std::string &key)

Private Static Attributes

bool initialized_ = false
std::mutex init_mutex_
struct CoordinateTransformationDeleter

Public Functions

void operator()(OGRCoordinateTransformation *transformation)
struct DataSourceDeleter

Public Functions

void operator()(OGRDataSource *datasource)
struct FeatureDeleter

Public Functions

void operator()(OGRFeature *feature)
struct SpatialReferenceDeleter

Public Functions

void operator()(OGRSpatialReference *ref)