pypi geopandas 0.12.0
v0.12.0

latest releases: 1.0.1, 1.0.0, 1.0.0rc1...
20 months ago

The highlight of this release is the support for Shapely 2.0. This makes it possible to test Shapely 2.0 (currently 2.0b1) alongside GeoPandas.

Note that if you also have PyGEOS installed, you need to set an environment variable (USE_PYGEOS=0) before importing geopandas to actually test Shapely 2.0 features instead of PyGEOS. See https://geopandas.org/en/latest/getting_started/install.html#using-the-optional-pygeos-dependency for more details.

New features and improvements:

  • Added normalize() method from shapely to GeoSeries/GeoDataframe (#2537).
  • Added make_valid() method from shapely to GeoSeries/GeoDataframe (#2539).
  • Added where filter to read_file (#2552).
  • Updated the distributed natural earth datasets (naturalearth_lowres and naturalearth_cities) to version 5.1 (#2555).

Deprecations and compatibility notes:

  • Accessing the crs of a GeoDataFrame without active geometry column was deprecated and this now raises an AttributeError (#2578).
  • Resolved colormap-related warning in .explore() for recent Matplotlib versions (#2596).

Bug fixes:

  • Fix cryptic error message in geopandas.clip() when clipping with an empty geometry (#2589).
  • Accessing gdf.geometry where the active geometry column is missing, and a column named "geometry" is present will now raise an AttributeError, rather than returning gdf["geometry"] (#2575).
  • Combining GeoSeries/GeoDataFrames with pandas.concat will no longer silently override CRS information if not all inputs have the same CRS (#2056).

Acknowledgments

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

  • Alan D. Snow
  • Alberto González Rosales +
  • Brendan Ward
  • Chris Arderne +
  • Clemens Korner +
  • Ewout ter Hoeven
  • Fred Bunt +
  • Giacomo Caria
  • James Gaboardi
  • Joris Van den Bossche
  • Martin Fleischmann
  • Matt Richards
  • Ray Bell
  • Shogo Hida +
  • Simone Parmeggiani +
  • keirayuki310 +
  • rraymondgh

Don't miss a new geopandas release

NewReleases is sending notifications on new releases.