geo-route
Shortest walking, biking, or driving route between two coordinates. Returns distance (metres) and estimated travel time (minutes).
USE FOR:
"Walking directions from A to B"
"How long to bike from X to Y?"
Short local trips (under ~10 km)
NOT FOR: intercity trains/buses → use eu-transit-router instead.
EXAMPLE: User: "Walk from Koper bus station to Izola center" → --lat 45.548 --lon 13.730 --to-lat 45.537 --to-lon 13.660 --profile walk
If you only have place names, call geo-geocode first to get coordinates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Origin latitude. | |
| lon | Yes | Origin longitude. | |
| dist | No | Graph radius in metres — increase if origin/destination are far apart (max 10 000). | |
| to_lat | Yes | Destination latitude. | |
| to_lon | Yes | Destination longitude. | |
| profile | No | Travel mode: walk, bike, or drive. | walk |
| timeout | No | Hard timeout in seconds (max 60). |