Basic C++ IO library for Geopackage vector data. Just enough to support the requirements of the OpendTect GeoPackage plugin, i.e. writing Point, LineString and Polygon geometry types.
Use CMake's FetchContent command:
include(FetchContent)
FetchContent_Declare(
gpkgio
GIT_REPOSITORY https://github.com/waynegm/gpkg_io.git
)
FetchContent_MakeAvailable( gpkgio )
- Create a build folder
- Change to the build folder
- Run cmake ..
For a custom SQLite installation set the following CMake definitions on the CMake command line (-D...) or in the CMake GUI/TUI:
- SQLite3_INCLUDE_DIR:PATH=
- SQLite3_LIBRARY:FILEPATH=