360 Secure SkillHub
360 安全技能中心

Geospatial Agent

核心涵盖12项地理空间工具,含地理编码、路线规划、天气查询、航班追踪等,每项调用按0.003-0.05USDC微付费。适用于旅行规划、物流配送、位置情报、航班追踪等场景。通过bash脚本发起POST请求传参,输出含可读格式的坐标、距离等数据。

plagtech
plagtech
热度 16.56
最近更新 2026-06-08 07:44:16
分类:生活依赖:第三方 API / 代码执行应用场景:旅行 / 数据处理 / 工作流 / 推荐

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add geospatial-x402
Metadata
name
geospatial-x402
description
12-tool geospatial agent — geocoding, routing, weather, flight status, airports, elevation, POI search, distance matrix, and timezone via x402.
version
1.0.0
homepage
https://github.com/plagtech/geospatial-skill
metadata
{"openclaw":{"primaryEnv":"RESEARCH_API_KEY","envVars":[{"name":"RESEARCH_API_KEY","required":true,"description":"API key or x402 subscription key for the gateway."},{"name":"RESEARCH_GATEWAY_URL","required":false,"description":"Gateway URL. Defaults to https://gateway.spraay.app"}],"requires":{"bins":["curl","python3"]}}}

Geospatial Agent

12 location-aware endpoints for geocoding, routing, weather, flights, elevation, POI discovery, and more. Each call is a real x402 micropayment ($0.003–$0.05 USDC).

How to call endpoints

All geospatial endpoints are POST. Use the helper script:

bash {baseDir}/scripts/geo.sh POST /api/v1/geo/ENDPOINT '{"key":"value"}'

Workflow strategies

Travel planning — geocode the destination, get weather, find nearby POI, calculate routes between stops, check flight status if flying.

Logistics / delivery — use distance-matrix for fleet dispatch, isochrone for coverage areas, nearby for pickup/drop points.

Location intelligence — geocode an address, get elevation and timezone, find nearby amenities, pull census demographics (pair with the deep-research-x402 skill).

Flight tracking — get flight-status by flight number, airport-info for gate/terminal details.

Always return coordinates, distances, and durations in human-readable format alongside raw numbers.

Available endpoints (12 tools)

Geocoding

Geocode — $0.005 Convert an address or place name to lat/lng coordinates.

bash {baseDir}/scripts/geo.sh POST /api/v1/geo/geocode '{"address":"1600 Pennsylvania Ave, Washington DC"}'

Reverse Geocode — $0.005 Convert lat/lng coordinates to a street address.

bash {baseDir}/scripts/geo.sh POST /api/v1/geo/reverse-geocode '{"lat":38.8977,"lng":-77.0365}'

Routing & Distance

Route — $0.01 Turn-by-turn directions between waypoints with distance and duration. Supports driving, cycling, and walking.

bash {baseDir}/scripts/geo.sh POST /api/v1/geo/route '{"origin":"Los Angeles, CA","destination":"San Francisco, CA","mode":"driving"}'

Distance Matrix — $0.02 Distance and duration matrix between multiple origin-destination pairs. Useful for fleet dispatch and nearest-facility analysis.

bash {baseDir}/scripts/geo.sh POST /api/v1/geo/distance-matrix '{"origins":["Los Angeles, CA","San Diego, CA"],"destinations":["San Francisco, CA","Sacramento, CA"]}'

Isochrone — $0.02 Reachability polygon — the area reachable within N seconds from a point. Great for delivery zones and coverage mapping.

bash {baseDir}/scripts/geo.sh POST /api/v1/geo/isochrone '{"lat":34.0522,"lng":-118.2437,"seconds":1800}'

Weather

Current Weather — $0.01 Current conditions and 24-hour forecast at any coordinates. Temperature, wind, humidity, precipitation.

bash {baseDir}/scripts/geo.sh POST /api/v1/geo/weather '{"lat":34.0522,"lng":-118.2437}'

Weather Alerts — $0.01 Severe weather alerts at coordinates — storms, floods, heat, wind advisories.

bash {baseDir}/scripts/geo.sh POST /api/v1/geo/weather-alerts '{"lat":34.0522,"lng":-118.2437}'

Aviation

Flight Status — $0.05 Real-time flight status including departure/arrival times, gates, aircraft type, and delays.

bash {baseDir}/scripts/geo.sh POST /api/v1/geo/flight-status '{"flight":"AA100"}'

Airport Info — $0.03 Airport details — location, timezone, elevation, IATA/ICAO codes, country.

bash {baseDir}/scripts/geo.sh POST /api/v1/geo/airport-info '{"iata":"LAX"}'

Discovery & Terrain

Nearby POI — $0.005 Find points of interest near coordinates — restaurants, gas stations, hospitals, parks, and more.

bash {baseDir}/scripts/geo.sh POST /api/v1/geo/nearby '{"lat":34.0522,"lng":-118.2437,"type":"restaurant"}'

Elevation — $0.003 Terrain elevation at one or more coordinates. SRTM 30m resolution.

bash {baseDir}/scripts/geo.sh POST /api/v1/geo/elevation '{"coordinates":[{"lat":34.0522,"lng":-118.2437}]}'

Timezone — $0.003 Country and timezone info at coordinates.

bash {baseDir}/scripts/geo.sh POST /api/v1/geo/timezone '{"lat":34.0522,"lng":-118.2437}'

Cost reference

Endpoint Cost
Geocode / Reverse Geocode $0.005
Nearby POI $0.005
Elevation $0.003
Timezone $0.003
Route $0.01
Weather $0.01
Weather Alerts $0.01
Distance Matrix $0.02
Isochrone $0.02
Airport Info $0.03
Flight Status $0.05

Data sourced from OpenStreetMap, Open-Meteo, AeroDataBox, and OpenRouteService.