geopandas
Skill by K-Dense-AI
Guides Python workflows that use GeoPandas GeoSeries, GeoDataFrame, spatial operations, and vector-data I/O. It includes local audit scripts for vector layers, CRS, geometry validity, joins, and exports.
Install geopandas
Built from the published package, never by AI.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/geopandas ~/.claude/skills/geopandasRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/scientific-agent-skills/skills/geopandas ~/.gemini/antigravity-cli/skills/geopandasAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives guidance and local audit tools for Python workflows that use GeoPandas GeoSeries, GeoDataFrame, spatial operations, and vector-data I/O. It targets stable GeoPandas 1.2.0 and pins a tested stack for Python 3.12 with uv. The guidance covers CRS handling, geometry validity, precision, spatial joins, overlay, and export checks.
The bundled command-line scripts run locally. They inventory vector layers, plan CRS transformations without executing them, report geometry validity, measure spatial join cardinality, and check export plans and sensitive coordinates. The skill is aimed at developers and analysts doing planar vector analysis who need reproducible, auditable results. It also sets privacy rules for exact coordinates and database secrets.
Written from the project's SKILL.md and checked against it.
What it can do
- vector_inventory.pyInventories a vetted local vector layer and retains source hashes.
- crs_reprojection_plan.pyInspects candidate CRS transformations. It plans only and does not run them.
- geometry_validity_report.pyAudits geometry validity and can simulate repair changes before any new output.
- spatial_join_audit.pyMeasures spatial join cardinality. It does not export joined features.
- export_plan.pyInspects a proposed output contract. A plan does not write a file.
- sensitive_coordinates_checklist.pyChecks derived geodata for sensitive locations before sharing or mapping.
- CRS and geometry guidanceExplains CRS metadata, units, antimeridian handling, precision, and topology repair rules.
What you need
- Python 3.12 or later
- uv
- Pinned GeoPandas 1.2.0 stack with NumPy, pandas, Shapely, pyproj, and pyogrio
Try asking
- Inventory this GeoPackage layer and record its source hash and row count.
- Check which geometries in my parcels file are invalid and explain why.
- Plan a CRS transformation for these points without running it yet.
Good to know
- The bundled CLIs are local-only.
- Planning tools do not write files or run transforms. Output must be executed separately.
- PostGIS and tile-provider calls were not exercised against a live service.
- Remote URLs, cloud paths, and address geocoding are not loaded automatically.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/geopandas/SKILL.md, skills/geopandas/scripts/_common.py, skills/geopandas/scripts/crs_reprojection_plan.py, skills/geopandas/scripts/export_plan.py, skills/geopandas/scripts/geometry_validity_report.py, skills/geopandas/scripts/sensitive_coordinates_checklist.py, skills/geopandas/scripts/spatial_join_audit.py, skills/geopandas/scripts/vector_inventory.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Read Write Bash Glob Grep
-
SKILL.md15 KB -
references/crs-management.md9 KB -
references/data-io.md14 KB -
references/data-structures.md7 KB -
references/geometric-operations.md10 KB
Show all 14 files
-
references/spatial-analysis.md10 KB -
references/visualization.md10 KB -
scripts/_common.py22 KB -
scripts/crs_reprojection_plan.py8 KB -
scripts/export_plan.py11 KB -
scripts/geometry_validity_report.py7 KB -
scripts/sensitive_coordinates_checklist.py9 KB -
scripts/spatial_join_audit.py13 KB -
scripts/vector_inventory.py4 KB
Alternatives to geopandas
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
geopandas: common questions
Which GeoPandas version does this skill target?
It targets stable GeoPandas 1.2.0, released 2026-09-28. The source says release-specific behavior was checked against the v1.2.0 source and wheel.
Can it load data from a URL or cloud bucket?
Not automatically. Loading a URL, cloud URI, GDAL /vsi path, or archive needs explicit approval, hash validation, and a staged local copy.
Does the audit tooling change my data?
The bundled CLIs are local-only. The reprojection and export tools only plan, and writing and reopening output is a separate step.
How do I install geopandas?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is geopandas free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is geopandas safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to geopandas?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
