Skip to content

Commit

Permalink
Add README first version
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Mar 3, 2023
1 parent fb03973 commit 573bbaf
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
28 changes: 28 additions & 0 deletions tiler/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Landgriffon Tiler

Tiler is a FastAPI microservice for serving tiled maps.

## Environment Variables

Tiler requires the following environment variables to be set:

- `REQUIRE_AUTH`: (optional) set to `true` to enable authentication against the LandGriffon API (default is `false`)
- `API_HOST`: LandGriffon API host
- `API_PORT`: LandGriffon API port
- `S3_BUCKET_NAME`: the name of the S3 bucket where the tileset is stored
- `ROOT_PATH`: (optional) the root path where the microservice will be listening
- `TITILER_PREFIX`: (optional) the prefix for Tiler service API endpoints (default is `cog`)
- `TITILER_ROUTER_PREFIX`: (optional) the prefix for Tiler service router API endpoints (default is `cog`)


## API Documentation

Once the Tiler service is running, the API documentation can be accessed at `http://localhost/tiler/docs`.


## TODO

- 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
3 changes: 3 additions & 0 deletions tiler/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
name = "LandGriffon Tiler"
version = "0.1.0"

[tool.pytest.ini_options]
pythonpath = [
"."
Expand Down

0 comments on commit 573bbaf

Please sign in to comment.