This release introduces some breaking changes in the Terracotta API and deployment workflow.
Changes
- Added a Zappa callback that ensures consistency of settings and remote database before deployment.
- The Terracotta version used to create a database is now added to the database and checked on connection.
- Terracotta will now warn when calling `driver.insert` on a raster file that is not a cloud-optimized GeoTiff.
- We now support proper logging, including logging to a file.
- Preview images for datasets can be requested via `/singleband/{keys}/preview.png` and `/rgb/{keys}/preview.png`.
- The returned tile size is now configurable from the URL for both `/singleband` and `/rgb`.
- The preferred Zappa settings format is now TOML.
- It is now possible to add a plaintext description of the keys in a Terracotta deployment. The response format of `/keys` is changed to
json
[
{
"key": "key_name",
"description": "key description"
}
]
where `description` is optional.
- Various optimizations and bug fixes.