OmniSciDB  2e3a973ef4
QueryExporterGDAL.cpp File Reference
#include "ImportExport/QueryExporterGDAL.h"
#include <array>
#include <string>
#include <unordered_set>
#include <boost/filesystem.hpp>
#include <ogrsf_frmts.h>
#include "Geospatial/Types.h"
#include "ImportExport/GDAL.h"
#include "QueryEngine/GroupByAndAggregate.h"
#include "QueryEngine/ResultSet.h"
#include "Shared/misc.h"
#include "Shared/scope.h"
+ Include dependency graph for QueryExporterGDAL.cpp:

Go to the source code of this file.

Namespaces

 import_export
 
 import_export::anonymous_namespace{QueryExporterGDAL.cpp}
 

Macros

#define SCI(x)   static_cast<int>(x)
 

Functions

OGRFieldType import_export::anonymous_namespace{QueryExporterGDAL.cpp}::sql_type_info_to_ogr_field_type (const std::string &name, const SQLTypeInfo &type_info, const QueryExporter::FileType file_type)
 
void import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_geo_column (const GeoTargetValue *geo_tv, const SQLTypeInfo &ti, const int field_index, OGRFeature *ogr_feature)
 
void import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_scalar_column (const ScalarTargetValue *scalar_tv, const SQLTypeInfo &ti, const int field_index, OGRFeature *ogr_feature)
 
void import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_array_column (const ArrayTargetValue *array_tv, const SQLTypeInfo &ti, const int field_index, OGRFeature *ogr_feature, const std::string &column_name, QueryExporter::ArrayNullHandling array_null_handling)
 

Variables

static constexpr std::array< const char *, 4 > import_export::anonymous_namespace{QueryExporterGDAL.cpp}::driver_names
 
static constexpr std::array< const char *, 4 > import_export::anonymous_namespace{QueryExporterGDAL.cpp}::file_type_names
 
static constexpr std::array< const char *, 3 > import_export::anonymous_namespace{QueryExporterGDAL.cpp}::compression_prefix
 
static constexpr std::array< const char *, 3 > import_export::anonymous_namespace{QueryExporterGDAL.cpp}::compression_suffix = {"", ".gz", ".zip"}
 
static constexpr std::array< std::array< bool, 3 >, 4 > import_export::anonymous_namespace{QueryExporterGDAL.cpp}::compression_implemented
 
static std::array< std::unordered_set< std::string >, 4 > import_export::anonymous_namespace{QueryExporterGDAL.cpp}::file_type_valid_extensions
 

Macro Definition Documentation

◆ SCI