v0.0.11
Short description
The brand new GeoUtils documentation is out! 🥳
This new releases also changes some core behaviours, to name the ones most likely to break things:
- The structure of the package is re-organized:
georaster
is renamed intoraster
andgeovector
intovector
, andspatial_tools
is split intoraster/array
,raster/sampling
andraster/multiraster
, - All of
GeoSeries
/GeoDataFrame
functions are callable directly fromVector
, - All single-band
Raster.data
are squeezed to 2D, Mask
class is added and can be used to indexRaster
,- All logical comparison operation on a
Raster
will cast to aMask
, Raster
loading is implicit and triggered by any function calling.data
,- Naming of attributes and arguments is homogenized throughout the package.
Most of the changes come from the massive PR #351, see for details, or the new documentation!
Additionally, test coverage reaches 90%, with all functions covered! (only some options here and there missing)
What's Changed
- Fix
isort
version inpre-commit
by @rhugonnet in #343 - Add support for
pathlib.Path
object asfilename
of Raster and Vector by @rhugonnet in #342 - Fix for
Raster.reproject()
andstack_rasters
on multiple bands by @rhugonnet in #344 - Add
Raster.to_rio_dataset()
to export aRaster
to arasterio.DatasetReader
by @rhugonnet in #347 - Fix bugs and write tests for
Raster.value_at_coords()
by @rhugonnet in #339 - Merge
spatial_tools.merge_bounding_boxes
andprojtools.merge_bounds
functions by @rhugonnet in #345 - Change
xy2ij
behaviour to considerAREA_OR_POINT
attribute as interpretation by @rhugonnet in #348 - Use consistently
count
andindexes
for band listing and counting (removingnbands
andbands
) by @rhugonnet in #346 - Add
Vector.reproject()
by @rhugonnet in #349 - Fix cbar alignment in
Raster.show
by @friedrichknuth in #353 - Fix
Raster.reproject()
floating precision of outputres
on large grids by @rhugonnet in #356 - Write documentation and streamline general behaviour by @rhugonnet in #351
- Minor fixes in new documentation by @rhugonnet in #363
- Fix GitHub Actions mamba caching by @erikmannerfelt in #364
New Contributors
- @friedrichknuth made their first contribution in #353
Full Changelog: v0.0.10...v0.0.11