Warning
This package does not work yet!
GeoPackage.jl is designed to be a fast and mostly native Julia reader of GeoPackage (.gpkg
) files.
It currently only supports geometry tables, and not tilesets or other raster variants. If you want to read such a table, use ArchGDAL.jl which can perform this reading.
The package has 2 main components:
- An SQL query mechanism to obtain the various geometry tables from the
.gpkg
file - A method to parse binary representations of geometry into a Julia-native form.
GeoPackage.DB
: a holder to a database connection with established metadataDataFrame
: returned fromGeoPackage.get_table(::DB, name::String)
- should we have our own table format? Why?
- Optimized geometry parsing using known single-geometry columns to promote type stability and speed up the fast inner loop of parsing.
- Better checks and understanding the CRS aspect of the GeoPackage spec.
- Support for tiles and similar features.
We have access to z and m indicators in the gpkg_geometry_columns table so should use those as well.