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.
- update dependency to latest
0.13.0 - 2021-06-18
- support any epsg code for calculating distance by using each datum semi major and semi minor axes
- clip2bbox
- Added polygonize in raster
- Fixed unused argument (offset) in Raster.xy2rowcol
- moved pip to development dependency
- simplified numba xy2rowcol without creating new variable
- updated environment.yml
- removed unused module in utility
0.11.0-alpha0 - 2021-02-24
- fixed xy2rowcol
- fixed coordinate for idw to reduce it by half of resolution to represent upper left pixel
- indexing return raster with respective coordinate
- split into tiled
- interpolation return Raster instead InterpolationResult
- py_resample will be removed in the future
- Added offset in xy2rowcol
- add ipython in dev dependency
0.10.2 - 2020-12-18
- 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
- save with lzw compression
- 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
- Use numba to raster calculation
- upper changed to top
- Restrict numpy version below 1.19.4, caused error in windows
0.9.5 - 2020-12-13
- Flipped cv resize input
- Return numpy array when slicing
0.9.4 - 2020-12-11
- add no data when saving raster
- documentation for Raster attributes
- add missing return type in save_raster
- py resample, resize and opencv resample, resize turn into private method. To prevent confusion, less abstraction.
- remove import numba in raster.py
0.9.3 - 2020-12-10
- upper, left, right, bottom boundary
- 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
- 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
- Add numpy.ndarray type in raster calculation
- Raster.xy_value documentation
- Add pytest to check affine parameter
- Show error if xy_value result is out of bound
- Change y_min into y_max in raster calculation, resize and resample
- Fix y_min attribute in raster calculation, resize and resample
- Change y_min into y_max in creating Affine
0.9.0 - 2020-12-08
- 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)
- 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
- Remove pip check because different opencv name in pypi and anaconda
- Remove shape check per element
0.8.0 - 2020-12-05
- Raster wrapper
- Support multiple layer in raster calculation