Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump geopandas from 0.12.2 to 0.13.0 #301

Merged
merged 1 commit into from
May 8, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 8, 2023

Bumps geopandas from 0.12.2 to 0.13.0.

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 compatibility score

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)

Bumps [geopandas](https://github.com/geopandas/geopandas) from 0.12.2 to 0.13.0.
- [Release notes](https://github.com/geopandas/geopandas/releases)
- [Changelog](https://github.com/geopandas/geopandas/blob/main/CHANGELOG.md)
- [Commits](geopandas/geopandas@v0.12.2...v0.13.0)

---
updated-dependencies:
- dependency-name: geopandas
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 8, 2023
@github-actions github-actions bot enabled auto-merge May 8, 2023 18:12
@coveralls
Copy link

Coverage Status

Coverage: 71.633%. Remained the same when pulling 9f7f614 on dependabot/pip/geopandas-0.13.0 into e06a92e on main.

@github-actions github-actions bot merged commit ead6e96 into main May 8, 2023
8 checks passed
@github-actions github-actions bot deleted the dependabot/pip/geopandas-0.13.0 branch May 8, 2023 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant