1#ifndef NGEN_GEOPACKAGE_H
2#define NGEN_GEOPACKAGE_H
6#include "FeatureCollection.hpp"
7#include "ngen_sqlite.hpp"
22 const std::string& geom_col,
23 std::vector<double>& bounding_box
35 const std::string& geom_col
56 const std::string&
id,
57 const std::string& geom_col,
std::map< std::string, JSONProperty > PropertyMap
Shorthand for a mapping between strings and properties.
Definition JSONProperty.hpp:21
std::variant< coordinate_t, linestring_t, polygon_t, multipoint_t, multilinestring_t, multipolygon_t > geometry
Definition JSONGeometry.hpp:68
std::shared_ptr< FeatureBase > Feature
An easy name for a smart pointer for FeatureBase and its children.
Definition FeatureBase.hpp:34
geojson::Feature build_feature(const ngen::sqlite::database::iterator &row, const std::string &id, const std::string &geom_col, geojson::PropertyMap properties)
Build a feature from a GPKG table row.
Definition feature.cpp:13
geojson::PropertyMap build_properties(const ngen::sqlite::database::iterator &row, const std::string &geom_col)
Build properties from GeoPackage table columns.
Definition properties.cpp:22
geojson::geometry build_geometry(const ngen::sqlite::database::iterator &row, const std::string &geom_col, std::vector< double > &bounding_box)
Build a geometry object from GeoPackage WKB.
Definition geometry.cpp:6
Definition DomainLayer.hpp:13
Definition ngen_sqlite.hpp:44