Terracotta

Latest version: v0.8.6

Safety actively analyzes 714792 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.7.0

We added support for custom color maps and fixes to the raster driver and the MySQL database driver

Changes

* You can now conveniently include your custom color maps in an `EXTRA_CMAP_FOLDER` of your choosing, thanks to dionhaefner
* Rasters with existing alpha bands now just work (176) fixed by dionhaefner
* `/colormap` response changed: JSON key is called `rgba` instead of `rgb` and contains 4 values.

Bug fixes

* MySQL database driver getting into broken state limbo is now prevented (174), by j08lue and dionhaefner

Other

* Docs now rst-magically build the color map visualizations and got rid of their Matplotlib dependency, by dionhaefner

0.6.0

This release contains some critical bug fixes and quality-of-life improvements.

Changes
- The config parameters `UPSAMPLING_METHOD` and `DOWNSAMPLING_METHOD` are now `REPROJECTION_METHOD` and `RESAMPLING_METHOD`, with different semantics.

Bug fixes
- As it turns out, retrieving tiles with GDAL is not thread-safe. Therefore we now use multiprocessing (on systems where it is supported) to retrieve the three RGB bands in parallel.
- Terracotta's default transform failed to produce meaningful results in certain edge-cases. We thus reverted to GDAL's default transform, but with the additional feature that tiles never undersample the original dataset. This seems to give good performance both for high and low zoom levels.

Other
- Some tweaks to the docs by YuhangCh and j08lue.
- CORS is now configurable thanks to j08lue.

0.5.2

No big changes, just some tweaks and bug fixes that accumulated during the last couple of months.

Bug fixes:
- Adapt to recent library versions
- Do not use `GDAL_DISABLE_READDIR_ON_OPEN` anymore (139)
- `cache_cluster_ttl` in `zappa_settings.toml.in` is now an integer

Other:
- Now tested with Python 3.8

0.5.1

New features:
- `/compute` API endpoint to do band math on-the-fly
- Compressed internal tile cache by panakouris

Bug fixes:
- Bump to recent versions of apispec, cachetools, flake8
- Supplying an explicit color map now works as expected
- Fixed broken colormaps

0.5.0

0.5.0b1

- Overhaul nodata handling
- Add documentation
- Add types to client app
- Fix some tile alignment bugs
- Explicit colormaps now accept RGBA tuples
- Fix some bugs in `optimize-rasters`
- Faster lazy loading support
- Fix some bugs when using the `limit` keyword for `get_datasets`

Page 3 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.