geopandas

Read, transform, analyze, and export geospatial vector data with GeoPandas.

4|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/shushuzn/Rairos --skill geopandas-shushuzn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: geopandas
Source: https://github.com/shushuzn/Rairos/tree/main/skills/geopandas
Command: npx skills add https://github.com/shushuzn/Rairos --skill geopandas-shushuzn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

GeoPandas solves the problem of working with geographic vector datasets by giving you a convenient, pandas-like workflow for spatial analysis, transformations, and file I/O instead of juggling low-level GIS tooling.

Core Features & Use Cases

  • Read and write common geospatial formats: Shapefiles, GeoJSON, GeoPackage, Parquet, and PostGIS workflows for moving between storage systems.
  • Perform spatial operations and analysis: Spatial joins, overlays, dissolves, clipping, buffering, buffering/simplifying geometry, and distance/area computations.
  • Manage coordinate reference systems (CRS) correctly: Reproject with to_crs for accurate measurements and ensure CRS compatibility for joins/overlays; set_crs when metadata is missing.
  • Visualize and publish maps: Produce static matplotlib/GeoPandas plots and interactive web maps for quick inspection and presentation.

Quick Start

Use the geopandas skill to load your GeoJSON file, reproject it to a projected CRS for accurate area calculations, compute polygon areas, and export the result to a GeoPackage.

Frequently Asked Questions about geopandas

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform a spatial join between two Shapefiles in Python?

A spatial join between Shapefiles merges geometries based on location. Use GeoPandas to load the files and merge them by intersecting geometry columns for combined attribute datasets.

What is the best way to reproject GeoJSON coordinates for accurate area calculations?

Reprojecting GeoJSON coordinates transforms them into a projected CRS for accurate area calculations. GeoPandas uses pyproj via the to_crs method to ensure precise geometric measurements.

Can I read and write GeoPackage files using pandas for spatial analysis?

You can read and write GeoPackage files using GeoPandas for spatial analysis. It extends pandas to handle geographic vector data across formats like GeoJSON, Shapefiles, and Parquet.

How does buffering and clipping work in geospatial vector data processing?

Buffering and clipping manipulate geospatial vector data by expanding geometries outward and cutting them to boundaries. GeoPandas handles both using Shapely geometry operations.

Why do my choropleth maps show incorrect CRS compatibility after a spatial join?

Choropleth maps show incorrect CRS compatibility after a spatial join when coordinate systems differ. Ensure both layers share the same projected CRS using GeoPandas to_crs before joining.

Do I need psycopg2 to connect GeoPandas to a PostGIS database?

You need psycopg2 or geoalchemy2 to connect GeoPandas to a PostGIS database. These dependencies enable reading and writing spatial vector data directly from Python workflows.