Connect PgSTAC and TiTiler
Project description
Connect PgSTAC and TiTiler.
Documentation: https://stac-utils.github.io/titiler-pgstac/
Source Code: https://github.com/stac-utils/titiler-pgstac
TiTiler.PgSTAC
is a titiler extension which connect to pgstac STAC database in order to create mosaics in response to a STAC-api search
query.
Installation
To install from PyPI and run:
$ pip install -U pip
$ pip install titiler.pgstac
To install from sources and run for development:
$ git clone https://github.com/stac-utils/titiler-pgstac.git
$ cd titiler-pgstac
$ pip install -e .
Launch
You'll need to have POSTGRES_USER
, POSTGRES_PASS
, POSTGRES_DBNAME
, POSTGRES_HOST_READER
, POSTGRES_HOST_WRITER
, POSTGRES_PORT
variables set in your environment pointing to your Postgres database where pgstac has been installed.
export POSTGRES_USER=username
export POSTGRES_PASS=password
export POSTGRES_DBNAME=postgis
export POSTGRES_HOST_READER=database
export POSTGRES_HOST_WRITER=database
export POSTGRES_PORT=5432
$ pip install uvicorn
$ uvicorn titiler.pgstac.main:app --reload
Using Docker
$ git clone https://github.com/stac-utils/titiler-pgstac.git
$ cd titiler-pgstac
$ docker-compose build
$ docker-compose up
Contribution & Development
See CONTRIBUTING.md
License
See LICENSE
Authors
See contributors for a listing of individual contributors.
Changes
See CHANGES.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file titiler.pgstac-0.1.0a0.tar.gz
.
File metadata
- Download URL: titiler.pgstac-0.1.0a0.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91de50efc5c4f1ca85d1d4ac3ffe3f6849956ad95c734a7325323541ec713556 |
|
MD5 | 8bb17acdb8f281592f03f1bb058bcef4 |
|
BLAKE2b-256 | 1b59c483f7cf6eddd3c732f4dc89643a90c494d273f4061e9326b0f19542d38a |