GeoPandas will use Shapely 2.0 by default instead of PyGEOS when both Shapely >= 2.0 and
PyGEOS are installed. PyGEOS will continue to be used by default when PyGEOS is
installed alongside Shapely < 2.0. Support for PyGEOS and Shapely < 2.0 will be removed
in GeoPandas 1.0. (#2999)
API changes:
seed
keyword insample_points
is deprecated. Userng
instead. (#2913).
New methods:
- Added
concave_hull
method from shapely to GeoSeries/GeoDataframe (#2903). - Added
delaunay_triangles
method from shapely to GeoSeries/GeoDataframe (#2907). - Added
extract_unique_points
method from shapely to GeoSeries/GeoDataframe (#2915). - Added
frechet_distance()
method from shapely to GeoSeries/GeoDataframe (#2929). - Added
hausdorff_distance
method from shapely to GeoSeries/GeoDataframe (#2909). - Added
minimum_rotated_rectangle
method from shapely to GeoSeries/GeoDataframe (#2541). - Added
offset_curve
method from shapely to GeoSeries/GeoDataframe (#2902). - Added
remove_repeated_points
method from shapely to GeoSeries/GeoDataframe (#2940). - Added
reverse
method from shapely to GeoSeries/GeoDataframe (#2988). - Added
segmentize
method from shapely to GeoSeries/GeoDataFrame (#2910). - Added
shortest_line
method from shapely to GeoSeries/GeoDataframe (#2960).
New features and improvements:
- Added
exclusive
parameter tosjoin_nearest
method for Shapely >= 2.0 (#2877) - The
to_file()
method will now automatically detect the FlatGeoBuf driver
for files with the.fgb
extension (#2958)
Bug fixes:
- Fix ambiguous error when GeoDataFrame is initialized with a column called
"crs"
(#2944) - Fix a color assignment in
explore
when usingUserDefined
bins (#2923) - Fix bug in
apply
withaxis=1
where the given user defined function returns nested
data in the geometry column (#2959) - Properly infer schema for
np.int32
andpd.Int32Dtype
columns (#2950) assert_geodataframe_equal
now handles GeoDataFrames with no active geometry (#2498)
Notes on (optional) dependencies:
- GeoPandas 0.14 drops support for Python 3.8 and pandas 1.3 and below (the minimum
supported pandas version is now 1.4). Further, the minimum required versions for the
listed dependencies have now changed to shapely 1.8.0, fiona 1.8.21, pyproj 3.3.0 and
matplotlib 3.5.0 (#3001)
Deprecations and compatibility notes:
geom_almost_equals()
methods have been deprecated and
geom_equals_exact()
should be used instead (#2604).
Acknowledgments
Thanks to everyone who contributed to this release!
A total of 16 people contributed patches to this release. People with a "+" by their names contributed for the first time.
- Anudeep Adiraju +
- Christopher Hedemann +
- Geoff Boeing +
- harisbal +
- James Gardiner +
- Joris Van den Bossche
- Kaushik +
- Matt Richards
- Martin Fleischmann
- Ray Bell
- richardachen +
- Shogo Hida
- Simone Parmeggiani
- Steve Berdy +
- Darren Erik Vengroff +
- Wei Ji +
Full Changelog: v0.13.2...v0.14.0