GeoPandas 1.0 drops support for shapely<2 and PyGEOS. The only geometry engine that is
currently supported is shapely >= 2. As a consequence, spatial indexing based on the
rtree package has also been removed (#3035).
The I/O engine now defaults to Pyogrio which is now installed with GeoPandas instead
of Fiona (#3223).
New methods:
Added count_geometries method from shapely to GeoSeries/GeoDataframe (#3154).
Added count_interior_rings method from shapely to GeoSeries/GeoDataframe (#3154)
Added relate_pattern method from shapely to GeoSeries/GeoDataframe (#3211).
Added intersection_all method from shapely to GeoSeries/GeoDataframe (#3228).
Added line_merge method from shapely to GeoSeries/GeoDataframe (#3214).
Added set_precision and get_precision methods from shapely to GeoSeries/GeoDataframe (#3175).
Added count_coordinates method from shapely to GeoSeries/GeoDataframe (#3026).
Added minimum_clearance method from shapely to GeoSeries/GeoDataframe (#2989).
Added shared_paths method from shapely to GeoSeries/GeoDataframe (#3215).
Added is_ccw method from shapely to GeoSeries/GeoDataframe (#3027).
Added is_closed attribute from shapely to GeoSeries/GeoDataframe (#3092).
Added force_2d and force_3d methods from shapely to GeoSeries/GeoDataframe (#3090).
Added voronoi_polygons method from shapely to GeoSeries/GeoDataframe (#3177).
Added contains_properly method from shapely to GeoSeries/GeoDataframe (#3105).
Added build_area method exposing build_area shapely to GeoSeries/GeoDataframe (#3202).
Added snap method from shapely to GeoSeries/GeoDataframe (#3086).
Added transform method from shapely to GeoSeries/GeoDataFrame (#3075).
Added get_geometry method from shapely to GeoSeries/GeoDataframe (#3287).
Added dwithin method to check for a "distance within" predicate on
GeoSeries/GeoDataFrame (#3153).
Added to_geo_dict method to generate GeoJSON-like dictionary from a GeoDataFrame (#3132).
Added polygonize method exposing both polygonize and polygonize_full from
shapely to GeoSeries/GeoDataframe (#2963).
Added is_valid_reason method from shapely to GeoSeries/GeoDataframe (#3176).
Added to_arrow method and from_arrow class method to
GeoSeries/GeoDataFrame to export and import to/from Arrow data with GeoArrow
extension types (#3219, #3301).
New features and improvements:
Added predicate="dwithin" option and distance argument to the sindex.query() method
and sjoin (#2882).
GeoSeries and GeoDataFrame __repr__ now trims trailing zeros for a more readable
output (#3087).
Add on_invalid parameter to from_wkt and from_wkb (#3110).
make_valid option in overlay now uses the make_valid method instead of
buffer(0) (#3113).
Passing "geometry" as dtype to pd.read_csv will now return a GeoSeries for
the specified columns (#3101).
GeoPandas 1.0 drops support for shapely<2 and PyGEOS. The only geometry engine that is
currently supported is shapely >= 2. As a consequence, spatial indexing based on the
rtree package has also been removed (#3035).
The I/O engine now defaults to Pyogrio which is now installed with GeoPandas instead
of Fiona (#3223).
New methods:
Added count_geometries method from shapely to GeoSeries/GeoDataframe (#3154).
Added count_interior_rings method from shapely to GeoSeries/GeoDataframe (#3154)
Added relate_pattern method from shapely to GeoSeries/GeoDataframe (#3211).
Added intersection_all method from shapely to GeoSeries/GeoDataframe (#3228).
Added line_merge method from shapely to GeoSeries/GeoDataframe (#3214).
Added set_precision and get_precision methods from shapely to GeoSeries/GeoDataframe (#3175).
Added count_coordinates method from shapely to GeoSeries/GeoDataframe (#3026).
Added minimum_clearance method from shapely to GeoSeries/GeoDataframe (#2989).
Added shared_paths method from shapely to GeoSeries/GeoDataframe (#3215).
Added is_ccw method from shapely to GeoSeries/GeoDataframe (#3027).
Added is_closed attribute from shapely to GeoSeries/GeoDataframe (#3092).
Added force_2d and force_3d methods from shapely to GeoSeries/GeoDataframe (#3090).
Added voronoi_polygons method from shapely to GeoSeries/GeoDataframe (#3177).
Added contains_properly method from shapely to GeoSeries/GeoDataframe (#3105).
Added build_area method exposing build_area shapely to GeoSeries/GeoDataframe (#3202).
Added snap method from shapely to GeoSeries/GeoDataframe (#3086).
Added transform method from shapely to GeoSeries/GeoDataFrame (#3075).
Added get_geometry method from shapely to GeoSeries/GeoDataframe (#3287).
Added dwithin method to check for a "distance within" predicate on
GeoSeries/GeoDataFrame (#3153).
Added to_geo_dict method to generate GeoJSON-like dictionary from a GeoDataFrame (#3132).
Added polygonize method exposing both polygonize and polygonize_full from
shapely to GeoSeries/GeoDataframe (#2963).
Added is_valid_reason method from shapely to GeoSeries/GeoDataframe (#3176).
Added to_arrow method and from_arrow class method to
GeoSeries/GeoDataFrame to export and import to/from Arrow data with GeoArrow
extension types (#3219, #3301).
New features and improvements:
Added predicate="dwithin" option and distance argument to the sindex.query() method
and sjoin (#2882).
GeoSeries and GeoDataFrame __repr__ now trims trailing zeros for a more readable
output (#3087).
Add on_invalid parameter to from_wkt and from_wkb (#3110).
make_valid option in overlay now uses the make_valid method instead of
buffer(0) (#3113).
Passing "geometry" as dtype to pd.read_csv will now return a GeoSeries for
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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)
Updates the requirements on geopandas to permit the latest version.
Release notes
Sourced from geopandas's releases.
... (truncated)
Changelog
Sourced from geopandas's changelog.
... (truncated)
Commits
d8e14e1
RLS: v1.0.0c6f66ad
TST: Add test covering passing geojson string to read file (#3347)217772b
ENH: add attribute requirement with spatial join (#3231)7c621fe
DOC: Documentation tidy up (#3348)0618b22
Avoid read_feather to decode metadata twice + fix _arrow_to_geopandas for das...76ed232
DOC: update roadmap for post-1.0 era (#3294)726da63
ENH: writing metadata to geopackage (#2850)ac87e9e
DOC: remove datasets module from API reference (#3343)9e3f6db
RLS: v1.0.0-rc1fcf9bc2
BUG: check CRS authority via SRID number when reading from postgis (#3329)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 show