address2lnglat

v1.0.0

调用百度地图开放平台API,将地名批量转换为BD-09(百度)经纬度坐标,自动搜索地点 → 用户填入AK → 批量爬取坐标 → 保存CSV+JSON → 直接发送给用户。坐标保留6位小数,无需转换。

0· 119·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for ggyybb/address2lnglat.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "address2lnglat" (ggyybb/address2lnglat) from ClawHub.
Skill page: https://clawhub.ai/ggyybb/address2lnglat
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install address2lnglat

ClawHub CLI

Package manager switcher

npx clawhub@latest install address2lnglat
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

latestvk97asqg4bxetwe29a1hntj91wx842mtg
119downloads
0stars
1versions
Updated 3w ago
v1.0.0
MIT-0

address2lnglat v4

通过百度地图开放平台 API,将地名批量转换为 BD-09(百度)坐标

坐标系说明

坐标系说明用途
BD-09百度坐标系(本工具输出)直接用于百度地图相关业务
GCJ-02火星坐标系高德/腾讯/Google地图等

⚠️ 百度地图 API 直接返回 BD-09 坐标,无需任何转换。

工作流程

  1. 用户输入关键词(如"天津赏花地点")
  2. AI 搜索并总结所有相关地点名称列表
  3. 提示用户提供百度地图 AK 和限制城市
  4. 运行 Python 脚本,调用百度 Place API 获取 BD-09 坐标
  5. 保存为 CSV + JSON 文件
  6. 直接发送 CSV 文件给用户

依赖

  • Python 3.x
  • requests 库(pip install requests

使用方法

python geocoder.py 天津赏花地点

脚本会依次提示:

  1. 输入百度地图 AK
  2. 是否限制在城市内搜索

输出字段

字段说明
序号编号
名称地点名称
详细地址结构化地址
BD-09经度百度坐标经度(6位小数)
BD-09纬度百度坐标纬度(6位小数)
坐标来源place_api / geocoding_api
类型地点类型(景点/学校等)
置信度匹配置信度评分
状态成功/失败

百度AK申请

  1. 访问 百度地图开放平台
  2. 注册开发者账号 → 进入「控制台」→「我的应用」
  3. 创建「浏览器端应用」→ 复制 AK
  4. 确保已开通「地理编码」服务(免费6000次/天)

Comments

Loading comments...