Skip to content

v0.1.2

Compare
Choose a tag to compare
@rhugonnet rhugonnet released this 20 Mar 01:22
· 55 commits to main since this release
0ad37c4

This releases add a Raster.from_xarray() function to create a Raster from a Xarray data array and fixes nodata conversion in Raster.to_xarray(), re-works the Raster.to_points() into a modular and efficient Raster.to_pointcloud() in anticipation of a PointCloud class release, and adds logic to cast pixel interpretation in a raster depending on its "AREA_OR_POINT" metadata for both Raster-Raster and Raster-Point operations.
Additionally, a new Raster.get_mask() function now allows to read the nodata mask of the raster on disk without loading the array of values into memory (for example for efficient subsampling, but also other functionalities).

This releases also includes some small fixes and dependency management improvements.

What's Changed

  • Fix error checking colormap in geoviewer.py by @adehecq in #510
  • Remove setuptools and setuptools_scm from requirements.txt by @rhugonnet in #512
  • Remove optional import for rioxarray by @rhugonnet in #514
  • Unfix geopandas and pandas version by @rhugonnet in #518
  • Add Raster.from_xarray() to create raster from a xr.DataArray by @rhugonnet in #521
  • Make Raster.to_pointcloud() modular and add Raster.get_mask() for memory-efficient operations requiring mask by @rhugonnet in #501
  • Add pixel interpretation and casting logic (AREA_OR_POINT raster metadata) and add new package-level config defaults by @rhugonnet in #509
  • Update release number to 0.1.2 by @rhugonnet in #524

Full Changelog: v0.1.1...v0.1.2