TiTiler (developed by Development Seed and open-source contributors under the `MIT` license across Linux, macOS, Windows, Docker, and AWS Lambda) is a lightweight, high-performance dynamic raster tile server built on `FastAPI`, `rio-tiler`, and `GDAL`/`Rasterio`. Rather than pre-generating millions of static map tiles and storing huge tile caches on disk, TiTiler reads `Cloud-Optimized GeoTIFF` (`COG`) files, `STAC` items, and `MosaicJSON` collections on the fly over HTTP/S3 byte-range requests—rendering dynamic `XYZ` / `WMTS` tiles, custom band combinations (`RGB`, `NDVI`, `NDWI`), rescaling, colormaps, and point/area statistics straight into `MapLibre GL JS`, `OpenLayers`, `Leaflet`, and `QGIS`.
1. In-Depth Review: Why Cloud EO & Web GIS Teams Use TiTiler
- Eliminates Heavy Pre-Tiled Raster Pipelines: Serves live `XYZ` and `WMTS` web map tiles directly from `Cloud-Optimized GeoTIFF` (`COG`) files stored in `Amazon S3`, `MinIO`, `GCS`, or `Azure Blob Storage` without pre-rendering static pyramids.
- On-the-Fly Band Math, Colormaps & Rescaling via URL Parameters: Lets frontend web maps switch band combinations (`B4,B3,B2` true color vs `B8,B4,B3` false color), compute spectral indices (`expression=(b8-b4)/(b8+b4)`), or adjust min/max stretch dynamically in real time.
- Built on `FastAPI` with Auto-Generated `OpenAPI` / `Swagger` Docs & Serverless Deployment: Runs effortlessly in `Docker`, `Uvicorn`/`Gunicorn`, `Kubernetes`, or `AWS Lambda` with interactive API documentation out of the box.

2. Key Features & Capabilities
- Dynamic `XYZ` & `WMTS` Tile Endpoints for `COG`, `STAC` & `MosaicJSON`: Serve web tiles at any zoom level and tile matrix set (`WebMercatorQuad`, `WorldCRS84Quad`, custom TMS).
- Real-Time Band Expressions & Spectral Index Rendering: Compute `NDVI`, `NDWI`, or custom band ratios on the fly without creating derived raster files.
- Dynamic Rescaling, Histogram Equalization & Built-In Colormaps (`viridis`, `rdylgn`, `terrain`, custom palettes): Style elevation `DEMs`, thermal rasters, and scientific bands dynamically via query strings.
- Pixel Point Queries, Bounding-Box Crops & Raster Statistics Endpoints: Return elevation/band values at `lon,lat` coordinates, clipped `GeoTIFF`/`PNG` cutouts, and histogram metadata via REST API.
- Seamless Integration with `MapLibre GL JS`, `OpenLayers`, `Leaflet` & `QGIS`: Plug TiTiler `TileJSON` or `XYZ` URLs directly into browser maps or desktop GIS.
- 100% Free & Open-Source (`MIT` License): Free for self-hosted, academic, government, and commercial cloud earth-observation platforms.
- Official Links: Project Portal, Documentation & GitHub
Always check TiTiler releases, `FastAPI` endpoints, and deployment guides directly from official TiTiler portals:
- Official TiTiler Documentation & Overview Portal: https://developmentseed.org/titiler/
- Official TiTiler GitHub Repository: https://github.com/developmentseed/titiler
- Official rio-tiler Underlying Engine Documentation: https://cogeotiff.github.io/rio-tiler/
4. Step-by-Step Installation Guide
- Check Python, GDAL & Resource Requirements: Confirm your workstation or server runs `Python 3.9–3.12+` on 64-bit `Linux` (Ubuntu/Debian/RHEL), `macOS`, `Windows`, or `Docker` with at least 4 GB RAM (8 GB–16 GB+ recommended for concurrent tile requests and `GDAL` raster block caches).
- Install TiTiler & Uvicorn via `pip` (or Official Docker Image): Run `pip install "titiler.application" uvicorn` in a clean virtual environment (or pull `ghcr.io/developmentseed/titiler:latest` per https://developmentseed.org/titiler/).
- Configure Optional `GDAL` / `S3` Environment Variables: For private `S3`/`MinIO` buckets, set `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_S3_ENDPOINT`, and `GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR` for fast range requests.
- Start the TiTiler Server & Open Interactive Docs: Run `uvicorn titiler.application.main:app --host 0.0.0.0 --port 8000` and open `http://localhost:8000/docs` in your browser to verify the `Swagger` API endpoints.
5. How to Use TiTiler: Beginner Workflow
- Prepare a Valid `Cloud-Optimized GeoTIFF` (`COG`): Ensure your raster (`orthomosaic.tif`, `dem.tif`, or `sentinel2.tif`) is formatted as a valid `COG` and hosted via HTTP/HTTPS or `S3`/`MinIO`.
- Inspect Metadata & Bounds via `/cog/info`: Call `GET http://localhost:8000/cog/info?url=https://.../dem.tif` to verify band count, data type, `CRS`, and geographic bounds.
- Preview a Dynamic `XYZ` Tile or `TileJSON` Endpoint: Request `http://localhost:8000/cog/WebMercatorQuad/tilejson.json?url=https://.../dem.tif&rescale=0,1500&colormap_name=terrain` to obtain a ready-to-use `TileJSON` feed.
- Apply On-the-Fly Band Math for Multispectral Imagery (`expression`): Pass `expression=(b8-b4)/(b8+b4)&rescale=-0.5,0.8&colormap_name=rdylgn` to render live `NDVI` tiles directly from multi-band `COG` files.
- Connect the `XYZ` / `TileJSON` URL to `MapLibre GL JS`, `OpenLayers` or `QGIS`: Add the dynamic tile URL as a raster source in your web map frontend or `QGIS` `XYZ Tiles` connection.
6. Frequently Asked Questions (FAQ)
- How does `TiTiler` differ from `GeoServer` or `MapProxy`?`GeoServer` is a full Java-based `OGC` web server (`WMS`, `WFS`, `WCS`, vector + raster styling) and `MapProxy` is a tile cache/proxy, whereas `TiTiler` is a lightweight Python `FastAPI` microservice specialized for streaming and dynamically styling `Cloud-Optimized GeoTIFF` (`COG`) and `STAC` rasters over HTTP/S3 byte-range requests without pre-tiling.
- Can `TiTiler` read `COG` files stored in self-hosted `MinIO` or `Amazon S3`?Yes. Because `TiTiler` uses `GDAL`'s `/vsis3/` and `/vsicurl/` virtual filesystems, it works seamlessly with `Amazon S3`, `MinIO`, `Cloudflare R2`, `Google Cloud Storage`, and standard HTTP servers supporting `Range` requests.
- Is TiTiler free for commercial web mapping applications?Yes. TiTiler is 100% free and open-source under the `MIT` license.