Skip to content

Python library for vector geospatial work with reprojection, spatial joins, overlays, and mapping.

CCM score
65 of 100
skills.sh installs
411
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers reading, writing, and analyzing vector data in Shapefile, GeoJSON, GeoPackage, PostGIS, and Parquet formats
  • Includes geometric operations (buffer, simplify, centroid, affine transforms), spatial joins, overlay, dissolve, and clipping
  • Provides static choropleth plots and interactive maps, with optional folium, matplotlib, and cartopy integration
  • Designed for analysts who need CRS-aware spatial operations, with guidance to use projected CRS for area and distance

Install

$ npx -y skills add davila7/claude-code-templates --skill geopandas -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

GeoPandas

GeoPandas extends pandas to enable spatial operations on geometric types. It combines the capabilities of pandas and shapely for geospatial data analysis.

Installation

uv pip install geopandas

Optional Dependencies

# For interactive maps
uv pip install folium

# For classification schemes in mapping
uv pip install mapclassify

# For faster I/O operations (2-4x speedup)
uv pip install pyarrow

# For PostGIS database support
uv pip install psycopg2
uv pip install geoalchemy2

# For basemaps
uv pip install contextily

# For cartographic projections
uv pip install cartopy

Quick Start

import geopandas as gpd

# Read spatial data
gdf = gpd.read_file("data.geojson")

# Basic exploration
print(gdf.head())
print(gdf.crs)
print(gdf.geometry.geom_type)

# Simple plot
gdf.plot()

# Reproject to different CRS
gdf_projected = gdf.to_crs("EPSG:3857")

# Calculate area (use projected CRS for accuracy)
gdf_projected['area'] = gdf_projected.geometry.area

# Save to file
gdf.to_file("output.gpkg")

Core Concepts

Data Structures

Details

Repository
github.com/davila7/claude-code-templates
Categories
Data Science & Analytics, Python
First seen
Jun 3, 2026

Questions

What does the geopandas skill do for Claude Code?

The geopandas skill helps an agent work with geospatial vector data such as shapefiles, GeoJSON and GeoPackage files. It covers spatial joins, overlay operations, dissolving boundaries, clipping, buffer analysis, reprojecting coordinate systems and creating choropleth or interactive maps.

Who should use the geopandas skill?

It is aimed at developers and analysts who work with geographic data in Python for spatial analysis, mapping or converting between spatial file formats. It also fits tasks that connect to PostGIS databases or integrate with matplotlib, folium and cartopy.

How do I install the geopandas skill?

Run npx -y skills add davila7/claude-code-templates --skill geopandas -y in your project. After that, the agent can read and write spatial files and run geometric and spatial operations with GeoPandas.

What does the geopandas skill need to run?

The skill relies on the GeoPandas Python library, installed with uv pip install geopandas. Optional extras add support for interactive maps, classification schemes, faster Arrow-based I/O, PostGIS, basemaps and cartographic projections.

Where does the geopandas skill stand in Data Science & Analytics?

The geopandas skill sits in the Data Science & Analytics category on Claude Marketplaces, alongside azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. Its focus is spatial vector data, which those skills do not cover.

More from davila7/claude-code-templates

All 398

Similar to Geopandas

More Data Science & Analytics