Skip to content

Releases: DHI/terracotta

v0.7.1

12 May 12:41
Compare
Choose a tag to compare

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

01 Jul 09:52
Compare
Choose a tag to compare

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

Other

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

v0.6.0

27 Mar 10:47
Compare
Choose a tag to compare

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

v0.5.2

17 Oct 15:23
08d7cdc
Compare
Choose a tag to compare

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

v0.5.1

03 Apr 13:41
ad8870b
Compare
Choose a tag to compare

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

11 Dec 13:56
Compare
Choose a tag to compare

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

29 Nov 21:53
f48b6ae
Compare
Choose a tag to compare
v0.5.0b1 Pre-release
Pre-release
  • 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

v0.4.0

04 Oct 13:13
Compare
Choose a tag to compare

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

17 Sep 15:15
4e63e91
Compare
Choose a tag to compare

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 a explicit_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

12 Sep 11:59
Compare
Choose a tag to compare

First production-ready version of Terracotta.