-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = [ | ||
"." | ||
|