Releases: GlacioHack/geoutils
v0.0.15pre
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
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
andnp.absolute
to supported NumPy array functions inRaster
by @rhugonnet in #393 - Make environment files management consistent between
pip
andconda
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
This release has minor fixes and improvements.
What's Changed
- Point towards default branch of xDEM documentation by @rhugonnet in #370
- Force
geopandas>0.12
to avoid import failure by @rhugonnet in #375 - Allow different
crs
for functions inmultiraster.py
by @rhugonnet in #374 - Report MySt-NB failures as error in Sphinx build by @rhugonnet in #378
- Fix save with "uint8"
dtype
forMask
class by @rhugonnet in #380 - Update with NumPy 1.25 by @rhugonnet in #382
- Small fixes by @rhugonnet in #384
- Refine typing with NumPy plugin of
mypy
by @rhugonnet in #385
Full Changelog: v0.0.12...v0.0.13
v0.0.12
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
- Fix inheritance diagram rendering in documentation by @rhugonnet in #366
- Minor documentation fixes by @rhugonnet in #365
- Fix
coverage
failure by @rhugonnet in #367 - Enable building the doc in offline formats #363 by @adehecq in #368
Full Changelog: v0.0.11...v0.0.12
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
v0.0.10
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
orVector
by bracket call[]
, consistency and bug fixes by @rhugonnet in #335 - Add
proximity
andbuffer_metric
functionalities withmetric
option based on finding local UTM by @rhugonnet in #336
Full Changelog: v0.0.9...v0.0.10
v0.0.9
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
andnodata.setter
ofRaster
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 additionalfloat32
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 withdev-environment.yml
during CI by @rhugonnet in #297 - Remove
yaml
method for diff calculation ofenvironment.yml
anddev-env.yml
by @rhugonnet in #301 - Improve
data.setter
ofRaster
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 withnp.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, deprecategu.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
v0.0.7
v0.0.6
Minor bugfixes