geopandas

Read and write geospatial vector data formats and perform spatial analysis.

Updated Jan 10, 2026
One-click install
npx skills add https://github.com/robinbarvaag/poynt --skill geopandas-robinbarvaag
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: geopandas
Source: https://github.com/robinbarvaag/poynt/tree/main/.github/skills/geopandas
Command: npx skills add https://github.com/robinbarvaag/poynt --skill geopandas-robinbarvaag

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires geopandas, shapely, fiona, pyproj, pandas, matplotlib, folium, mapclassify, pyarrow, psycopg2, geoalchemy2, contextily, cartopy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies complex geospatial data analysis and manipulation, making it accessible for tasks ranging from basic mapping to advanced spatial operations.

Core Features & Use Cases

  • Geospatial Data Handling: Read, write, and manipulate vector data formats like Shapefiles, GeoJSON, and GeoPackage.
  • Spatial Analysis: Perform operations like buffering, spatial joins, overlay analysis, and dissolve.
  • Visualization: Create static and interactive maps for data exploration and presentation.
  • Use Case: Analyze the spatial relationship between customer locations (points) and store service areas (polygons) to identify underserved regions.

Quick Start

Use the geopandas skill to read the attached file 'data.geojson' and print the first 5 rows.

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 points and polygons in Python?

A spatial join links point and polygon geometries by comparing their geographic relationships. You can perform spatial joins alongside buffering and overlay analysis to identify intersecting features, such as finding which service areas contain specific customer locations.

Can I read and write GeoJSON and Shapefile formats for geospatial vector data?

Yes, you can read and write vector data formats like Shapefiles, GeoJSON, and GeoPackage. The Skill handles geospatial data manipulation by utilizing fiona for file I/O and shapely for geometric operations, ensuring your spatial data is loaded and saved correctly.

What is the best way to manage coordinate reference systems for spatial analysis?

Managing coordinate reference systems involves transforming geometries to ensure accurate distance and area calculations during spatial analysis. The Skill uses pyproj to handle CRS management, allowing you to reproject vector data accurately before performing operations like buffering or overlay.

How do I create interactive maps from a GeoDataFrame?

You can create interactive maps from a GeoDataFrame using folium, or generate static maps with matplotlib. The Skill supports visualization workflows that allow you to explore and present geospatial data by rendering geographic features directly from your analyzed vector data.

Do I need pandas installed to work with geospatial data?

Yes, pandas is required as it provides the foundational tabular data structure for geospatial operations. The Skill builds upon pandas DataFrames to handle attribute data alongside shapely geometries, enabling standard data analysis combined with spatial operations.

Does this approach support connecting directly to a PostGIS database?

Yes, it supports connecting to PostGIS databases using psycopg2 and geoalchemy2. This allows you to read spatial data directly from a geographic information system database, perform spatial analysis locally, and write results back without intermediate file exports.