catalyst-cooperative / rmi-energy-communities

Partnership between Catalyst and RMI to identify energy communities as defined by the Inflation Reduction Act
MIT License
4 stars 2 forks source link

Update geopandas requirement from <0.13,>=0.11 to >=0.11,<0.14 #129

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on geopandas to permit the latest version.

Release notes

Sourced from geopandas's releases.

v0.13.0

New methods:

  • Added sample_points method to sample random points from Polygon or LineString geometries (#2860).
  • New hilbert_distance() method that calculates the distance along a Hilbert curve for each geometry in a GeoSeries/GeoDataFrame (#2297).
  • Support for sorting geometries (for example, using sort_values()) based on the distance along the Hilbert curve (#2070).
  • Added get_coordinates() method from shapely to GeoSeries/GeoDataframe (#2624).
  • Added minimum_bounding_circle() method from shapely to GeoSeries/GeoDataframe (#2621).
  • Added minimum_bounding_radius() as GeoSeries method (#2827).

Other new features and improvements:

  • The Parquet and Feather IO functions now support the latest 1.0.0-beta.1 version of the GeoParquet specification () (#2663).
  • Added support to fill missing values in GeoSeries.fillna via another GeoSeries (#2535).
  • Support specifying min_zoom and max_zoom inside the map_kwds argument for .explore() (#2599).
  • Added support for append (mode="a" or append=True) in to_file() using engine="pyogrio" (#2788).
  • Added a to_wgs84 keyword to to_json allowing automatic re-projecting to follow the 2016 GeoJSON specification (#416).
  • to_json output now includes a "crs" field if the CRS is not the default WGS84 (#1774).
  • Improve error messages when accessing the geometry attribute of GeoDataFrame without an active geometry column related to the default name "geometry" being provided in the constructor (#2577)

Deprecations and compatibility notes:

  • Added warning that unary_union will return 'GEOMETRYCOLLECTION EMPTY' instead of None for all-None GeoSeries. (#2618)
  • The query_bulk() method of the spatial index .sindex property is deprecated in favor of query() (#2823).

Bug fixes:

  • Ensure that GeoDataFrame created from DataFrame is a copy, not a view (#2667)
  • Fix mismatch between geometries and colors in plot() if an empty or missing geometry is present (#2224)
  • Escape special characters to avoid TemplateSyntaxError in explore() (#2657)
  • Fix to_parquet/to_feather to not write an invalid bbox (with NaNs) in the metadata in case of an empty GeoDataFrame (#2653)
  • Fix to_parquet/to_feather to use correct WKB flavor for 3D geometries (#2654)
  • Fix read_file to avoid reading all file bytes prior to calling Fiona or Pyogrio if provided a URL as input (#2796)
  • Fix copy() downcasting GeoDataFrames without an active geometry column to a DataFrame (#2775)
  • Fix geometry column name propagation when GeoDataFrame columns are a multiindex (#2088)
  • Fix iterfeatures() method of GeoDataFrame to correctly handle non-scalar values when na='drop' is specified (#2811)
  • Fix issue with passing custom legend labels to plot (#2886)

Notes on (optional) dependencies:

  • GeoPandas 0.13 drops support pandas 1.0.5 (the minimum supported pandas version is now 1.1). Further, the minimum required versions for the listed dependencies have now changed to shapely 1.7.1, fiona 1.8.19, pyproj 3.0.1 and matplotlib 3.3.4 (#2655)

Acknowledgments

Thanks to everyone who contributed to this release! A total of 32 people contributed patches to this release. People with a "+" by their names contributed a patch for the first time.

  • 40% +
  • Brendan Ward
  • Dhruv Kapoor +

... (truncated)

Changelog

Sourced from geopandas's changelog.

Changelog

Development version

New features and improvements:

Bug fixes:

Version 0.13 (May 6, 2023)

New methods:

  • Added sample_points method to sample random points from Polygon or LineString geometries (#2860).
  • New hilbert_distance() method that calculates the distance along a Hilbert curve for each geometry in a GeoSeries/GeoDataFrame (#2297).
  • Support for sorting geometries (for example, using sort_values()) based on the distance along the Hilbert curve (#2070).
  • Added get_coordinates() method from shapely to GeoSeries/GeoDataframe (#2624).
  • Added minimum_bounding_circle() method from shapely to GeoSeries/GeoDataframe (#2621).
  • Added minimum_bounding_radius() as GeoSeries method (#2827).

Other new features and improvements:

  • The Parquet and Feather IO functions now support the latest 1.0.0-beta.1 version of the GeoParquet specification () (#2663).
  • Added support to fill missing values in GeoSeries.fillna via another GeoSeries (#2535).
  • Support specifying min_zoom and max_zoom inside the map_kwds argument for .explore() (#2599).
  • Added support for append (mode="a" or append=True) in to_file() using engine="pyogrio" (#2788).
  • Added a to_wgs84 keyword to to_json allowing automatic re-projecting to follow the 2016 GeoJSON specification (#416).
  • to_json output now includes a "crs" field if the CRS is not the default WGS84 (#1774).
  • Improve error messages when accessing the geometry attribute of GeoDataFrame without an active geometry column related to the default name "geometry" being provided in the constructor (#2577)

Deprecations and compatibility notes:

  • Added warning that unary_union will return 'GEOMETRYCOLLECTION EMPTY' instead of None for all-None GeoSeries. (#2618)
  • The query_bulk() method of the spatial index .sindex property is deprecated in favor of query() (#2823).

Bug fixes:

  • Ensure that GeoDataFrame created from DataFrame is a copy, not a view (#2667)
  • Fix mismatch between geometries and colors in plot() if an empty or missing geometry is present (#2224)

... (truncated)

Commits
  • aa5abc3 RLS: v0.13.0
  • b3be921 RLS/DOC: update to changelog for 0.13 (#2890)
  • 8416ee7 TST: skip postgis duplicate column test for pandas 2.0.x (#2891)
  • 2c8a649 DOC: update documentation for the NumFOCUS Sponsored project status (#2881)
  • 27d5fec DOC: add missing changelog for #2886 (#2887)
  • a905044 BUG: Fix broken call to ax.legend (#2886)
  • 0a7010b Made read_postgis raise ValueError if the geom_col is specified twice (curren...
  • cd844e6 DOC: remove datasets from docstrings + cleanup (#2828)
  • e8ddf25 ENH: Method to sample points randomly from within geometries (#2860)
  • 35f7004 ENH: include crs in to_json (#1774) (#2151)
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)