Skip to main content

TiTiler backend for openEO.

Project description

openEO by TiTiler

TiTiler backend for openEO

TiTiler OpenEO

Overview

titiler-openeo is a TiTiler backend implementation for openEO developed by Development Seed and Sinergise.

The main goal of this project is to provide a light and fast backend for openEO services and processes using the TiTiler engine. This simplicity comes with some specific implementation choices like the type of data managed by the backend. It is focused on image raster data that can be processed on-the-fly and served as tiles or as light dynamic raw data. A concept note is available here to describe in more detail the implementation choices.

The application provides with a minimal openEO API (L1A and L1C).

Features

Installation

uv is the recommended way to install the project's runtime dependencies:

uv sync

Usage

Once dependencies are installed, copy one of the sample environment files (e.g. .env.eoapi) and start the API:

cp .env.eoapi .env
export $(cat .env | xargs)
uvicorn titiler.openeo.main:app --host 0.0.0.0 --port 8081

Configuration

Configuration settings can be provided via environment variables. The following settings are available:

  • TITILER_OPENEO_STAC_API_URL: URL of the STAC API with the collections to be used
  • TITILER_OPENEO_STORE_URL: URL of the openEO service/UDP store json file

In this repository, 2 .env sample files are provided:

  • .env.eoapi that uses the Earth Observation API (EOAPI).

    TITILER_OPENEO_STAC_API_URL="https://stac.eoapi.dev"
    TITILER_OPENEO_STORE_URL="services/eoapi.json"
    
  • .env.cdse that uses the Copernicus Data Space Ecosystem (CDSE)

    TITILER_OPENEO_STAC_API_URL="https://stac.dataspace.copernicus.eu/v1"
    TITILER_OPENEO_STORE_URL="services/copernicus.json"
    

    In order to access asset object store and to retrieve data efficiently, it requires to set additional environment variables:

    AWS_S3_ENDPOINT=eodata.dataspace.copernicus.eu # CDSE S3 endpoint URL
    AWS_ACCESS_KEY_ID=<your_access_key> # S3 access key
    AWS_SECRET_ACCESS_KEY=<your_secret_key> # S3 secret key
    AWS_VIRTUAL_HOSTING=FALSE # Disable virtual hosting
    CPL_VSIL_CURL_CACHE_SIZE=200000000 # Global LRU cache size
    GDAL_HTTP_MULTIPLEX=TRUE # Enable HTTP multiplexing
    GDAL_CACHEMAX=500 # Set GDAL cache size
    GDAL_INGESTED_BYTES_AT_OPEN=50000 # Open a larger bytes range when reading
    GDAL_HTTP_MERGE_CONSECUTIVE_RANGES=YES # Merge consecutive ranges
    VSI_CACHE_SIZE=5000000 # Set VSI cache size
    VSI_CACHE=TRUE # Enable VSI cache
    

visit 'Access to EO data via S3' for information on how to access the Copernicus Data Space Ecosystem (CDSE) data via S3.

Contributing

See CONTRIBUTING.md for development setup, testing, and documentation workflows.

License

See LICENSE

Authors

Created by Development Seed and Sinergise.

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_openeo-0.13.0.tar.gz (198.1 kB view details)

Uploaded Source

Built Distribution

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

titiler_openeo-0.13.0-py3-none-any.whl (264.2 kB view details)

Uploaded Python 3

File details

Details for the file titiler_openeo-0.13.0.tar.gz.

File metadata

  • Download URL: titiler_openeo-0.13.0.tar.gz
  • Upload date:
  • Size: 198.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for titiler_openeo-0.13.0.tar.gz
Algorithm Hash digest
SHA256 e448417cd942036c22a945f3ce9d854a247d7a6f5ab819469c9c7500834afb9a
MD5 47ac8f318e849b275e80cc8f4862590c
BLAKE2b-256 17cfbaf91e8c54b6144967f91eda7c37775af87d38a045ebb3181dc76817ec0a

See more details on using hashes here.

File details

Details for the file titiler_openeo-0.13.0-py3-none-any.whl.

File metadata

  • Download URL: titiler_openeo-0.13.0-py3-none-any.whl
  • Upload date:
  • Size: 264.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for titiler_openeo-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b636c6e3cc7aca496c83b0c9231eafb6492929a78c526f6be95acb6e8d6cf977
MD5 29cc18773c601a060b3c17e6602f4034
BLAKE2b-256 ede0b6d213343e0014cf05aaf8b79f8bf9b0e91a8070c6eacb8c0f8eea02b6f2

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