Skip to content

v0.0.11

Compare
Choose a tag to compare
@rhugonnet rhugonnet released this 24 Apr 06:59
· 137 commits to main since this release
583aa57

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 into raster and geovector into vector, and spatial_tools is split into raster/array, raster/sampling and raster/multiraster,
  • All of GeoSeries/GeoDataFrame functions are callable directly from Vector,
  • All single-band Raster.data are squeezed to 2D,
  • Mask class is added and can be used to index Raster,
  • All logical comparison operation on a Raster will cast to a Mask,
  • 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 in pre-commit by @rhugonnet in #343
  • Add support for pathlib.Path object as filename of Raster and Vector by @rhugonnet in #342
  • Fix for Raster.reproject() and stack_rasters on multiple bands by @rhugonnet in #344
  • Add Raster.to_rio_dataset() to export a Raster to a rasterio.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 and projtools.merge_bounds functions by @rhugonnet in #345
  • Change xy2ij behaviour to consider AREA_OR_POINT attribute as interpretation by @rhugonnet in #348
  • Use consistently count and indexes for band listing and counting (removing nbands and bands) 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 output res 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

Full Changelog: v0.0.10...v0.0.11