OmniSciDB  06b3bd477c
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
geo_compression.h File Reference
#include <cstdint>
#include <vector>
#include "Shared/geo_compression_runtime.h"
#include "Shared/sqltypes.h"
+ Include dependency graph for geo_compression.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.




int32_t geospatial::get_compression_scheme (const SQLTypeInfo &ti)
uint64_t geospatial::compress_coord (double coord, const SQLTypeInfo &ti, bool x)
uint64_t geospatial::compress_null_point (const SQLTypeInfo &ti, bool x)
bool geospatial::is_null_point (const SQLTypeInfo &geo_ti, const int8_t *coords, const size_t coords_sz)
std::vector< uint8_t > geospatial::compress_coords (std::vector< double > &coords, const SQLTypeInfo &ti)
template<typename T >
void geospatial::unpack_geo_vector (std::vector< T > &output, const int8_t *input_ptr, const size_t sz)
template<typename T , typename C >
std::shared_ptr< std::vector< T > > geospatial::decompress_coords (const C &compression, const int8_t *coords, const size_t coords_sz)