# Road Trip Road trip mode plans a trip as one continuous drive. The same days and the same places you plan under **Days** are read as a chain of stops with the driving between them: how far each leg is, how long it takes, when you arrive and when you set off again. Change a stay, pin a time or move a stop, and every arrival after it moves with it. It is a second way of looking at a trip, not a second trip. Nothing is copied: switch back to **Days** and the plan is where you left it. > **Admin:** Enable the **Road trip** addon in **Admin → Addons**. It is listed under **Trip** and is off by default. It needs no key and no account: routing runs on the public OpenStreetMap routing servers until you point it at your own, see [Routing engines](#routing-engines). See [Admin-Addons](Admin-Addons). ## What it does - **Shows the whole drive.** Trip distance, driving time and stop count at the top, then one card per day with every leg and every arrival. - **Keeps your times.** A time you pin on a stop is never moved. The schedule is worked out forwards and backwards from it, and a stop you would reach late says by how much. - **Knows how long you stay.** Each stop carries its own stay, up to a full day, and a stay that runs past midnight carries the drive into the next morning. - **Caps a day.** Daily travel times end each day at the hour you choose, along the route or at the last place, and the rest of the drive continues on extra calculated days. - **Watches your limits.** The longest drive in one go, the driving per day, and the range on one tank or charge. Legs and days over them are marked, and so is the point where the tank runs dry. - **Searches along the road you actually drive** for fuel, charging, rest areas, campsites, accommodation, food and sights, within 2, 5 or 10 km of it. - **Lets you shape the route** with via points, offers **Other ways** to drive a leg, and avoids toll roads, motorways and ferries where possible. - **Follows a scenic route** from an imported GPX or KML track. - **Shows weather warnings and disaster alerts** on the map when you ask for them. They never change the route. - Works on the phone as its own **Road trip** tab, and through [MCP](#mcp-tools) without an open browser. ## Switching to Road trip With the addon on, a **Days** / **Road trip** switch sits at the top of the planner's left column on the desktop. The choice is remembered per trip for as long as the browser tab stays open. In **Road trip** the planner changes shape: | Where | Days | Road trip | |---|---|---| | Left column | the day plan | the drive: a summary of **Distance**, **Driving time** and **Stops**, then one card per day | | Map | the selected day | every day of the trip. **Fold** on a day card takes that day off the map as well | | Right column | the places list | **Along the route** (the search, see below) and the **Driving settings** card | The map's category pills still work, so you can look around what is in view as well as along the drive; a place both searches find is drawn once. **Show whole trip** is not offered, because this view already draws the whole trip. The drive is built from the places planned on each day. Plan the places the trip is for under **Days** as usual, or import them (see [Importing a Google Maps route](#importing-a-google-maps-route)). A day is routed once it has two places with coordinates; a day with fewer shows an empty card you can drop a stop onto, and a place without coordinates is left out of the drive. In the rail, drag a stop to reorder its day or to move it to another day, or focus it with the keyboard and press Alt with the up or down arrow. While the legs are still being routed, the summary says *Still working out the rest of the drive*, because until then every total is a partial sum. ### A day card The header of each card carries the day's number, its date, its driving (for example *412 km in 5 h 10 min*) and its number of stops. It also shows how far the day runs over your driving limit, which road classes it could not avoid, and a **Track** badge for [following a track](#following-a-gpx-or-kml-track). Below it, the day is a chain: - **Numbered stops** are the places the day is for. The numbers match the markers on the map. - **Stops on the way** (fuel, charging, a rest area and the other kinds below) sit on the dashed line with the icon of their kind instead of a number. They are not counted as stops, so a day with a charger between four places is still a four-stop day. - **Drive bands** between the stops show each leg as distance and time. Click one for [Other ways](#other-ways-and-avoidance). - **Arrival times** stand at the right edge. A time you set is printed a little stronger than one worked out from the drive; hover one to see which it is (*Time you set* or *Calculated from the drive*). A small *+1* means the next day. - A stop the road does not quite reach, such as a viewpoint up a footpath, shows the gap as a dashed spur on the map, and the rail prints *{distance} from the road* once it is 250 m or more. - A charging or rest halt a routing plugin adds to a leg is listed as *Stop on the way*. It is the plugin's, so it is shown but cannot be edited. A stop reached after midnight moves to the card of the day it is reached on, under a **From day _n_** band that names the day it came from and when the drive left. Nothing is written for this: the stop still belongs to the day you planned it on, and a shorter stay the evening before puts it back. ## Stops on the way Any stop can be a **destination**, the numbered kind, or a **stop on the way**. The kinds are: | Kind of stop | Stay it starts with | Notes | |---|---|---| | **Fuel** | 10 min | Refills the range, unless the vehicle is set to **Electric**. | | **Charging** | 30 min | Refills the range, unless the vehicle is set to **Petrol**. Shows [availability and tariffs](#charger-availability-and-tariffs). | | **Rest area** | 20 min | | | **Campsite** | 60 min | Can also be booked as a night. | | **Accommodation** | 30 min | Added from the search as a night by default, see [Booked nights on the drive](#booked-nights-on-the-drive). | | **Food** | 45 min | | | **Sights** | 30 min | | The stay is only a starting point. Change it on the stop, see [How long you stay](#how-long-you-stay). - **Make it a stop on the way:** click the number of a numbered stop and pick a kind. The number turns into the kind's icon and the stops below it are renumbered. - **Change what kind of stop this is:** click the icon of a stop on the way. **Back to a destination** gives it its number again. - A fuel or charging stop that refills your vehicle carries a fill badge (see [Driving limits and range](#driving-limits-and-range)). Click it to set how full this particular stop fills, or **Use my default**. - **Edit it:** while the Road trip view is on, **Edit** on a stop on the way or on the place of a booked night, from its row, its place details or the map, opens the same compact dialog the search uses, with its kind and its stay. **More details** in that dialog opens the full place form. Stops on the way also show under **Days** and on the day's route there. To keep them in Road trip only, switch off **Show in Days too** under **Service stops** in the **Driving settings**. The switch is on by default, belongs to the trip, and applies to every stop on the way, including existing ones. A stop that a booked night put on the drive is always hidden under **Days**, whatever the switch says, because the day already shows that booking. ### Adding a stop from the search **Add** on a search result opens **Add as a stop**. It says where the stop lands, for example *Day 2, as stop 4*: at the point of the day where the drive really passes it. It warns when the same place is already on the trip. Pick the **Kind of stop** and the **Time at this stop** (5, 10, 20, 30, 45 or 60 minutes), then **Add**. **More details** opens the full place form instead. For accommodation and campsites the dialog asks **Pause** or **Overnight**. Accommodation starts on **Overnight** (its button in the result list already reads **Add as an overnight stay**), a campsite on **Pause**. An overnight stay asks only for the **Check-in** time, prefilled from the calculated arrival, and shows the place's website and phone where known. **Find accommodation** opens trivago and CHECK24 for a hotel, or PiNCAMP and Pitchup for a campsite, in a new tab, with the place and your dates where the portal accepts them. Nothing is booked and no stop is added by opening a portal. CHECK24 needs a manual search. ## How long you stay Every stop has a **Stay** badge. Click it to open **Time at this stop**: - The length is the big number in the middle. Set it with the slider, the minus and plus buttons (5 minutes at a time), or one of the presets from 15 minutes to 12 hours. The slider reaches a full day. - Below it, **Arrive** and **Leave** show what the stay does to the day while you change it. - **No stay** clears it. **The stay belongs to the place, not to one visit.** A place planned on two days has the same stay on both. A stay may run past midnight. The clock carries into the next morning together with the drive from there, and the next stop moves to the card of the day it is actually reached on. With daily travel times set, the hours between one day's end time and the next day's start time count towards the stay, so a twelve hour night that begins at 20:00 is over at 08:00 the next morning. A booked night is answered the same way: its length is its stay. The drive never reads a check-out, because a check-out is the latest the room has to be handed back, not the time anybody drives on. The booking keeps its check-out as a booking detail under **Days**. When the day [starts at the stay](#starting-and-ending-the-day-at-the-stay), the hotel's row prints it as *until 10:00*, and that is still a label, not the time the drive leaves. ## Leaving at a set time A visit's **End** is the time the drive leaves it. Set it in the place form, where the **End** field says so in Road trip mode: *On the road trip, the drive leaves at this time.* - The stop is stood at from whenever the drive gets there until that time. Its **Stay** badge shows the stay that results together with the time, for example *2 h until 14:00*. That length is worked out, never written into the place, so it is right again the moment an arrival moves. - If the drive gets there after the End, the badge warns *Arrives 25 min after the time you set to leave*, and the drive leaves on arrival. - If the daily travel times close the day before the End comes, the stop is where that day ends: *The travel day ends before 14:00, so the drive goes on the next morning.* - Clicking the **Stay** badge of such a stop opens the End instead of the slider, with **Remove end time**. After that the stay is yours to choose again. The button is missing when you may not edit the stop, and when the End is stored on the place itself and another visit of the same place relies on it: removing it there would change that visit too. The End belongs to one visit; the stay belongs to the place. Older trips can carry an End on the place, which then applies to its visits that have none of their own. ## Pinned times and the schedule Give a visit a **Start** in the place form and the chain restarts from it. That time is never moved. - With nothing to count from (no pinned time, no check-in and no daily travel times), the rail shows driving times but no clock times. - **The schedule works backwards too.** Pin 10:00 on the second stop and the first one says when to set off, worked out from the drive and the stay. It stops at a leg that has not routed rather than inventing a duration. - A stop reached later than the time you set says so: *Arrives 15 min after the time you set*. The same warning appears on a fuel or charging halt that carries a time. - The **Check-in** of a booked night holds its stop the way a pinned time does: the day is built to be there by then, the chain restarts from it, and a drive that gets there later is late, with the same *Arrives 15 min after the time you set* warning a missed pin gets. A time pinned on the stop itself wins over the check-in. ## Daily travel times and day endings In **Driving settings → Daily travel times**, set a **Day start time** and a **Day end time**. Both are needed; clear either to turn the feature off. Manual times take priority. Driving then stops at the end time and continues from the same point at the next day's start time. How the day ends is chosen under **End the day**: | Choice | What happens | |---|---| | **Along the route** (default) | The day pauses on the road wherever the drive has got to at the end time. | | **At the last place** | The day stops at the last place before the next drive would pass the end time. A drive too long for any single day asks you to add a place along the way or to pause along the route. | - Whatever does not fit continues on **extra calculated days**, beyond the trip's own days if needed. These are arranged for the road trip view only; your days and their places are not changed. - The rail shows each ending as an **End of day** row with **Show on map**. The map marks it with a moon and the day number, hidden once you zoom out below level 6. - **End the day here**, in a stop's place details, ends the day after that visit and its stay even before the end time. It belongs to that one visit. - While online you can drag an end-of-day marker on the map along the route or onto a visit. Right-click it to restore the automatic ending, or use **Restore automatic day endings** in the Driving settings. A focused marker also takes the arrow keys and Delete. - If a time you pinned cannot be reached together with the daily breaks, the planner says so and pauses automatic scheduling rather than moving your time. - Turning daily travel times off keeps every **End the day here** and every dragged ending, but stops applying them until the times are back. - With daily travel times set, the days are always connected: the drive from one day's last stop to the next day's first is routed and counted. - With **Start and end each day at your stay** on, a booked night ends the day by itself. The drive to tonight's hotel is never cut or carried into the morning, so that day's **End of day** can come after the end time, and the next morning starts at the hotel. A dragged ending between two stops that a booked night separates is ignored. See [Starting and ending the day at the stay](#starting-and-ending-the-day-at-the-stay). ## Driving settings The **Driving settings** card sits under the search in the right column. Its badges show what is set without opening it. The settings belong to the trip, so everyone on it plans with the same car, the same limits and the same daily times. Changing them needs the permission *Edit days, notes & assignments* (see [Admin-Permissions](Admin-Permissions)). Trips that existed before took their owner's earlier values once. | Section | Settings | |---|---| | **Driving** | **Longest drive at once**, **Driving per day**, both in minutes. Empty means off. | | **Daily travel times** | **Day start time**, **Day end time**, **End the day**, **Restore automatic day endings** | | **Avoid where possible** | **Toll roads**, **Motorways**, **Ferries** | | **Service stops** | **Show in Days too** | | **Vehicle** | What you drive (**Either**, **Petrol**, **Electric**), the range, **Fill up to**, and **Work it out from the car** | | **Route line** | **Connect the days**, **Start and end each day at your stay**, **A colour per day** | | **Current warnings** | **Show hazard areas** | **Connect the days** routes the drive from one day's last stop to the next day's first and counts it towards the day it arrives on. It is off by default, and always on while daily travel times are set. **Start and end each day at your stay** is off by default too, see [Starting and ending the day at the stay](#starting-and-ending-the-day-at-the-stay). **A colour per day** draws each day in its own colour and tints its card to match. ## Driving limits and range All three limits are yours to set, and nothing is assumed about the vehicle: with no limit set, nothing is flagged. - **Longest drive at once:** a leg over it gets a warning badge, *1 h 10 min over your longest drive*. - **Driving per day:** a day over it says so in its header. Both limits count driving only, not stays and not overnight legs. - **Range on one tank** (or **Range on one charge** for an electric car), in your distance unit. Instead of typing it, open **Work it out from the car** and enter **Tank size** and **Consumption**, or for an electric car **Battery**, **Consumption** and **Battery wear**. Once those add up, the range is worked out from them and cannot be typed over. - **Fill up to** says how full a stop fills, because nobody charges to 100 % on the road. Each fuel or charging stop can override it. The range counts from the last fuel or charging stop, across days. **What you drive** decides which stops count: **Petrol** refills only at fuel stops, **Electric** only at charging stops, **Either** at both. Where the range runs out, the rail draws a band across the leg: **Tank runs out here** or **Battery runs out here**, *after 64 km*. **Find fuel** or **Find charging** searches the road before that point and offers up to three stations the car can still reach, keeping 10 km in reserve and counting the detour twice. Each shows how much range it leaves to spare, and **Add {name} as a fuel stop** (or **as a charging stop**) puts it on the right leg. This works across day boundaries too, and needs a connection. ## Search along the route The **Along the route** panel searches the road actually driven, not the straight line between stops. That is the difference between one petrol station and forty. 1. Under **Looking for**, open the list and tick one or more of **Fuel**, **Charging**, **Rest area**, **Campsite**, **Accommodation**, **Food** and **Sights**. It opens on **Charging** when the trip's vehicle is electric, and on **Fuel** otherwise. 2. Pick the **Day** in the dropdown at the end of the same line. **Search** waits until that day has routed. 3. Under **Within**, pick 2, 5 or 10 km either side of the road. 4. Press **Search**. Results are grouped by kind and listed in the order you pass them, each with how far along the day it is (*after 120 km*) and how far off the route. Click a result to bring it into view on the map, which is how you tell which side of the road it is on. **Add** puts it on the drive, see [Adding a stop from the search](#adding-a-stop-from-the-search). To narrow the results afterwards: - **Filter by name**, for example a brand. - Limit the list to one stretch: **The whole day**, around one stop, or around the middle of a leg (*Halfway, Lyon to Avignon*), within 25, 50 or 100 km. A break on a five hour drive belongs in the middle of it. - For charging: **Any plug** or one plug family, and **Any power** or a minimum of 11, 22, 50 or 150 kW. These filters work where OpenStreetMap states them. A station that states neither stays in the list, because most stations state no power at all. **Clear results** empties the list, its pins on the map and the filters. The search asks TREK's place index and OpenStreetMap, and any installed place-search plugin, whose hits show their source. A source that fails is named beside the results that did arrive, and a search cut short says so rather than claiming the stretch was checked. The search only runs when you press **Search**, and needs a connection. ### Add manually The search does not know every charger or pump: a good share of the chargers at a motorway junction are missing from OpenStreetMap. **Add manually**, beside **Search**, is for those. - Look the place up by name. - TREK works out which leg of which day it belongs on, measured against the drawn route. **Add between** lists every leg of every routed day, if the guess is wrong. - A place well away from the route is accepted, with a note: *12 km from the route, so check which leg it belongs on.* - The dialog opens on the kind you are searching for, with that kind's usual stay. ### Charger availability and tariffs A charging stop shows how many connectors are free and the published price, compactly in the rail and in full in its place details, with the source, the time of the data and the tariff conditions. The same panel appears in **Add as a stop** when the kind is **Charging**, so you can read it before the stop exists. The data comes from the public [MobiData BW OCPDB](https://api.mobidata-bw.de/), which aggregates participating operators, without a key or an account. Coverage varies by region and operator. *No reliable data available* and *Status outdated* mean exactly that; neither means the charger is free. The prices are **Published tariffs**, not what your own charging card pays. The data is refreshed every minute while it is shown and is not available offline. ## Via points A via point bends a day's drive without adding a stop: no number, no stay, no arrival. - **Click the route** on the map to drop one. It is attached to the leg you clicked, between the two stops it lies between. - **Drag** it to move it. The route is redrawn through the new spot. - **Right-click** it to remove it, and the leg drives the direct way again. The handles show once you zoom in far enough to aim at a road (zoom level 9). A via remembers which stop it follows, so reordering a day re-pins it instead of letting the drive snap back. Placing and moving vias needs the permission *Edit days, notes & assignments* and a connection; without either, the route cannot be clicked and the handles cannot be moved. ## Other ways and avoidance Click a drive band in the rail to see **Ways to drive this leg**. TREK asks the router for alternatives and lists them: the **Fastest**, how much slower or quicker each other one is, and on a leg you already reshaped, the road you are on as **Current**. Hover an entry to light it up on the map, click it to drive that way. Choosing a different road first checks it with the road trip's router, then holds the leg on it with as few vias as it takes, replacing any the leg already had; a road the router will not follow is not saved. Choosing the router's own road removes them again. The list can also offer **No motorway**, **No tolls** and **No ferry**. These come from the second routing engine (see below), which prices roads with its own speed model, so they are marked *Timed by the avoidance router, not the main one* and are not compared with the others. When the router knows only one way, the list says *Only one sensible way to drive this one.* To avoid road classes for the whole trip, switch them on under **Avoid where possible** in the Driving settings: **Toll roads**, **Motorways**, **Ferries**. This is a preference, not a ban. A day with no way round still uses the road, and says so in its header (*Toll roads unavoidable*) instead of pretending. Days that could avoid what was asked still do. When the instance has its own OSRM but no Valhalla, the switches are unavailable and say *Your routing provider does not support avoidance.* ## Routing engines Routing needs two engines, and both have public defaults, so the addon works without any setup: | Engine | Used for | Public default | Own instance | |---|---|---|---| | **OSRM** | every road route TREK draws: the road trip, the day plan, the routed booking lines | the FOSSGIS servers at `routing.openstreetmap.de` | **Own routing engine** | | **Valhalla** | driving around toll roads, motorways and ferries, and the **No motorway**, **No tolls** and **No ferry** offers | the FOSSGIS Valhalla at `valhalla1.openstreetmap.de` | **Own Valhalla instance** | The public OSRM servers allow roughly one request a second. That is enough for a day plan and tight for a road trip, which routes every leg of every day: TREK spaces its requests and retries a refused one, but a long trip takes a while to fill in. An instance with many road trippers is better off with its own. > **Admin:** Set your own engines under **Admin → User Defaults**, in the **Map** section, on the desktop or the phone: **Own routing engine** for OSRM, **Own Valhalla instance** for Valhalla. A value saves when you leave the field, and **reset** restores the public default. Then **restart the server and reload the page.** Only an admin can set them; they apply to everyone. Why a restart: routes are calculated in the browser, and the browser only talks to addresses the server names in its security policy, which it builds once at start. An address the policy does not name is blocked by the browser without an error TREK could report. What the combinations do: | Own routing engine | Own Valhalla instance | Result | |---|---|---| | empty | empty | Public OSRM for routes, public Valhalla for avoidance. | | set | empty | Your OSRM for routes. **The public Valhalla is not used**, because an instance that runs its own router has chosen against public hosts. The avoid switches are unavailable, and **Other ways** can still offer routes without motorways or tolls if your OSRM supports excluding them. | | empty or set | set | Your Valhalla for avoidance. | Requirements for your own instances: - **OSRM** must serve the standard layout, `
/route/v1/