Skip to content

Releases: sertit/sertit-utils

v1.37.2

22 May 10:15
Compare
Choose a tag to compare

1.37.2 (2024-05-22)

  • FIX: Don't set endpoint_url in s3 if environment variable is empty

v1.37.1

22 May 10:04
Compare
Choose a tag to compare

1.37.1 (2024-05-22)

  • FIX: Don't set endpoint_url in s3 if environment variable is empty

v1.37.0

22 Apr 13:53
Compare
Choose a tag to compare

1.37.0 (2024-04-22)

  • ENH: Add AWS profile feature to s3 module
  • FIX: Fix files.extract_file when there are only files in the root of the zip archive (#14)
  • FIX: FIX metadata handling with rasters_rio.read when reading with indexes

v1.36.1

26 Mar 13:49
Compare
Choose a tag to compare

1.36.1 (2024-03-26)

  • FIX: Fix vector._read_vector_core when we convert a GML file from S3 to geojson with ogr2ogr (#12)
  • FIX: Fix files.extract_file when there is a file in the root of the zip archive (#11)
  • FIX: Fix geometry.nearest_neighbors when k is bigger than the number of candidates
  • FIX: Add a buffer_on_input in geometry.intersects to manage edge cases when points on polygons boundary aren't seen as intersecting
  • FIX: rasters.read accepts xarray objects as input
  • FIX: Sanitize imports
  • DOC: Update some examples in documentation

v1.36.0

27 Feb 08:59
Compare
Choose a tag to compare

1.36.0 (2024-02-27)

  • BREAKING CHANGE: Rename feature_layer_to_path to gp_layer_to_path
  • BREAKING CHANGE: Rename rasters(_rio).get_nodata_mask to rasters(_rio).get_data_mask to better fit with its behaviour (1 where data is valid, 0 elsewhere)
  • ENH: Add geometry.intersects to find polygons intersecting with other polygons (wrapper of geopandas.intersects that works only row-wise)
  • ENH: Add geometry.line_merge to use shapely.line_merge on GeoDataFrames
  • ENH: Add geometry.buffer (using gpd.buffer) to return a GeoDataFrame instead of a GeoSeries
  • ENH: Add geometry.nearest_neighbors to get the nearest neighbors from each point of a Point GeoDataFrame in another one (two methods, k_neighbors and radius). Needs sklearn.
  • FIX: Ignore when trying to split polygons with points
  • FIX: Make ci.assert_val work for Iterables
  • DOC: Numerous documentation updates to better use Sphinx syntax

v1.35.0

08 Feb 14:00
Compare
Choose a tag to compare

1.35.0 (2024-02-08)

  • ENH: Add a function (arcpy.feature_layer_to_path) to retrieve the path from an ArcGIS feature layer
  • ENH: Add a class ArcPyLogger to better handle logs in Arcgis Pro tools
  • ENH: Add a function (geometry.split) to split polygons with polygons
  • FIX: Fix rasters.sieve with integer data

v1.34.2

23 Jan 14:26
Compare
Choose a tag to compare

1.34.2 (2024-01-23)

  • FIX: Update setup.py to have all the needed dependencies listed in requirements.txt (#9)
  • FIX: Fix vectors.read with engine=pyogrio when opening vectors without geometries (like dbf files)

v1.34.1

17 Jan 12:31
Compare
Choose a tag to compare

1.34.1 (2024-01-17)

  • FIX: Update arcpy.init_conda_arcpy_env to fix new issues (GDAL InvalidVersion when writing on disk with geopandas using fiona's engine)

v1.34.0

15 Jan 09:27
Compare
Choose a tag to compare

1.34.0 (2024-01-15)

  • BREAKING CHANGE: Set default chunks to auto in rasters.read
  • ENH: Add types for ArcGis GDB in arcpy
  • FIX: Allow folders to be opened in vectors.read (to open GDBs)
  • OPTIM: Geopandas now handles correctly S3 paths, so don't download S3-stored vectors anymore

v1.33.0

02 Jan 15:34
Compare
Choose a tag to compare
  • ENH: Mirror window in vectors.read (from rasters.read), enhancing gpd.read_file(bbox=...)
  • FIX: Allow kwargs in rasters.collocate
  • DOC: Update copyright to 2024