6 releases
Uses new Rust 2024
| 0.0.6 | Mar 16, 2026 |
|---|---|
| 0.0.5 | Feb 20, 2026 |
#1787 in Database interfaces
62 downloads per month
19KB
409 lines
LiteGIS
A GIS extension for SQLite, similar to PostGIS for Postgres and SpatiaLite.
The APIs are modeled closely on PostGIS but very incomplete at this point. At the end of the day, this is a thin wrapper around the amazing GEOS.
Building & Usage
If you have a recent Rust toolchain installed, simply run
cargo build -p litegis-so --release
This will yield a shared library for your host platform, e.g:
target/release/liblitegis.so.
For other platforms, use the --target flag.
The library can then be loaded using sqlite3:
sqlite3 ↩️
sqlite> .load target/release/liblitegis
sqlite> SELECT LiteGIS_GEOS_Version();
3.13.1-CAPI-1.19.2
, or programmatically:
SELECT load_extension('target/release/liblitegis');
References
Dependencies
~31MB
~606K SLoC