← 返回 Skills 市场
openlang-cn

Gis

作者 openlang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
382
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install gis
功能描述
Helps with GIS concepts, spatial data formats, projections, and spatial analysis. Use when the user works with shapefiles, GeoJSON, coordinate reference syst...
使用说明 (SKILL.md)

\r \r

GIS(地理信息系统)\r

\r 本 Skill 聚焦于 GIS / 空间数据:数据格式、坐标参考系(CRS)、投影转换、空间索引与查询、以及常见 GIS 分析工作流。与 map Skill 偏重可视化与经纬度基础不同,gis 更侧重“数据与分析”。\r \r ---\r \r

何时使用\r

\r 当用户提到或需要:\r \r

  • Shapefile、GeoJSON、KML、GeoPackage 等空间数据格式\r
  • 坐标参考系(CRS)、EPSG 代码、投影转换(如 WGS84 ↔ Web Mercator)\r
  • 在数据库中进行空间查询(如 PostGIS、SpatiaLite 等)\r
  • 做缓冲区(buffer)、叠加(overlay)、裁剪(clip)、相交(intersect)等空间分析\r
  • 设计 GIS 数据处理/分析管线与最佳实践\r \r ---\r \r

空间数据格式(概念)\r

\r

  • Shapefile:一组相关文件(.shp/.shx/.dbf/...),存储矢量数据(点/线/面)及属性,广泛支持但有字段/字符集等限制。\r
  • GeoJSON:基于 JSON 的矢量数据格式,适合 Web 与 API;注意 coordinates 顺序通常为 [lon, lat]。\r
  • KML/KMZ:多用于地标/轨迹展示(与地球浏览器配合)。\r
  • GeoPackage(.gpkg):基于 SQLite 的容器,可同时存储矢量与栅格,逐渐成为现代通用格式。\r \r 回答时说明哪种更适合用户场景(Web 展示、分析作业、跨系统交换等),避免过深实现细节。\r \r ---\r \r

坐标参考系与投影\r

\r

  • 使用 EPSG 代码 标识 CRS(如 WGS84: EPSG:4326;Web Mercator: EPSG:3857)。\r
  • 回答中明确:\
    • 源 CRS(数据当前所用 CRS)。\
    • 目标 CRS(分析/展示所需 CRS)。\
  • 对于投影转换,建议使用专业库/工具:\
    • 桌面:QGIS、ArcGIS。\
    • 编程:proj/proj4、GDAL/OGR、常用语言的 GIS 包(如 Python 的 pyprojgeopandas)。

      不要手写复杂投影公式;给出“应调用的库与大致调用方式”,并强调坐标顺序与单位(度/米)。\r \r ---\r \r

空间数据库与查询\r

\r

  • 常见:PostGIS(PostgreSQL 扩展)、SpatiaLite(SQLite 扩展)、部分 NoSQL/搜索引擎的地理扩展。\r
  • 回答要点:\
    • 使用几何列(如 geometrygeography)。\
    • 借助空间索引(如 GIST/BRIN),提高查询性能。\
    • 常用函数:ST_DistanceST_IntersectsST_WithinST_BufferST_Union 等(以 PostGIS 为例)。

      具体 SQL 示例要与用户使用的数据库匹配,不混用不同系统的语法。\r \r ---\r \r

常见 GIS 分析操作(概念)\r

\r

  • Buffer:以要素为中心生成一定距离的缓冲区(如道路两侧 500m 范围)。\
  • Clip:用一个面要素裁剪另一个图层,只保留重叠部分。\
  • Intersect / Union / Difference:图层之间的空间叠加分析。\
  • Dissolve:按属性合并几何(如按行政区合并多个多边形)。

    回答时可说明使用哪些工具/库执行这些操作(如 QGIS 的菜单路径、GeoPandas/PostGIS 的函数),不必展开所有参数细节。\r \r ---\r \r

map Skill 的关系\r

\r

  • map:经纬度、距离、瓦片、Web/移动地图展示与交互。\
  • gis:空间数据格式、CRS/投影、空间查询与分析工作流。

    当问题偏“画地图/显示点/算简单距离”时优先用 map;当偏“如何存空间数据/做 buffer/叠加分析/CRS 转换”时用 gis。\r \r ---\r \r

使用原则\r

\r

  • 在回答中明确 坐标系、单位与坐标顺序,避免默认假设产生误导。\
  • 遇到需要高精度或特定标准的 GIS 任务时,建议结合官方文档与专门工具,而不是单纯依赖手算或近似公式。\
  • 关注性能:对大规模空间数据建议引入空间索引和批处理/分块处理策略。\r \r
安全使用建议
This is an instruction-only GIS helper and appears internally consistent and low-risk: it asks for no installs, credentials, or system access. Before installing, consider: (1) the skill may recommend commands or libraries—make sure you run those yourself from trusted package sources; (2) do not paste sensitive or private geodata into chat if you care about location privacy; and (3) for production GIS tasks, verify recommended SQL snippets and library versions against official docs (PostGIS/GDAL/pyproj) before applying to real data.
功能分析
Type: OpenClaw Skill Name: gis Version: 1.0.0 The skill bundle provides conceptual guidance and best practices for Geographic Information Systems (GIS) tasks, covering data formats, coordinate reference systems, and spatial analysis workflows. It contains no executable code, network requests, or instructions that deviate from its stated purpose. Files reviewed: SKILL.md, _meta.json.
能力评估
Purpose & Capability
Name and description match the contents of SKILL.md: guidance on formats, CRS/projections, spatial queries and workflows. No unrelated credentials, binaries, or host access are requested.
Instruction Scope
SKILL.md contains high-level, scope-limited instructions (recommend libraries and functions, explain concepts). It does not instruct reading arbitrary files, accessing environment variables, uploading data to external endpoints, or running commands on the host.
Install Mechanism
No install specification or code files are present (instruction-only), so nothing will be written to disk or fetched during install.
Credentials
The skill declares no required environment variables, credentials, or config paths; suggestions in SKILL.md (e.g., using GDAL, PostGIS) are appropriate references and do not imply secret access.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request persistent presence or modify other skills. Autonomous invocation is allowed by default but is not combined with any broad privileges here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gis
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gis 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the GIS skill, focused on concepts such as spatial data formats, coordinate reference systems, projections, spatial indexing, and spatial analysis workflows. - Provides targeted guidance for shapefiles, GeoJSON, KML, GeoPackage, and spatial queries in databases like PostGIS and SpatiaLite. - Helps select suitable data formats and workflows for web display, analysis, and cross-system data exchange. - Clarifies when to use coordinate reference systems and projection transformations, suggesting relevant libraries and tools. - Outlines common GIS analysis tasks (buffer, clip, intersect, dissolve) and the relationship and distinction between `gis` and `map` skills.
元数据
Slug gis
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Gis 是什么?

Helps with GIS concepts, spatial data formats, projections, and spatial analysis. Use when the user works with shapefiles, GeoJSON, coordinate reference syst... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 382 次。

如何安装 Gis?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gis」即可一键安装,无需额外配置。

Gis 是免费的吗?

是的,Gis 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Gis 支持哪些平台?

Gis 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Gis?

由 openlang(@openlang-cn)开发并维护,当前版本 v1.0.0。

💬 留言讨论