GeoPandas extends pandas with support for geospatial data types and operations, enabling spatial analysis and geographic data manipulation in Python. Built on shapely, fiona, and pyproj, GeoPandas provides GeoDataFrame and GeoSeries structures that seamlessly integrate spatial geometries with tabular data. This makes it the go-to library for reading geospatial file formats, performing coordinate transformations, executing spatial joins and overlays, and creating publication-quality maps.
What This Cheat Sheet Covers
This topic spans 17 focused tables and 168 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.
Installation & SetupReading & Writing FilesGeoDataFrame & GeoSeries BasicsCoordinate Reference Systems (CRS)Geometry Types & CreationSpatial Relationships & PredicatesSpatial JoinsOverlay OperationsGeometric ManipulationsDistance & ProximityAdvanced Geometric OperationsSpatial Indexing & PerformanceGeocoding & Address OperationsVisualization & PlottingMerging & Joining DataIntegration with Other LibrariesCommon Workflows
Installation & Setup
| Technique/Type/Command | Example | Description |
|---|---|---|
pip install geopandas | Installs GeoPandas with core dependencies (shapely, fiona, pyproj) | |
pip install geopandas[pyogrio] | Installs with pyogrio for faster I/O vs fiona | |
import geopandas as gpd | Standard import convention for GeoPandas |