Skip to main content

A modern dynamic tile server built on top of FastAPI and Rasterio/GDAL.

Project description

titiler.application

Titiler's demo package.

Installation

$ pip install -U pip

# From Pypi
$ pip install titiler.application

# Or from sources
$ git clone https://github.com/developmentseed/titiler.git
$ cd titiler && pip install -e titiler/application

Launch Application

$ pip install uvicorn
$ uvicorn titiler.application.main:app --reload

Package structure

titiler/
 └── application/
    ├── tests/                   - Tests suite
    └── titiler/application/     - `application` namespace package
        ├── routers/
        |   ├── cog.py           - Cloud Optimized `/cog` endpoints
        |   ├── mosaic.py        - mosaic `/mosaicjson` endpoints
        |   ├── stac.py          - STAC `/stac` endpoints
        |   └── tms.py           - TileMatrixSet endpoints
        ├── templates/
        |   ├── index.html       - demo landing page
        |   ├── cog_index.html   - demo viewer for `/cog`
        |   └── stac_index.html  - demo viewer for `/stac`
        ├── custom.py            - Titiler customisation (TMS, colormap...)
        ├── main.py              - Main FastAPI application
        ├── middleware.py        - Titiler custom middlewares
        ├── settings.py          - demo settings (cache, cors...)
        └── version.py           - version

Supported by

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