Skip to content

v0.1.0

Compare
Choose a tag to compare
@rhugonnet rhugonnet released this 14 Feb 11:55
· 69 commits to main since this release
24d9a5d

This is the first minor release of GeoUtils which contains all core features originally drafted, and is the result of more than 3 years of work! 🥳
The next planned minor releases will include point cloud support for easier point-raster analysis, an Xarray accessor, both in the works, and more! See the roadmap here: https://github.com/GlacioHack/geoutils/wiki/Roadmap-to-v1.0.

⚠️ This release breaks the behaviour of a couple early-dev functions! ⚠️
Due to the early stages of previous functions, there is no warning for these changes, see the short guide to update your code below. In the future, deprecation warnings will be issued in advance before discontinuing a function name/behaviour.

This minor version also comes with a couple bug fixes and a lot of new tests to ensure the robustness of our functionalities!

Guide to update your code

  • Rename show() to plot() for both Raster, Vector and subclasses such as DEM in xDEM,
  • The operations .crop() and .shift() are not done inplace by default anymore, they now use the same logic as other functions (and default in Pandas or Xarray), to maintain inplace logic, replace to: raster = raster.crop() or specify raster.crop(inplace=True),
  • Several function arguments are renamed for consistency throughout the package and clarity, in particular dst_xxx arguments of reproject such as reproject(dst_res=) are all renamed to reproject(res=). You can find all argument names in the API: https://geoutils.readthedocs.io/en/stable/api.html.
  • New UserWarning are sometimes raised, in particular if your Raster.nodata is not defined or defined but with some values not masked in your array. Those warnings should give an indication as to how to silence them.

What's Changed

New Contributors

Full Changelog: v0.0.17...v0.1.0