Installation¶
Prerequisites¶
landlensdb requires PostgreSQL (≥ 14) and PostGIS (≥ 3.5). You should also have Python ≥ 3.10. PostGIS is an extension that adds spatial types to PostgreSQL, enabling geospatial queries and storage.
PostgreSQL and PostGIS¶
- Using conda (recommended)
1 2 | |
Remember to initialize and start the PostgreSQL server before using landlensdb. Once your database is up, enable PostGIS in your database:
1 | |
- Using system packages (example: Ubuntu/Debian)
1 2 | |
Then enable PostGIS in PostgreSQL as shown above.
For more details on setup and configuration: - PostgreSQL docs - PostGIS docs
Installing landlensdb¶
From PyPI¶
1 | |
From GitHub¶
Install the latest development version:
1 | |
Docker¶
A Docker environment with landlensdb can be provided as well. Adjust the Docker image and tag as needed:
1 | |