OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GDALTableFunctions.hpp File Reference
#include "QueryEngine/TableFunctions/SystemFunctions/os/Shared/TableFunctionsCommon.hpp"
#include "QueryEngine/heavydbTypes.h"
#include <algorithm>
#include <array>
#include "GDALTableFunctions.hpp"
#include "GeoRasterTableFunctions.hpp"
#include "Geospatial/Compression.h"
#include "Geospatial/GDAL.h"
#include "Shared/scope.h"
#include "cpl_conv.h"
#include "cpl_string.h"
#include "gdal.h"
#include "gdal_alg.h"
#include "gdal_version.h"
#include "ogr_api.h"
#include "ogr_srs_api.h"
#include "ogrsf_frmts.h"
+ Include dependency graph for GDALTableFunctions.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 GDALTableFunctions
 

Functions

template<typename TV , typename TG >
int32_t GDALTableFunctions::tf_raster_contour_impl (TableFunctionManager &mgr, const int32_t raster_width, const int32_t raster_height, const double affine_transform[6], const TV *values, const TV contour_interval, const TV contour_offset, Column< TG > &contour_features, Column< TV > &contour_values)
 
template<typename TLL , typename TV , typename TG >
int32_t GDALTableFunctions::tf_raster_contour_rasterize_impl (TableFunctionManager &mgr, const Column< TLL > &lon, const Column< TLL > &lat, const Column< TV > &values, const TextEncodingNone &agg_type, const float bin_dim_meters, const int32_t neighborhood_fill_radius, const bool fill_only_nulls, const TextEncodingNone &fill_agg_type, const bool flip_latitude, const TV contour_interval, const TV contour_offset, Column< TG > &contour_features, Column< TV > &contour_values)
 
template<typename TLL , typename TV , typename TG >
int32_t GDALTableFunctions::tf_raster_contour_direct_impl (TableFunctionManager &mgr, const Column< TLL > &lon, const Column< TLL > &lat, const Column< TV > &values, const int32_t raster_width, const int32_t raster_height, const bool flip_latitude, const TV contour_interval, const TV contour_offset, Column< TG > &contour_features, Column< TV > &contour_values)
 
template<typename TLL , typename TV >
TEMPLATE_NOINLINE int32_t tf_raster_contour_lines__cpu_template (TableFunctionManager &mgr, const Column< TLL > &lon, const Column< TLL > &lat, const Column< TV > &values, const TextEncodingNone &agg_type, const float bin_dim_meters, const int32_t neighborhood_fill_radius, const bool fill_only_nulls, const TextEncodingNone &fill_agg_type, const bool flip_latitude, const TV contour_interval, const TV contour_offset, Column< GeoLineString > &contour_lines, Column< TV > &contour_values)
 
template<typename TLL , typename TV >
TEMPLATE_NOINLINE int32_t tf_raster_contour_lines__cpu_template (TableFunctionManager &mgr, const Column< TLL > &lon, const Column< TLL > &lat, const Column< TV > &values, const int32_t raster_width, const int32_t raster_height, const bool flip_latitude, const TV contour_interval, const TV contour_offset, Column< GeoLineString > &contour_lines, Column< TV > &contour_values)
 
template<typename TLL , typename TV >
TEMPLATE_NOINLINE int32_t tf_raster_contour_polygons__cpu_template (TableFunctionManager &mgr, const Column< TLL > &lon, const Column< TLL > &lat, const Column< TV > &values, const TextEncodingNone &agg_type, const float bin_dim_meters, const int32_t neighborhood_fill_radius, const bool fill_only_nulls, const TextEncodingNone &fill_agg_type, const bool flip_latitude, const TV contour_interval, const TV contour_offset, Column< GeoPolygon > &contour_polygons, Column< TV > &contour_values)
 
template<typename TLL , typename TV >
TEMPLATE_NOINLINE int32_t tf_raster_contour_polygons__cpu_template (TableFunctionManager &mgr, const Column< TLL > &lon, const Column< TLL > &lat, const Column< TV > &values, const int32_t raster_width, const int32_t raster_height, const bool flip_latitude, const TV contour_interval, const TV contour_offset, Column< GeoPolygon > &contour_polygons, Column< TV > &contour_values)
 

Function Documentation

template<typename TLL , typename TV >
TEMPLATE_NOINLINE int32_t tf_raster_contour_lines__cpu_template ( TableFunctionManager mgr,
const Column< TLL > &  lon,
const Column< TLL > &  lat,
const Column< TV > &  values,
const TextEncodingNone agg_type,
const float  bin_dim_meters,
const int32_t  neighborhood_fill_radius,
const bool  fill_only_nulls,
const TextEncodingNone fill_agg_type,
const bool  flip_latitude,
const TV  contour_interval,
const TV  contour_offset,
Column< GeoLineString > &  contour_lines,
Column< TV > &  contour_values 
)

Definition at line 562 of file GDALTableFunctions.hpp.

575  {
576  return GDALTableFunctions::tf_raster_contour_rasterize_impl<TLL, TV, GeoLineString>(
577  mgr,
578  lon,
579  lat,
580  values,
581  agg_type,
582  bin_dim_meters,
583  neighborhood_fill_radius,
584  fill_only_nulls,
585  fill_agg_type,
586  flip_latitude,
587  contour_interval,
588  contour_offset,
589  contour_lines,
590  contour_values);
591 }
template<typename TLL , typename TV >
TEMPLATE_NOINLINE int32_t tf_raster_contour_lines__cpu_template ( TableFunctionManager mgr,
const Column< TLL > &  lon,
const Column< TLL > &  lat,
const Column< TV > &  values,
const int32_t  raster_width,
const int32_t  raster_height,
const bool  flip_latitude,
const TV  contour_interval,
const TV  contour_offset,
Column< GeoLineString > &  contour_lines,
Column< TV > &  contour_values 
)

Definition at line 606 of file GDALTableFunctions.hpp.

616  {
617  return GDALTableFunctions::tf_raster_contour_direct_impl<TLL, TV, GeoLineString>(
618  mgr,
619  lon,
620  lat,
621  values,
622  raster_width,
623  raster_height,
624  flip_latitude,
625  contour_interval,
626  contour_offset,
627  contour_lines,
628  contour_values);
629 }
template<typename TLL , typename TV >
TEMPLATE_NOINLINE int32_t tf_raster_contour_polygons__cpu_template ( TableFunctionManager mgr,
const Column< TLL > &  lon,
const Column< TLL > &  lat,
const Column< TV > &  values,
const TextEncodingNone agg_type,
const float  bin_dim_meters,
const int32_t  neighborhood_fill_radius,
const bool  fill_only_nulls,
const TextEncodingNone fill_agg_type,
const bool  flip_latitude,
const TV  contour_interval,
const TV  contour_offset,
Column< GeoPolygon > &  contour_polygons,
Column< TV > &  contour_values 
)

Definition at line 645 of file GDALTableFunctions.hpp.

658  {
659  return GDALTableFunctions::tf_raster_contour_rasterize_impl<TLL, TV, GeoPolygon>(
660  mgr,
661  lon,
662  lat,
663  values,
664  agg_type,
665  bin_dim_meters,
666  neighborhood_fill_radius,
667  fill_only_nulls,
668  fill_agg_type,
669  flip_latitude,
670  contour_interval,
671  contour_offset,
672  contour_polygons,
673  contour_values);
674 }
template<typename TLL , typename TV >
TEMPLATE_NOINLINE int32_t tf_raster_contour_polygons__cpu_template ( TableFunctionManager mgr,
const Column< TLL > &  lon,
const Column< TLL > &  lat,
const Column< TV > &  values,
const int32_t  raster_width,
const int32_t  raster_height,
const bool  flip_latitude,
const TV  contour_interval,
const TV  contour_offset,
Column< GeoPolygon > &  contour_polygons,
Column< TV > &  contour_values 
)

Definition at line 689 of file GDALTableFunctions.hpp.

699  {
700  return GDALTableFunctions::tf_raster_contour_direct_impl<TLL, TV, GeoPolygon>(
701  mgr,
702  lon,
703  lat,
704  values,
705  raster_width,
706  raster_height,
707  flip_latitude,
708  contour_interval,
709  contour_offset,
710  contour_polygons,
711  contour_values);
712 }