Schematic sea route between two points
sea_routeCalculate a schematic sea route between two points and return it as GeoJSON (a LineString of waypoints) with the total distance in kilometres and nautical miles. Specify the origin and destination each as either coordinates (lat+lon), a port UUID, or a port UN/LOCODE. ⚠️ This is a SCHEMATIC sea route, not a navigable one. It does not account for actual navigation, hazards, traffic separation, drafts or local rules — do NOT use it for real-world sailing. Use it for estimating distance and travel time, visualizing the approximate path/shape, and similar analysis. Part of the Maritime Reports add-on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat_to | No | Destination latitude (use together with lon_to). | |
| lon_to | No | Destination longitude (use together with lat_to). | |
| lat_from | No | Origin latitude (use together with lon_from). | |
| lon_from | No | Origin longitude (use together with lat_from). | |
| port_uuid_to | No | Destination port UUID. | |
| port_uuid_from | No | Origin port UUID. | |
| port_unlocode_to | No | Destination port UN/LOCODE (5 alphanumeric, case-insensitive). | |
| port_unlocode_from | No | Origin port UN/LOCODE (5 alphanumeric, case-insensitive). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| route | Yes |