omh-geospatial-analysis
できること
2つの地理レイヤーを重ね合わせ、座標系とジオメトリを確認したうえで、測定した重なりの面積を再現可能な出力ファイルとともに報告します。地図データを扱う分析担当者が対象です。
使う場面
- ✓2つの地図レイヤーがどこで重なるかを知りたいとき。
- ✓2つの地理データの重なりの面積を測りたいとき。
- ✓保存された出力ファイルから再現できる結果がほしいとき。
スキルのリンク
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-geospatial-analysis/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“これら2つのGeoJSONレイヤーを距離を測れる座標系で重ね、重なりの面積を計算してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは各レイヤーの座標系とジオメトリを確認し、距離を測れる投影法で重ね合わせを実行します。測定した面積を含む結果をGeoJSONで保存します。座標系が不明な場合は推測せず、処理を止めます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Geospatial Analysis
This is an OMH geospatial-analysis workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
Polygon computations can return plausible but wrong numbers when CRS, coordinate units or geometry are invalid. This skill couples fail-closed checks to a runnable optional overlay producer and inspectable replay artifacts.
First Steps
- Read
toolkit/README.mdandreferences/execution-and-qa.mdbefore executingtoolkit/scripts/analyze.py; installation and skill discovery never run it. - Confirm the two layers, explicit EPSG declarations, study extent, projected metre CRS, output directory and finite host timeout; never guess a missing CRS.
- Use the original synthetic rectangle fixture only for backend QA; do not describe it as a public flood, facility or site-suitability finding.
Do Not Use When
- The task only aggregates supplied tables or charts without coordinate computation; use
omh-data-analysis. - The task only needs source discovery or an explanation from documentation; use
omh-web-research. - The task is connecting a generic tool server, not executing a domain calculation; use Hermes' native MCP configuration guidance.
Examples
Good example:
- Prompt: Intersect these two GeoJSON layers in a metric CRS and compute overlap area.
- Expected behavior: Require authoritative source CRS, validate geometry, execute real intersection, then inspect result GeoJSON, measured summary and replay manifest.
- Why: A spatial computation has measurable geometry and units rather than a report-only output.
Bad example:
- Prompt: Explain the map metaphor in this essay and plot the existing CSV totals.
- Expected behavior: Answer the writing question or use
data-analysisfor the table; do not run a spatial backend. - Why: Map vocabulary alone does not establish a coordinate computation.
Completion Checklist
- Source declarations and metric target are explicit; invalid geometry is rejected, not silently repaired.
- The actual backend command and exit were observed; output GeoJSON, summary and manifest were read back and hashed, or the blocker is stated.
- Pair sums versus union area, projected measurement limits and synthetic versus public-world evidence remain distinct.
Recovery Notes
- If CRS is missing, stop and ask for the authoritative declaration; do not assign one based on numeric range.
- If dependencies are missing, return a nonzero failure and an explicit optional-environment setup recipe; never synthesize outputs.
- If geometry is invalid, report the failing layer and request approved preprocessing before rerunning; if output already exists, choose a new directory.
When to Use
Use when supplied polygon layers need actual intersection and measured overlap, not a narrative report or a decorative map.
Strong routing signals: `geospatial-analysis`, `geospatial overlay`, `spatial intersection`, `intersect geojson layers`, `compute overlap area`
Catalog Metadata
Category: analysis
Phase: spatial-computation
Quality tier: execution-evidence-gated
Reasoning demand: heavy
Quality bar:
- Require finite 2D polygon geometry, explicit CRS and projected metre axes before measuring.
- Record the real backend, exact versions, command, exit and output hashes; do not call direct libraries GIS-MCP.
- Verify synthetic fixture count and area independently, and never generalize fixture numbers to public-world risk.
Required inputs:
- input and overlay polygon layers
- explicit source and metric target CRS
- new output directory and execution budget
Expert clarification questions:
input and overlay polygon layers- English: Which two polygon layers, source permissions, and study extent define the overlap question?
- Korean: Which two polygon layers, source permissions, and study extent define the overlap question?
Expected outputs:
- result GeoJSON
- measured summary JSON
- replay and provenance manifest
Artifact expectations:
- Actual
result.geojsonin longitude/latitude OGC:CRS84; each positive-area pair carries source indices, original namespaced properties, area_m2 and perimeter_m. - Authored
geospatial_summary/v1insummary.json: result count, touch-only count, measurement CRS, pair sums, unique union area and explicit limitations. - Authored
geospatial_manifest/v1inmanifest.json: input/output hashes, actual direct backend versions, settings, timestamp, script dige
よくある質問
座標系を推測しますか?
いいえ。座標系の指定が必要で、指定がなければ処理を止めます。
付属のサンプルは実際の調査結果ですか?
いいえ。スキルに内蔵された長方形の例は合成データで、実際の調査結果ではないと明記されています。
地図の概念を説明するだけでも使えますか?
はい。ただし計算を実行するには、レイヤーと座標の詳細が必要です。
詳細
作者による元の説明
[omh] Spatial layers to intersect: execute CRS-safe polygon overlay with measured areas, validated geometry and reproducible GeoJSON outputs. Use when the user says: geospatial-analysis, geospatial overlay, spatial intersection, intersect geojson layers, compute overlap area.
repo: rlaope/oh-my-hermes
人気
- GitHubのスター
- 5.1k
- ランキング
- #15111
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
omh-accessibility-audit
5.1kエージェントが、画面やフローのアクセシビリティ上の不足(キーボードでの操作、スクリーンリーダーのラベル、コントラスト、タッチの対象の大きさなど)を確認できるよう支援します。
omh-adversarial-consensus
5.1kエージェントが、技術的な提案を、いくつかの独立した視点から攻撃して、それに踏み切る前に検証し、生き残った点を要約できるよう支援します。
omh-agent-debug
5.1kエージェントが、ほかのAIエージェントがなぜ止まっているか、ループしているか、方向を外れているかを突き止め、最も小さく安全な回復方法を提案できるよう支援します。
omh-agent-instructions
5.1kエージェントが、AIツールにプロジェクトでの作業方法を伝える指示ファイル(AGENTS.mdやCLAUDE.mdなど)を書いたり更新したりできるよう支援します。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。