omh-geospatial-analysis
Skill này làm gì
Skill giao hai lớp dữ liệu địa lý, kiểm tra hệ tọa độ và hình học của chúng, rồi báo cáo diện tích chồng lấp đã đo kèm các tệp kết quả có thể tái lập. Dành cho nhà phân tích làm việc với dữ liệu bản đồ.
Khi nào nên dùng
- ✓Khi bạn cần tìm nơi hai lớp bản đồ chồng lên nhau.
- ✓Khi bạn muốn đo diện tích chồng lấp giữa hai bộ dữ liệu địa lý.
- ✓Khi bạn muốn kết quả có thể tái lập từ các tệp đầu ra đã lưu.
Liên kết skill
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-geospatial-analysis/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Giao hai lớp GeoJSON này trong hệ tọa độ mét và tính diện tích chồng lấp.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent kiểm tra hệ tọa độ và hình học của các lớp, chạy phép giao trong phép chiếu mét, rồi lưu kết quả dạng GeoJSON cùng diện tích đã đo. Agent không đoán khi thiếu hệ tọa độ.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Agent có tự đoán hệ tọa độ không?
Không. Skill yêu cầu hệ tọa độ phải được khai báo và sẽ dừng lại nếu thiếu.
Dữ liệu mẫu có phải là nghiên cứu thật không?
Không. Skill nói rõ ví dụ hình chữ nhật tích hợp là dữ liệu tổng hợp, không phải kết luận thực tế.
Skill có thể chỉ giải thích khái niệm bản đồ không?
Có, nhưng để chạy tính toán cần có các lớp dữ liệu và thông tin tọa độ.
Chi tiết
Mô tả gốc của tác giả
[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
Độ phổ biến
- Sao GitHub
- 5.1k
- Vị trí xếp hạng
- #15111
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
omh-accessibility-audit
5.1kGiúp agent của bạn kiểm tra màn hình hoặc luồng có khoảng trống về khả năng truy cập không, như dùng bàn phím, nhãn trình đọc màn hình, tương phản và vùng chạm.
omh-adversarial-consensus
5.1kGiúp agent của bạn tấn công một đề xuất kỹ thuật từ nhiều góc độ độc lập trước khi bạn cam kết, rồi tổng hợp những gì còn đứng vững.
omh-agent-debug
5.1kGiúp agent của bạn tìm hiểu vì sao một agent AI khác bị kẹt, lặp vòng hoặc trôi khỏi nhiệm vụ, và gợi ý cách phục hồi nhỏ nhất an toàn.
omh-agent-instructions
5.1kGiúp agent của bạn viết hoặc cập nhật tệp hướng dẫn, như AGENTS.md hoặc CLAUDE.md, để nói cho các công cụ AI cách làm việc trong một dự án.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.