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.3.3.tar.gz (38.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

titiler_stacapi-0.3.3-py3-none-any.whl (49.5 kB view details)

Uploaded Python 3

File details

Details for the file titiler_stacapi-0.3.3.tar.gz.

File metadata

  • Download URL: titiler_stacapi-0.3.3.tar.gz
  • Upload date:
  • Size: 38.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for titiler_stacapi-0.3.3.tar.gz
Algorithm Hash digest
SHA256 124f73d95faeca32297f10c54f5dcd0e94b7d8b742440f8c3a3ea422f158b0ba
MD5 d8e4a0af3ce2e2dcfbafb5d9cd409e52
BLAKE2b-256 00f2caf3c49fd226268b4e7fd7be8deb4675edae673ea83bb2b0fdc9e8cca636

See more details on using hashes here.

File details

Details for the file titiler_stacapi-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for titiler_stacapi-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 08fe356f066b434773a6950d8366da295621727e8ba5109848a29bcb69541ff0
MD5 260ef14c3209b6a80d82e413fbf65f01
BLAKE2b-256 809f2a724848ae68c7bb99d944e0a321e6e43d643b0ea26a13d9a42eed2e7220

See more details on using hashes here.

Supported by

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