Published April 25, 2019
| Version v0.5.0
Software
Open
geopandas/geopandas: v0.5.0
Creators
- 1. Planet Labs
- 2. @timescale
- 3. @textileio
Description
GeoPandas 0.5.0 includes some improvements for writing files with fiona (better performance, better support for data types and mixed geometry types), along with many other new features and bug fixes, see the full list below.
Improvements:
- Significant performance improvement (around 10x) for
GeoDataFrame.iterfeatures
, which also improvesGeoDataFrame.to_file
(#864). - File IO enhancements based on Fiona 1.8:
- Support for writing bool dtype (#855) and datetime dtype, if the file format supports it (#728).
- Support for writing dataframes with multiple geometry types, if the file format allows it (e.g. GeoJSON for all types, or ESRI Shapefile for Polygon+MultiPolygon) (#827, #867, #870).
- Compatibility with pyproj >= 2 (#962).
- A new
geopandas.points_from_xy()
helper function to convert x and y coordinates to Point objects (#896). - The
buffer
andinterpolate
methods now accept an array-like to specify a variable distance for each geometry (#781). - Addition of a
relate
method, corresponding to the shapely method that returns the DE-9IM matrix (#853). - Plotting improvements:
- Performance improvement in plotting by only flattening the geometries if there are actually 'Multi' geometries (#785).
- Choropleths: access to all
mapclassify
classification schemes and addition of theclassification_kwds
keyword in theplot
method to specify options for the scheme (#876). - Ability to specify a matplotlib axes object on which to plot the color bar with the
cax
keyword, in order to have more control over the color bar placement (#894).
- Changed the default provider in
geopandas.tools.geocode
from Google (now requires an API key) to Geocode.Farm (#907, #975).
Bug fixes:
- Remove the edge in the legend marker (#807).
- Fix the
align
method to preserve the CRS (#829). - Fix
geopandas.testing.assert_geodataframe_equal
to correctly compare left and right dataframes (#810). - Fix in choropleth mapping when the values contain missing values (#877).
- Better error message in
sjoin
if the input is not a GeoDataFrame (#842). - Fix in
read_postgis
to handle nullable (missing) geometries (#856). - Correctly passing through the
parse_dates
keyword inread_postgis
to the underlying pandas method (#860). - Fixed the shape of Antarctica in the included demo dataset 'naturalearth_lowres' (by updating to the latest version) (#804).
Acknowledgments
Thanks to everyone who contributed to this release! A total of 33 people contributed to this release. People with a "+" by their names contributed a patch for the first time.
- Andy Garfield +
- Benjamin Goldenberg +
- Brett Naul +
- Brian Lewis +
- Dmitry Nikolaev +
- Dr Martin Black +
- Filipe
- Geir Arne Hjelle
- Géraud +
- Henry Walshaw +
- James McBride
- Jesse Pisel +
- Joris Van den Bossche
- Joshua Wilson
- Justin Shenk +
- Kris Vanhoof +
- Leah Wasser +
- Levi John Wolf
- Martin Fleischmann +
- Matthieu Viry +
- Philipp Kats +
- Pratap Vardhan +
- Pulkit Maloo +
- Raphael Delhome +
- Sean Gillies
- Simon Andersson +
- TimoRoth +
- Yohann Rebattu +
- YuichiNotoya +
- byrman +
- lmmarsano +
- Émile Nadeau +
- Ömer Özak
Files
geopandas/geopandas-v0.5.0.zip
Files
(5.3 MB)
Name | Size | Download all |
---|---|---|
md5:c4de65551ff3afda48f005c1c5e5eee5
|
5.3 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/geopandas/geopandas/tree/v0.5.0 (URL)