/gpkg_io

Primary LanguageC++GNU General Public License v3.0GPL-3.0

gpkgio

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.

Using in a C++ project

Use CMake's FetchContent command:

include(FetchContent)

FetchContent_Declare(
    gpkgio
    GIT_REPOSITORY	https://github.com/waynegm/gpkg_io.git
)
FetchContent_MakeAvailable( gpkgio )

Separate Build

  • Create a build folder
  • Change to the build folder
  • Run cmake ..

Custom SQLite Installation

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=