Skip to content

v0.13.12

Choose a tag to compare

@github-actions github-actions released this 10 Feb 16:18
· 361 commits to main since this release

Release Notes

Breaking Changes

  • The input geo-dataframes to break_lines now should be in a projected CRS.

New Features

  • Significant improvements in the accuracy and performance of nested_polygons by changing the logic. Now, the function first determines the nested polygons by comparing the centroids of the geometries with their geometry and then picks the largest geometry from each group of nested geometries.
  • Add a new function called query_indicies which is a wrapper around geopandas.sindex.query_bulk. However, instead of returning an array of positional indices, it returns a dictionary of indices where keys are the indices of the input geometry and values are a list of indices of the tree geometries that intersect with the input geometry.

Internal Changes

  • Simplify geo2polygon by making the two CRS arguments optional and only reproject if CRS values are given and different.
  • Apply the geometry mask in gtiff2xarray even if the input geometry is a bounding box since the mask might not be the same geometry as the one that was used during data query.
  • Fully migrate setup.cfg and setup.py to pyproject.toml.
  • Convert relative imports to absolute with absolufy-imports.
  • Sync all patch versions of HyRiver packages to x.x.12.