Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

maps-osrm

bởi adhishthite

Coding Agents & IDEs
369Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Distance, routing, and geocoding using free APIs (OSRM + Nominatim/OSM)

Mô tả

Kỹ năng này làm gì

Calculates distances, travel times, and routes between locations using OSRM's public routing server. Geocodes place names to coordinates via Nominatim and OpenStreetMap. No account or API key needed.

Provides routing and geocoding without an API key or account, unlike Google Maps or Mapbox which require registration and have usage costs.

Khi nào nên dùng

  • Finding driving distance between two cities
  • Estimating walking time to a nearby landmark
  • Converting a street address to GPS coordinates
  • Comparing cycling vs driving travel time
  • Planning a road trip with distance estimates

Quy trình ví dụ

ĐẦU VÀO

User asks: How long does it take to drive from Times Square to JFK Airport?

AGENT
  1. 1

    Geocode 'Times Square, New York' with geocode.sh to get lat/lon

  2. 2

    Geocode 'JFK Airport, New York' with geocode.sh to get lat/lon

  3. 3

    Run distance.sh with both coordinate pairs in driving mode

  4. 4

    Parse the returned distance in km and duration in minutes

ĐẦU RA

Driving distance is approximately 22 km, estimated travel time is 35 minutes

Cài đặt

clawhub install adhishthite/maps-osrm

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết