OmniSciDB
a5dc49c757
|
#include <GDAL.h>
Classes | |
struct | CoordinateTransformationDeleter |
struct | DataSourceDeleter |
struct | FeatureDeleter |
struct | SpatialReferenceDeleter |
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 > |
Static Public Member Functions | |
static void | init () |
static bool | supportsNetworkFileAccess () |
static bool | supportsDriver (const std::string &driver_name) |
static 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) |
static DataSourceUqPtr | openDataSource (const std::string &name, const import_export::SourceType source_type) |
static import_export::SourceType | getDataSourceType (const std::string &name) |
static std::vector< std::string > | unpackMetadata (char **metadata) |
static void | logMetadata (GDALMajorObject *object) |
static std::string | getMetadataString (char **metadata, const std::string &key) |
Static Private Attributes | |
static bool | initialized_ = false |
static std::mutex | init_mutex_ |
using Geospatial::GDAL::CoordinateTransformationUqPtr = std::unique_ptr<OGRCoordinateTransformation, CoordinateTransformationDeleter> |
using Geospatial::GDAL::DataSourceUqPtr = std::unique_ptr<OGRDataSource, DataSourceDeleter> |
using Geospatial::GDAL::FeatureUqPtr = std::unique_ptr<OGRFeature, FeatureDeleter> |
using Geospatial::GDAL::SpatialReferenceUqPtr = std::unique_ptr<OGRSpatialReference, SpatialReferenceDeleter> |
|
static |
Definition at line 211 of file GDAL.cpp.
References getMetadataString(), init(), import_export::kGeoFile, import_export::kRasterFile, import_export::kUnknown, import_export::kUnsupported, and openDataSource().
|
static |
Definition at line 276 of file GDAL.cpp.
References CHECK, initialized_, and unpackMetadata().
Referenced by getDataSourceType(), and import_export::RasterImporter::getRawBandNamesForFormat().
|
static |
Definition at line 67 of file GDAL.cpp.
References Geospatial::anonymous_namespace{GDAL.cpp}::gdal_error_handler(), heavyai::get_root_abs_path(), logger::INFO, init_mutex_, initialized_, and LOG.
Referenced by import_export::QueryExporterGDAL::beginExport(), import_export::Importer::gdalGetAllFilesInArchive(), import_export::Importer::gdalGetLayersInGeoFile(), import_export::Importer::gdalStatInternal(), import_export::Importer::gdalToColumnDescriptorsRaster(), getDataSourceType(), Geospatial::GeoBase::getTransformation(), openDataSource(), import_export::Importer::openGDALDataSource(), setAuthorizationTokens(), supportsDriver(), and GDALTableFunctions::tf_raster_contour_impl().
|
static |
Definition at line 257 of file GDAL.cpp.
References CHECK, anonymous_namespace{AbstractMLModel.h}::default_metadata(), logger::INFO, initialized_, LOG, and unpackMetadata().
Referenced by import_export::RasterImporter::detect().
|
static |
Definition at line 181 of file GDAL.cpp.
References CHECK, init(), import_export::kGeoFile, import_export::kRasterFile, and import_export::kUnknown.
Referenced by import_export::RasterImporter::detect(), getDataSourceType(), import_export::RasterImporter::import(), and import_export::Importer::openGDALDataSource().
|
static |
Definition at line 138 of file GDAL.cpp.
References init().
Referenced by import_export::Importer::gdalGetAllFilesInArchive(), import_export::Importer::gdalGetLayersInGeoFile(), import_export::Importer::gdalStatInternal(), import_export::Importer::gdalToColumnDescriptorsRaster(), and import_export::Importer::openGDALDataSource().
|
static |
|
static |
Definition at line 123 of file GDAL.cpp.
Referenced by anonymous_namespace{DBHandler.cpp}::add_vsi_network_prefix().
|
static |
Definition at line 246 of file GDAL.cpp.
Referenced by import_export::RasterImporter::detect(), getMetadataString(), and logMetadata().
|
staticprivate |
|
staticprivate |
Definition at line 76 of file GDAL.h.
Referenced by getMetadataString(), init(), and logMetadata().