Skip to main content

Connect titiler to STAC APIs.

Project description

titiler-stacapi

Connect titiler to STAC APIs

Test Package version 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

To install from sources and run for development:

We recommand using uv as project manager for development.

See https://docs.astral.sh/uv/getting-started/installation/ for installation

git clone https://github.com/developmentseed/titiler-stacapi.git
cd titiler-stacapi

uv sync

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

uv run --extra server 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 Uvicorn 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 OGCEndpointsFactory 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-2.0.1.tar.gz (39.8 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-2.0.1-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: titiler_stacapi-2.0.1.tar.gz
  • Upload date:
  • Size: 39.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for titiler_stacapi-2.0.1.tar.gz
Algorithm Hash digest
SHA256 73b36ca9862bcb60de717c4912b0f5d51a1d520b3f3a0a89958822e7ff218b98
MD5 a24f4682481cfa33cb6c8232c1a636f4
BLAKE2b-256 afebc44e96bcafaeba5cc6ce7a3e720fbdf15cd4c7669ef75f4add4d1766c6b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for titiler_stacapi-2.0.1.tar.gz:

Publisher: release.yml on developmentseed/titiler-stacapi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for titiler_stacapi-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3a2e3f7c3dea11481c4ef9238870995e24251244a98b184dee1eb0cd07cb17d8
MD5 82e46b3d163d8c472f51624a7b60d659
BLAKE2b-256 7e309a0d1e9b0508224ec88c4dd8b4e2e72bc0d251a8dfb983a71c6aea2945d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for titiler_stacapi-2.0.1-py3-none-any.whl:

Publisher: release.yml on developmentseed/titiler-stacapi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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