ACTION_GEOCODE
Convert addresses to latitude/longitude or reverse-geocode coordinates into addresses using OpenStreetMap Nominatim for mapping and location-based automation.
Instructions
地址与经纬度互查(OpenStreetMap Nominatim,免 key)(需网络)。输出:geocode_success, geocode_error, latitude, longitude, address。地址查询取第一个结果写 latitude/longitude,逆查写 address,会覆盖同名变量(如 ACTION_GET_LOCATION 写的 latitude/longitude)。境外第三方服务,可能慢或不可达;连接/读取超时固定各 10 秒。。字符串参数支持 ${var} 插值;结果以变量快照 JSON 返回。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | 地址 → 查经纬度,支持 ${var};与坐标同时给时优先用地址 | |
| require | No | 执行后要求为 true 的变量名(如 click_success),不满足按出错处理 | |
| latitude | No | 纬度 → 逆查地址,支持 ${var};不给 address 时与 longitude 一起必填 | |
| on_error | No | 节点出错时:skip=跳过继续(默认),stop=停止整个工作流 | |
| longitude | No | 经度 → 逆查地址,支持 ${var};不给 address 时与 latitude 一起必填 | |
| node_timeout_ms | No | 单节点超时毫秒,0=不限;默认 30 分钟 |