grandline
Route Path
A plottable, land-avoiding sea track between two ports as a GeoJSON LineString — for drawing on a map.
This is computed geometrically (shortest path over an ocean grid that the track may never leave), NOT from the AIS lane data. The empirical distance still comes from /routes/compare; this endpoint only supplies illustrative geometry. Forcing via a choke makes the drawn line agree with the empirical route's canal transit.
get/api/v1/routes/path
Request
- Base URL: https://grandline.luzomi.com
- URL: https://grandline.luzomi.com/api/v1/routes/path
- Auth: none declared
Query parameters
viastring nullable
Optional choke to force the track through, matching a canal_transits[].name from /routes/compare (e.g. 'Suez Canal'). Keeps the drawn track faithful to the empirical routing decision.
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.