Releases: DHI/terracotta
v0.7.1
New features
- A whole new and shiny preview app in React (thanks to @bertearazvan).
terracotta ingest
now has a--skip-existing
option.- Use of multiprocessing is now configurable via
TC_USE_MULTIPROCESSING
.
Bug fixes
- Automatically respawns broken process pools.
- Better MySQL caching and URL parsing.
- Bumped dependencies.
v0.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 calledrgba
instead ofrgb
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
v0.6.0
This release contains some critical bug fixes and quality-of-life improvements.
Changes
- The config parameters
UPSAMPLING_METHOD
andDOWNSAMPLING_METHOD
are nowREPROJECTION_METHOD
andRESAMPLING_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
v0.5.2
v0.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
v0.5.0
Changes to v0.5.0b1:
- Now
terracotta connect
checks whether the remote server runs a compatible version of Terracotta - More documentation
- Fancy logo
- Preview app overhaul by @JeroenDerks
v0.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 forget_datasets
v0.4.0
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[ { "key": "key_name", "description": "key description" } ]
where
description
is optional. -
Various optimizations and bug fixes.
v0.3.0
Changes:
/legend
API endpoint renamed to/colormap
- Removed
/colormaps
API endpoint - More performant convex hull computation to speed up ingestion in some cases
/colormap
is now properly covered by tests that ensure consistency with images returned by/singleband
/singleband
now accepts aexplicit_color_map
argument that forces Terracotta to preserve pixel values (e.g. when serving categorical data)- Added a recipe to serve categorical data to README
Complete rework of the Terracotta API
First production-ready version of Terracotta.