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

Install 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.0.tar.gz (36.2 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.1.0-py3-none-any.whl (47.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: titiler.stacapi-0.1.0.tar.gz
  • Upload date:
  • Size: 36.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for titiler.stacapi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4ce002a9cdbd43255eb46a0286bc2ca87b2280f48b016d683cf0fba98e06a809
MD5 995e2b19e6f866129c909845747f34c7
BLAKE2b-256 f4d1e693e468b694776abe5cb821709dd127b6ee2fdf41ef594e4689ee7b2efb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for titiler.stacapi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce259ad7539671ccfacc1de44e5dbefaa1d49feb44bf05fe763c2d3e2de967ea
MD5 50630cfbba8484f4a99b91e1fbc857d6
BLAKE2b-256 8c0a0b7aeacdf8cd2586bdc809675447d1eb2e5d63a6df3173a430d3e0ea1d9a

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