Skip to content

v2.6.0

Compare
Choose a tag to compare
@DanielJDufour DanielJDufour released this 17 Dec 22:19
· 38 commits to master since this release

v2.6.0 (2023-12-17)

πŸ’₯ Breaking Changes

  • None

πŸš€ New Feature / Improvement

  • Increased speed of calculating a single statistic (e.g., geoblaze.min, geoblaze.max, geoblaze.mean, geoblaze.median, and geoblaze.sum). Depending on the nuances of the data source and request, this can lead to more than 2x speedups. We are now calling calc-stats with the "stats" array param, so that calc-stats only calculates exactly the statistic(s) required and nothing more. Previously, calc-stats was still calculating additional default statistics. The previous way wasn't an issue when calc-stats was initially adopted, but as calc-stats added more statistics, it led to a decrease in performance.
  • Added geoblaze.range, calculating the difference between the min and max value for each band.

πŸ› Bug Fix

  • None

🏠 Internal

  • Created geoblaze.stat for calculating a single statistic. geoblaze.sum and others were refactored to use this. But geoblaze.stat is not a part of the public API.
  • Created a separate geoblaze.stat function inside of the lite folder and refactored the function calls in the lite folder.
  • Replaced utils.resolve with Quick-Promise
  • Added lite folder to format script

πŸ“ Documentation

  • No changes

Commits

  • Merge pull request #227 from GeoTIFF/refactor-stats bfd42ae
  • refactored lite 6c35a01
  • increased serve limit for range.test.js 6fb06f6
  • updated median 3102076
  • updated imports into tests ef3e563
  • fixed typo in max test 397d6e4
  • fixed typo in modes 768f75c
  • replaced resolve 09e832c
  • Merge branch 'master' of github.com:GeoTIFF/geoblaze into refactor-stats 177e3c7
  • refactored stats be8f405

v2.5.0...v2.6.0