Skip to content

v0.10.0 Switch to rio-tiler

Latest
Compare
Choose a tag to compare
@banesullivan banesullivan released this 22 Jan 00:29
· 18 commits to main since this release

What's Changed

This release marks a significant re-implementation of localtileserver. The backing tiler has been changed from large-image to rio-tiler. The overall result is improved performance, simplified dependencies, improved compatibility with the rasterio ecosystem, and many bug/quirk fixes like #172, #159, #147

This release unfortunately has many breaking changes and some loss of features. The breaking changes are mostly around API renaming and some methods changing to properties. Otherwise, I stripped out features that are just better handled upstream or not needed here.

This may be a painful upgrade considering how much has changed. Highlights:

  • band is now indexes to follow rio-tiler's implementation (deprecation warning is issued in parts of the API)
  • cmap is now colormap (deprecation warning is issued in parts of the API)
  • palette is now colormap
  • Custom colormaps are no longer supported
  • No more region of interest extraction
  • Access to underlying rasterio dataset is now via the .dataset property
  • COG validation no longer raises errors, but returns a True/False
  • metadata() method is now a metadata property
  • No more support for remote servers (niche feature)
  • Some return values of things like bounds, metadata, etc may have changed now that they are fetched from rio-tiler

For those looking for more details, I recommend checking out the diff specifically for the test directory to see what has changed in #183