geomaster

Perform geospatial analysis, remote sensing, and spatial machine learning across eight programming languages.

Updated Oct 7, 2022
One-click install
npx skills add https://github.com/tamagusko/linux-cfg --skill geomaster-tamagusko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: geomaster
Source: https://github.com/tamagusko/linux-cfg/tree/main/dotfiles/claude/skills/geomaster
Command: npx skills add https://github.com/tamagusko/linux-cfg --skill geomaster-tamagusko

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gdal, rasterio, fiona, shapely, pyproj, geopandas, rsgislib, torchgeo, earthengine-api, osmnx, pystac-client, planetary-computer, dask-geopandas, rioxarray, and includes references (resource) components.

What problem does it solve? Working with geospatial data requires navigating dozens of libraries, coordinate systems, satellite data sources, and analysis techniques. This Skill consolidates remote sensing, GIS operations, spatial statistics, and Earth observation machine learning into one reference with 500+ runnable code examples, eliminating the need to search across fragmented documentation. ## Core Features & Use Cases - Remote Sensing Workflows: Process Sentinel, Landsat, MODIS, SAR, and hyperspectral imagery, compute spectral indices like NDVI/EVI/NDWI, and run cloud masking and classification pipelines. - Vector and Raster Analysis: Perform spatial joins, overlays, buffering, terrain analysis, network routing, and coordinate transformations with GeoPandas, Rasterio, GDAL, and Shapely. - Cloud-Native and Big Data Processing: Query STAC catalogs, stream Cloud-Optimized GeoTIFFs, use Google Earth Engine and Planetary Computer, and scale with Dask, GPU acceleration, and Zarr. - Use Case: A researcher needs to map flood risk for a region. They use this Skill to download Sentinel-2 imagery via STAC, calculate NDWI, delineate watersheds from a DEM, and overlay exposed settlements to produce a risk map. ## Quick Start Ask the AI to calculate NDVI from a Sentinel-2 image and export the result as a Cloud-Optimized GeoTIFF.

Frequently Asked Questions about geomaster

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

FAQPage Schema
How do I calculate NDVI from Sentinel-2 imagery in Python?

Read bands B04 (red) and B08 (NIR) with Rasterio, then compute NDVI as (NIR - red) / (NIR + red). Write the result as a single-band float32 GeoTIFF using the source profile with updated count and dtype.

What Python libraries should I use for geospatial analysis?

Use GeoPandas and Shapely for vector operations, Rasterio and GDAL for raster I/O, and PyProj for coordinate transformations. For remote sensing and ML, add TorchGeo, RSGISLib, and the Earth Engine API.

Why are my area and distance calculations wrong in GeoPandas?

Calculations in a geographic CRS like EPSG:4326 return degrees, not meters. Reproject to a projected CRS first using gdf.to_crs(gdf.estimate_utm_crs()), and never use Web Mercator (EPSG:3857) for measurements.

Can I process satellite imagery without downloading full scenes?

Yes. Query STAC catalogs with pystac-client, sign items with planetary-computer, and load only the bands and bounding box you need via odc.stac. Cloud-Optimized GeoTIFFs also support windowed partial reads directly from S3.

How do I handle rasters too large for memory?

Read rasters in windows using Rasterio's block_windows, or wrap them in Dask arrays with da.from_rasterio for chunked lazy processing. Dask-GeoPandas provides the same partitioned approach for large vector datasets.