geospatial-analysis

Computes NDVI maps and performs Moran's I analyses from geospatial data.

31|8|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/itallstartedwithaidea/agent-skills --skill geospatial-analysis-itallstartedwithaidea
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: geospatial-analysis
Source: https://github.com/itallstartedwithaidea/agent-skills/tree/main/skills/scientific-research/geospatial-analysis
Command: npx skills add https://github.com/itallstartedwithaidea/agent-skills --skill geospatial-analysis-itallstartedwithaidea

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires geopandas, rasterio, shapely, numpy, pysal, matplotlib, contextily.

What problem does it solve?

Geospatial analysis eliminates the friction of transforming raw satellite imagery and vector datasets into accurate, projection-safe GIS outputs with reliable spatial statistics and publication-ready maps.

Core Features & Use Cases

  • CRS-safe GIS workflows: Reproject and validate coordinate reference systems to prevent silent spatial errors.
  • Raster-to-indices to insights: Compute vegetation and water indices such as NDVI from multispectral rasters.
  • Spatial analytics for spatial dependence: Run spatial autocorrelation (e.g., Moran’s I) and interpret cluster vs dispersion patterns.
  • Cartographic-ready deliverables: Produce basemap-backed, publication-quality cartographic visualizations suitable for reporting.

Quick Start

Use the geospatial-analysis skill to reproject your raster and vector inputs to a common CRS, compute NDVI, join points to polygons, run Moran’s I on an attribute, and generate a labeled publication map.

Frequently Asked Questions about geospatial-analysis

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

FAQPage Schema
How do I compute NDVI from multispectral raster satellite imagery?

To compute NDVI from multispectral raster satellite imagery, use rasterio to process multispectral bands and calculate the vegetation index. This workflow transforms raw Earth observation data into actionable geospatial insights reproducibly.

What is the best way to align vector and raster data to prevent silent spatial errors?

The best way to align vector and raster data is by reprojecting all inputs to a common Coordinate Reference System (CRS). CRS validation ensures raster-vector interoperability and prevents silent spatial errors during overlay operations.

Can I run spatial autocorrelation analysis like Moran's I using geopandas?

Yes, you can run spatial autocorrelation analysis like Moran's I using geopandas alongside pysal. This combination tests for spatial dependence, evaluating cluster versus dispersion patterns with significance evaluation on your attribute data.

How do I create publication-ready maps with basemaps from vector GIS data?

To create publication-ready maps with basemaps from vector GIS data, apply matplotlib and contextily for cartographic rendering. This produces basemap-backed visualizations with publication-quality labeling suitable for professional reporting.

Does this geospatial workflow support spatial joins and buffer operations on vector data?

Yes, this geospatial workflow supports spatial joins and buffer operations on vector data using shapely and geopandas. It performs vector overlay and joins to integrate Earth observation data with administrative boundary datasets.

When do I need to validate coordinate reference systems for spatial statistics?

You need to validate coordinate reference systems before running spatial autocorrelation or overlay analysis. CRS alignment ensures accurate raster-vector interoperability and prevents silent spatial errors in distance and area calculations.