Geoskill: Impervious Surface Mapping

Estimate impervious surface fraction from multi-band satellite imagery (Sentinel-2) using spectral indices (NDBI, NDVI, MNDWI). Supports binary classification and continuous fracti…

ruiduobao

@ruiduobao

Install

$ openclaw skills install @ruiduobao/geoskill-impervious-surface-mapping

Impervious Surface Mapping

GIS/remote sensing workflow for estimating impervious surface fraction from multi-band satellite imagery. Uses spectral indices and sub-pixel estimation to produce continuous impervious fraction maps, with optional binary thresholding, zone aggregation, and change detection.

Trigger

Use when the user wants to:

  • Estimate impervious surface fraction from satellite imagery
  • Map built-up areas using NDBI and related spectral indices
  • Compute impervious ratios by street, community, or watershed
  • Compare impervious surface changes between years
  • Mask out water and vegetation before impervious analysis

CLI Usage

# Basic fraction estimation
python scripts/impervious_surface_mapping.py \
  --raster sentinel2.tif \
  --year 2024 \
  --mode fraction

# Binary classification with threshold
python scripts/impervious_surface_mapping.py \
  --raster sentinel2.tif \
  --year 2024 \
  --mode binary \
  --threshold 0.5

# Zone aggregation
python scripts/impervious_surface_mapping.py \
  --raster sentinel2.tif \
  --year 2024 \
  --mode fraction \
  --aggregation-layer watersheds.geojson

# Change detection
python scripts/impervious_surface_mapping.py \
  --raster sentinel2_2024.tif \
  --year 2024 \
  --compare-year 2020 \
  --raster-compare sentinel2_2020.tif \
  --mode fraction

Data Download

This skill can auto-fetch a Sentinel-2 L2A scene from the Microsoft Planetary Computer when given a bounding box + date range. The script picks the B04 (red) asset by default; you can change prefer_assets in the code to use visual for an RGB composite.

python scripts/impervious_surface_mapping.py \
  --bbox 116,39,117,40 \
  --date-range 2024-06-01,2024-06-30 \
  --output-dir ./impervious-output

The PYTHONPATH must include the parent of _geoskill_data_fetcher/ (the same directory the 50 skills live in). Set it once:

export PYTHONPATH="/path/to/行业Skill创意-20260727"

Parameters

ParameterDefaultDescription
--rasterrequiredMulti-band raster (Sentinel-2: B2,B3,B4,B8,B11)
--yearrequiredAnalysis year
--modefractionbinary or fraction
--training-dataNoneTraining samples GeoJSON (with impervious field)
--threshold0.5Threshold for binary mode
--aggregation-layerNoneZone layer GeoJSON for aggregation
--compare-yearNoneComparison year for change detection
--raster-compareNoneRaster for comparison year
--ndvi-mask0.6NDVI threshold to mask dense vegetation
--mndwi-mask0.0MNDWI threshold to mask water
--output-dir./impervious-outputOutput directory

Output

FileDescription
impervious_fraction.tifContinuous impervious fraction [0, 1]
impervious_binary.tifBinary impervious mask (1=impervious)
zones_summary.csvZone-level statistics (if aggregation-layer given)
change.tifChange raster (fraction difference)
accuracy.jsonAccuracy metrics (if training-data given)

Exit Codes

CodeMeaning
0Success
2Argument error
3Dependency missing
6Data validation failure
7Processing failure

Top skills in this category

Using Superpowers

@zlc000190

Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

6336k

novel-generator 是一个中文爽文小说生成技能。用户只需提供一句话方向(如"写个都市重生爽文"),AI 代理即可自动完善提示词、规划大纲、逐章创作并输出为独立 Markdown 文件。 核心特性: 智能提示词生成:从一句话方向自动补全世界观、人设、冲突、爽点设计 分章节创作:每章 2000-3000 字,层层递进,章章有爽点 记忆系统:通过 .learnings/ 记录角色、地点、情节、世界观,确保故事前后一致 情节图解:关键战斗、人物关系、势力分布自动生成 Mermaid 图 失败记录:穿帮、矛盾、崩塌等问题自动记录,持续优化 多题材支持:都市、修仙、玄幻、重生、系统流、末世、科幻、游戏 兼容 Claude Code、Cursor、OpenAI Codex、GitHub Copilot 等所有支持 Agent Skills 的工具。

@ityhg

根据用户提供的内容方向自动生成提示词并创作爽文小说。适用场景:(1) 用户提供小说方向/题材/关键词,(2) 需要生成章节连贯的长篇爽文,(3) 需要维护角色、地点、情节的连续性,(4) 需要为关键情节生成图解,(5) 需要记录生成失败场景以优化后续创作。支持都市、修仙、玄幻、重生、系统流等多种题材。Use wh...

7110k

simmer

@simmer

The prediction market interface for AI agents. Trade Polymarket and Kalshi through one API with self-custody wallets, safety rails, and smart context.

2310k

Smart Web Fetch

@leochens

智能网页抓取技能 - 替代内置 web_fetch,自动使用 Jina Reader / markdown.new / defuddle.md 清洗服务获取干净 Markdown。支持多级降级策略,大幅降低 Token 消耗。当 Agent 需要获取网页内容时使用本技能替代 web_fetch。

295.5k

AI Image Generation

@ivangdavila

Create AI images with GPT Image, Gemini Nano Banana, FLUX, Imagen, and top providers using prompt engineering, style control, and smart editing.

1212k