Skip to content

Releases: GlacioHack/geoutils

v0.0.15pre

25 Sep 05:30
1fb284f
Compare
Choose a tag to compare
v0.0.15pre Pre-release
Pre-release

Pre-release to check if conda-forge build is solved by this last commit...

What's Changed

  • Declare geoutils.raster sub-package explicitly by @rhugonnet in #404

Full Changelog: v0.0.14...v0.0.15-pre

v0.0.14

25 Sep 03:45
9f8a131
Compare
Choose a tag to compare

Minor improvements and fixes.
In particular, environment management is much more robust for both pip and conda (mirroring what is done in pandas), to reduce problems when updating the package with one or the other.

What's Changed

  • Return self input in Vector class by @rhugonnet in #390
  • Update setup.py requirements to geopandas >= 0.12.0 by @erikmannerfelt in #388
  • Backward-compatiblity with Shapely < 2.0 by @rhugonnet in #392
  • Add np.abs and np.absolute to supported NumPy array functions in Raster by @rhugonnet in #393
  • Make environment files management consistent between pip and conda by @rhugonnet in #398
  • Minor a posteriori fixes on recent PRs by @rhugonnet in #401
  • Make GeoPandas tests for new functions/args raise warning and not fail in CI by @rhugonnet in #403
  • Fix subsampling with subsample < 1 to be fraction of valid pixels by @rhugonnet in #402

Full Changelog: v0.0.13...v0.0.14

v0.0.13

09 Aug 21:47
8bd76cd
Compare
Choose a tag to compare

This release has minor fixes and improvements.

What's Changed

Full Changelog: v0.0.12...v0.0.13

v0.0.12

27 Apr 00:56
1016312
Compare
Choose a tag to compare

Minor fixes to documentation, and a release so that the new Readthedocs default branch stable displays things nicely.

Also a good occasion to see if the link to conda-forge feedstock was fixed.

What's Changed

Full Changelog: v0.0.11...v0.0.12

v0.0.11

24 Apr 06:59
583aa57
Compare
Choose a tag to compare

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

v0.0.10

01 Feb 05:51
4e61224
Compare
Choose a tag to compare

Added proximity class method for Raster and Vector matching GDAL's.
Added subsetting (crop) of Raster and Vector through [] (__getitem__) and homogenized crop functionalities.
Added buffer_metric method in Vector class.
Optimized CI runs with caching.
Several bug fixes.

What's Changed

  • Fix deprecate version check by @rhugonnet in #320
  • Add caching to CI environment setup by @rhugonnet in #321
  • Upgrade pre-commit by @rhugonnet in #325
  • Fix small bug in spatial_tools by @adehecq in #326
  • Fix pip dependency listing in CI by @rhugonnet in #328
  • Fix bug in Raster.split_bands by @adehecq in #329
  • Update SETSM product filename metadata parsing in SatelliteImage class by @rhugonnet in #334
  • Subscript-crop Raster or Vector by bracket call [], consistency and bug fixes by @rhugonnet in #335
  • Add proximity and buffer_metric functionalities with metric option based on finding local UTM by @rhugonnet in #336

Full Changelog: v0.0.9...v0.0.10

v0.0.9

26 Sep 08:51
3301f00
Compare
Choose a tag to compare

What's Changed

In summary, the major changes in this release are:

  • The removal of the Raster MemoryFile and fixes on all resulting issues,
  • The improvement of the NumPy array interface to cast NumPy functions on masked arrays instead of the unmasked NumPy array of the Raster, including arithmetic operations,
  • Improves the consistency of the data.setter and nodata.setter of Raster with more intuitive behaviour,
  • Add a lot of tests and CI improvements!

Full list:

  • Remove the memoryfile by @erikmannerfelt in #265
  • Clearly define default rio attributes by @adehecq in #281
  • Update links for repository renaming into lower-case geoutils by @rhugonnet in #283
  • Move examples to geoutils-data including an additional float32 raster with NaNs by @rhugonnet in #284
  • Add version increment step in HOW_TO_RELEASE by @rhugonnet in #288
  • Fix several issues that arose since the MemoryFile PR #265 by @adehecq in #289
  • Add test coverage from Coveralls in CI by @rhugonnet in #295
  • Check that environment.yml can import geoutils, and use diff with dev-environment.yml during CI by @rhugonnet in #297
  • Remove yaml method for diff calculation of environment.yml and dev-env.yml by @rhugonnet in #301
  • Improve data.setter of Raster for consistent array output by @rhugonnet in #300
  • Add instructions on how to update the conda-forge feedstock by @erikmannerfelt in #303
  • Improve array interface of Raster for consistency with np.ma.masked_array operations by @rhugonnet in #302
  • Add get_nanarray method by @rhugonnet in #308
  • Improve loading different rasters and handling different CRS in Raster by @adehecq in #307
  • Modify set_nodata behaviour, improve related warnings and tests by @rhugonnet in #309
  • Fix __eq__, make arithmetic operations fully consistent with masked arrays, deprecate gu.misc.array_equal and bug fixes by @rhugonnet in #313
  • Add test for deprecator function by @rhugonnet in #314
  • Fix version check in misc.test_deprecate by @rhugonnet in #315
  • Elaborate in __eq__ docstring by @rhugonnet in #317

Full Changelog: v0.0.8...v0.0.9

v0.0.8

25 Aug 08:53
c52176d
Compare
Choose a tag to compare

Exactly the same as v0.0.7. Only created a new release so that it can be published on PyPI.

v0.0.7

25 Aug 08:26
4a60049
Compare
Choose a tag to compare

What's Changed

For Raster class:

  • Add a masking functionality set_mask by @adehecq in #271
  • Make reproject work even with data not loaded by @adehecq in #274
  • Set default resampling to bilinear instead of nearest in reproject by @adehecq in #275

Full Changelog: v0.0.6...v0.0.7

v0.0.6

24 Feb 10:33
52f4cae
Compare
Choose a tag to compare

Minor bugfixes