Skip to content

Latest commit

 

History

History
190 lines (130 loc) · 5.03 KB

CHANGELOG.md

File metadata and controls

190 lines (130 loc) · 5.03 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.13.1] - 2021-06-23

Changed

  • update dependency to latest

0.13.0 - 2021-06-18

Changed

  • support any epsg code for calculating distance by using each datum semi major and semi minor axes

[0.12.0-aplha] - 2021-05-19

Added

  • clip2bbox

[0.11.0-aplha1] - 2021-03-19

Added

  • Added polygonize in raster

Fixed

  • Fixed unused argument (offset) in Raster.xy2rowcol

Changed

  • moved pip to development dependency
  • simplified numba xy2rowcol without creating new variable
  • updated environment.yml

Removed

  • removed unused module in utility

0.11.0-alpha0 - 2021-02-24

Fixed

  • fixed xy2rowcol
  • fixed coordinate for idw to reduce it by half of resolution to represent upper left pixel

Added

  • indexing return raster with respective coordinate
  • split into tiled
  • interpolation return Raster instead InterpolationResult

Deprecated

  • py_resample will be removed in the future

[0.10.3] - 2021-01-29

Added

  • Added offset in xy2rowcol
  • add ipython in dev dependency

0.10.2 - 2020-12-18

Fixed

  • Flipped xy2rowcol numba
  • fixed no data in Raster.from_rasterfile
  • define resolution, when input is affine in Raster
  • raster calculator error, caused by numba typing
  • fixed algorithm with offset for raster calculator

Added

  • save with lzw compression

[0.10.0] - 2020-12-17

Added

  • Raster calculation using numba
  • add floordiv
  • parse raster from binary file
  • add shape ordering in reading raster from binary file
  • parse raster from raster file
  • doc script for linux
  • add pdoc3 in dev dependency
  • add changelog.md in pyproject

Changed

  • Use numba to raster calculation
  • upper changed to top

Fixed

  • Restrict numpy version below 1.19.4, caused error in windows

0.9.5 - 2020-12-13

Fixed

  • Flipped cv resize input
  • Return numpy array when slicing

0.9.4 - 2020-12-11

Added

  • add no data when saving raster
  • documentation for Raster attributes
  • add missing return type in save_raster

Changed

  • py resample, resize and opencv resample, resize turn into private method. To prevent confusion, less abstraction.

Removed

  • remove import numba in raster.py

0.9.3 - 2020-12-10

Added

  • upper, left, right, bottom boundary

Changed

  • minimum argument needed is x_min, y_max, resolution or transform
  • simpler conditional statement in raster init
  • x_min, x_max, y_max,y_min is computed properties

Fixed

  • save raster return exact layer not +1 layer
  • return no data if pixel out of bound for raster calculation
  • raise error when using xy_value and the row col index is negative

0.9.2 - 2020-12-09

Added

  • Add numpy.ndarray type in raster calculation
  • Raster.xy_value documentation
  • Add pytest to check affine parameter

Changed

  • Show error if xy_value result is out of bound
  • Change y_min into y_max in raster calculation, resize and resample

Fixed

  • Fix y_min attribute in raster calculation, resize and resample

[0.9.1] - 2020-12-09

Changed

  • Change y_min into y_max in creating Affine

0.9.0 - 2020-12-08

Added

  • resize and resample using opencv for faster performance
  • check validity, y_min should be less than y_max and x_min should be less than x_max
  • add no data value
  • return no data if any pixel is no data (raster calculation)

Changed

  • Use x_min and y_max as minimum input argument to fit upper left extent
  • Refactor raster calculation per pixel to reduce cognitive complexity
  • Check array shape as a tuple

Fixed

  • Remove pip check because different opencv name in pypi and anaconda

Removed

  • Remove shape check per element

0.8.0 - 2020-12-05

Added

  • Raster wrapper
  • Support multiple layer in raster calculation