geopandas-gis

Load, reproject, transform, and combine geospatial layers with GeoPandas.

33|6|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill geopandas-gis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: geopandas-gis
Source: https://github.com/xjtulyc/awesome-rosetta-skills/tree/main/skills/04-earth-science/geopandas-gis
Command: npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill geopandas-gis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires geopandas, pandas, numpy, shapely, pyproj, matplotlib, rasterio, rasterstats, requests, fiona.

What problem does it solve?

GeoPandas-GIS helps you analyze spatial vector data without stitching together separate tools, by providing a unified workflow for reading, reprojecting, transforming, joining, summarizing, and visualizing geospatial datasets.

Core Features & Use Cases

  • Vector GIS operations: load and save vector files, manage CRS, clip to bounding boxes, and run overlays/intersections.
  • Spatial analysis primitives: nearest-neighbor and within predicates for spatial joins, buffering with optional dissolve, and geometry-based processing.
  • Raster-vector integration: compute polygon-wise raster statistics via rasterio/rasterstats and produce choropleth maps for reporting.
  • Use case: enrich administrative regions (e.g., districts) with nearby features (e.g., parcels or water bodies), compute area/length and attribute summaries, then publish a choropleth of a derived metric.

Quick Start

Use the geopandas-gis skill to compute a choropleth from your polygon dataset by joining or overlaying other spatial layers, summarizing a numeric attribute per region, and rendering it with a GeoPandas plot.

Frequently Asked Questions about geopandas-gis

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

FAQPage Schema
How do I perform a spatial join to find which polygon contains a point using GeoPandas?

To perform a spatial join in GeoPandas, use the within or nearest-neighbor predicates to link point geometries to their containing polygons. This enriches administrative regions with nearby features by appending attributes from one layer to another based on spatial relationships.

Why do my GeoPandas area and distance calculations return incorrect values?

GeoPandas area and distance calculations return incorrect values when using a geographic CRS instead of a projected CRS. You must reproject your geometries to a consistent projected coordinate reference system before computing distances or areas to ensure accurate spatial measurements.

Can I compute raster statistics within polygon boundaries using GeoPandas?

You can compute polygon-wise raster statistics in GeoPandas by integrating rasterio and rasterstats. This raster-vector integration calculates zonal statistics for each polygon boundary, allowing you to summarize continuous raster data into discrete administrative regions.

What is the best way to enrich administrative districts with nearby water body attributes?

The best way to enrich administrative districts with nearby water body attributes is using GeoPandas overlay intersections and spatial joins. This workflow combines geometries from multiple layers, computes spatial relationships, and appends relevant attributes for regional analysis.

Does GeoPandas support buffering and dissolving overlapping geometries simultaneously?

GeoPandas supports buffering with optional dissolve operations to merge overlapping geometries simultaneously. This geometry-based processing expands feature boundaries by a specified distance and combines intersecting polygons into single unified shapes.