Tiler uses TiTiler, a FastAPI microservice for serving tiled maps.
Tiler requires the following environment variables to be set:
REQUIRE_AUTH: (optional) set totrueto enable authentication against the LandGriffon API (default isfalse)API_HOST: LandGriffon API hostAPI_PORT: LandGriffon API portS3_BUCKET_NAME: the name of the S3 bucket where the tileset is storedROOT_PATH: (optional) the root path where the microservice will be listeningTITILER_PREFIX: (optional) the prefix for Tiler service API endpoints (default iscog)TITILER_ROUTER_PREFIX: (optional) the prefix for Tiler service router API endpoints (default iscog)
Once the Tiler service is running, the API documentation can be accessed at http://localhost/tiler/docs.
- Add more env vars that are required, for deployment and fine-tuning
- Add more tests (there is a basic pipeline set up with a couple of test)
- Investigate caching options to improve performance
- Custom handle TiTiler errors