Skip to main content

Connect titiler to STAC APIs.

Project description

titiler-stacapi

Connect titiler to STAC APIs

Test Coverage License


Documentation: https://developmentseed.org/titiler-stacapi/

Source Code: https://github.com/developmentseed/titiler-stacapi


Installation

To install from PyPI and run:

# Make sure you have pip up to date
python -m pip install -U pip
python -m pip  install titiler.stacapi

or from sources and run for development:

git clone https://github.com/developmentseed/titiler-stacapi.git
cd titiler-stacapi
python -m pip install -e .

Launch

You'll need to have TITILER_STACAPI_STAC_API_URL variables set in your environment pointing to your STAC API service.

export TITILER_STACAPI_STAC_API_URL=https://api.stac
python -m pip install uvicorn

uvicorn titiler.stacapi.main:app --port 8000

Using Docker

$ git clone https://github.com/developmentseed/titiler-stacapi.git
$ cd titiler-stacapi
$ export TITILER_STACAPI_STAC_API_URL=https://api.stac
$ docker-compose up --build api

It runs titiler.stacapi using Gunicorn web server.

How it works

WMTS and the Render extension

titiler-stacapi makes extensive use of the Render extension, specifically at the Collection level. By using the render's metadata, the /wmts endpoint (from the OGCWMTSFactory factory) can populate a set of layers returned by the GetCapabilities service.

Contribution & Development

See CONTRIBUTING.md

License

See LICENSE

Authors

See contributors for a listing of individual contributors.

Changes

See CHANGES.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

titiler.stacapi-0.1.1.tar.gz (36.6 kB view details)

Uploaded Source

Built Distribution

titiler.stacapi-0.1.1-py3-none-any.whl (47.8 kB view details)

Uploaded Python 3

File details

Details for the file titiler.stacapi-0.1.1.tar.gz.

File metadata

  • Download URL: titiler.stacapi-0.1.1.tar.gz
  • Upload date:
  • Size: 36.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for titiler.stacapi-0.1.1.tar.gz
Algorithm Hash digest
SHA256 126c30503cc1772d62798e67188e16d033c07a7f7df49a53543091e65d44242c
MD5 860c9703fa2bf9f9885f60bc736c01ae
BLAKE2b-256 5b9d21b71b70cd172b153d5ae5fb6832a5db195ae94cc6e4aacf14e90d83d2c7

See more details on using hashes here.

File details

Details for the file titiler.stacapi-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for titiler.stacapi-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4709a673a5b0b48254d2f579d3e961961df5890cc909035c5639938d1cd63055
MD5 d5a23978856cd790ea496183636e7e27
BLAKE2b-256 492d7109c5c66f0c6367ba12462522d091cb1e9074db68ff9ba9f886ba0aefe9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page