geopandas/geopandas: v0.7.0
Creators
- 1. Planet Labs
- 2. @textileio
- 3. Nextbridge Analytics
- 4. Mapbox
- 5. City of Athens, Alabama, USA
- 6. @kLabUM , @ESIPFed
- 7. Academia
Description
Support for Python 2.7 has been dropped. GeoPandas now works with Python >= 3.5.
The important API change of this release is that GeoPandas now requires PROJ > 6 and pyproj > 2.2, and that the .crs
attribute of a GeoSeries and GeoDataFrame no longer stores the CRS information as a proj4 string or dict, but as a pyproj.CRS
object (#1101).
This gives a better user interface and integrates improvements from pyproj and PROJ 6, but might also require some changes in your code. Check the migration guide in the documentation.
Other API changes:
- The
GeoDataFrame.to_file
method will now also write the GeoDataFrame index to the file, if the index is named and/or non-integer. You can use theindex=True/False
keyword to overwrite this default inference (#1059).
New features and improvements:
- A new
geopandas.clip
function to clip a GeoDataFrame to the spatial extent of another shape (#1128). - The
geopandas.overlay
function now works for all geometry types, including points and linestrings in addition to polygons (#1110). - The
plot()
method gained support for missing values (in the column that determines the colors). By default it doesn't plot the corresponding geometries, but using the newmissing_kwds
argument you can specify how to style those geometries (#1156). - The
plot()
method now also supports plotting GeometryCollection and LinearRing objects (#1225). - Added support for filtering with a geometry or reading a subset of the rows in
geopandas.read_file
(#1160). - Added support for the new nullable integer data type of pandas in
GeoDataFrame.to_file
(#1220).
Bug fixes:
GeoSeries.reset_index()
now correctly results in a GeoDataFrame instead of DataFrame (#1252).- Fixed the
geopandas.sjoin
function to handle MultiIndex correctly (#1159). - Fixed the
geopandas.sjoin
function to preserve the index name of the left GeoDataFrame (#1150).
Acknowledgments
Thanks to everyone who contributed to this release! A total of 12 people contributed patches to this release. People with a "+" by their names contributed a patch for the first time.
- Alan D. Snow
- Aleksey Bilogur
- Ardie Orden +
- Brendan Ward +
- Brett Naul
- James McBride
- Joris Van den Bossche
- Leah Wasser
- Martin Fleischmann
- Mike Taves
- jess +
- sangarshanan +
Files
geopandas/geopandas-v0.7.0.zip
Files
(5.7 MB)
Name | Size | Download all |
---|---|---|
md5:d07d614900204ed3299ba127cb2f7671
|
5.7 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/geopandas/geopandas/tree/v0.7.0 (URL)