← 返回 Skills 市场
126
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install address2lnglat
功能描述
调用百度地图开放平台API,将地名批量转换为BD-09(百度)经纬度坐标,自动搜索地点 → 用户填入AK → 批量爬取坐标 → 保存CSV+JSON → 直接发送给用户。坐标保留6位小数,无需转换。
使用说明 (SKILL.md)
address2lnglat v4
通过百度地图开放平台 API,将地名批量转换为 BD-09(百度)坐标。
坐标系说明
| 坐标系 | 说明 | 用途 |
|---|---|---|
| BD-09 | 百度坐标系(本工具输出) | 直接用于百度地图相关业务 |
| GCJ-02 | 火星坐标系 | 高德/腾讯/Google地图等 |
⚠️ 百度地图 API 直接返回 BD-09 坐标,无需任何转换。
工作流程
- 用户输入关键词(如"天津赏花地点")
- AI 搜索并总结所有相关地点名称列表
- 提示用户提供百度地图 AK 和限制城市
- 运行 Python 脚本,调用百度 Place API 获取 BD-09 坐标
- 保存为 CSV + JSON 文件
- 直接发送 CSV 文件给用户
依赖
- Python 3.x
requests库(pip install requests)
使用方法
python geocoder.py 天津赏花地点
脚本会依次提示:
- 输入百度地图 AK
- 是否限制在城市内搜索
输出字段
| 字段 | 说明 |
|---|---|
| 序号 | 编号 |
| 名称 | 地点名称 |
| 详细地址 | 结构化地址 |
| BD-09经度 | 百度坐标经度(6位小数) |
| BD-09纬度 | 百度坐标纬度(6位小数) |
| 坐标来源 | place_api / geocoding_api |
| 类型 | 地点类型(景点/学校等) |
| 置信度 | 匹配置信度评分 |
| 状态 | 成功/失败 |
百度AK申请
- 访问 百度地图开放平台
- 注册开发者账号 → 进入「控制台」→「我的应用」
- 创建「浏览器端应用」→ 复制 AK
- 确保已开通「地理编码」服务(免费6000次/天)
安全使用建议
This skill appears to do exactly what it says: batch geocode using Baidu Map APIs. Before installing or running it, (1) only provide your Baidu AK when you trust the runtime/agent — treat the AK like a secret and don't paste it into untrusted UIs; (2) be aware results are saved as CSV/JSON in the current directory; review the small Python script yourself (it is included) and run it in a controlled environment; (3) install only the 'requests' package (pip install requests) if needed; (4) check your Baidu AK quotas and restrict key usage (referrers/IPs) in the Baidu console per best practices. If you expect the agent itself to 'search' the web for place names, confirm whether you want the agent to perform those broader web actions — the executable script itself only queries Baidu APIs and requires interactive AK input.
功能分析
Type: OpenClaw Skill
Name: address2lnglat
Version: 1.0.0
The skill bundle is a legitimate utility for geocoding addresses using the Baidu Maps API. The Python script (geocoder.py) and instructions (SKILL.md) follow a transparent workflow: prompting the user for an API key, performing searches via official Baidu endpoints (api.map.baidu.com), and saving the results locally as CSV/JSON files without any evidence of data exfiltration, obfuscation, or malicious intent.
能力评估
Purpose & Capability
Name/description claim (batch-convert addresses to BD-09 via Baidu API) matches the included Python script and SKILL.md. The tool only calls Baidu Place and Geocoding APIs and saves results locally; no unrelated services or credentials are requested.
Instruction Scope
SKILL.md and script are largely aligned: both describe searching via Baidu Place API and saving CSV/JSON. Minor wording difference: SKILL.md mentions the AI 'search and summarize' step — the executable script performs searches via Baidu APIs rather than performing independent web scraping. The script prompts interactively for the AK and city-limit flag; it does not read other system files or environment variables.
Install Mechanism
No install spec; this is instruction+script only. Runtime dependency is the public 'requests' Python package (pip). No downloads from unknown URLs or extracted archives are present.
Credentials
No environment variables or external credentials are declared; the script asks the user at runtime to input their Baidu AK (no automatic exfiltration). The requested credential (Baidu AK) is directly proportional to the stated purpose.
Persistence & Privilege
Skill is not always-on and does not modify other skills or system-wide configs. It writes output files to the local working directory only and does not attempt to persist itself or escalate privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install address2lnglat - 安装完成后,直接呼叫该 Skill 的名称或使用
/address2lnglat触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of address2lnglat.
- Batch converts place names to BD-09 coordinates using Baidu Maps API.
- Prompts user for Baidu Map AK and city restriction.
- Outputs results as CSV and JSON with 6-decimal BD-09 coordinates.
- Includes fields like place name, structured address, source, type, confidence, and status.
- No manual coordinate system conversion needed.
元数据
常见问题
address2lnglat 是什么?
调用百度地图开放平台API,将地名批量转换为BD-09(百度)经纬度坐标,自动搜索地点 → 用户填入AK → 批量爬取坐标 → 保存CSV+JSON → 直接发送给用户。坐标保留6位小数,无需转换。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 126 次。
如何安装 address2lnglat?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install address2lnglat」即可一键安装,无需额外配置。
address2lnglat 是免费的吗?
是的,address2lnglat 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
address2lnglat 支持哪些平台?
address2lnglat 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 address2lnglat?
由 ggyybb(@ggyybb)开发并维护,当前版本 v1.0.0。
推荐 Skills