Files
TREK/wiki/Transport-Flights-Trains-Cars.md
T
Maurice 5a007a1f0e feat(planner): integrate transit into the transport system as Automated mode
The add-transport dialog gains a Manual/Automated switch: Automated embeds the
public-transit search (day picker + from/to + modes + preferences + results)
right in the dialog, and the day header's tram button opens it directly in
that mode. The standalone search modal is gone.

Saved journeys get their own roomy journey view — the stop-by-stop itinerary
(times, platforms, lines, headsigns, operators) together with the editable
booking fields, delete, and a "Change route" action that re-runs the search
pre-seeded with the journey's origin/destination and replaces the itinerary on
save. The generic transport form no longer opens for transit entries, from the
timeline or from the Transports tab, where journeys now sit in their own
"Automated public transit" section with their line badges on the card.

New i18n keys in every locale; wiki updated.
2026-07-03 15:06:31 +02:00

5.1 KiB

Transport: Flights, Trains & Cars

Log flights, trains, car rentals, and cruises with departure and arrival endpoints, times, and transit-specific details.

Where to create

Open the Transports tab in the trip planner and click Add, or open the planner from a day view and use the transport shortcut. Transport records appear in the Reservations panel alongside other bookings.

The Add transport dialog has two modes: Manual transport (the classic form) and Automated transport — a public-transit route search powered by Transitous, free open data with no API key or paid provider. The transit button (tram icon) on each day header opens the dialog straight in the Automated mode. (The rename pencil this button replaced moved next to the day name in the day detail panel.)

  • Pick from and to (stop/station search; the day's own places and hotels appear as quick picks), a depart/arrive time, and filter by mode: train, subway, tram, bus, ferry, cable car.
  • Rank the results by best route, fewer transfers, or less walking.
  • Each result shows local departure/arrival times, duration, transfers, walking time and the line badges in their official colors; expand it for the stop-by-stop breakdown.
  • Add to day saves the chosen connection as a first-class transit entry. It slots into the day timeline at its departure time and shows its line badges, transfers and walking time right in the plan. Clicking it opens the journey view: the full stop-by-stop itinerary together with the editable booking fields (title, status, confirmation code, notes), a Change route action that re-runs the search and replaces the itinerary, and delete. In the Transports tab these journeys appear in their own Automated public transit section.

Self-hosters can point the TRANSIT_API_URL environment variable at their own MOTIS instance.

Transport types

Four types are available: Flight, Train, Car, Cruise.

Common fields

All transport types share these fields:

Field Notes
Title Required
Departure day Linked to a trip day
Departure time Optional
Arrival day Linked to a trip day (can differ from departure day)
Arrival time Optional
Booking / confirmation code Optional
Status Pending or Confirmed
Notes Optional free text

Endpoints

Flights

The departure and arrival fields use the Airport picker — type a city name or IATA code (minimum two characters) to search. Results show the IATA code, airport name, city, and country.

Once you select an airport, the timezone for that airport appears next to the time field. This lets you enter local departure and arrival times without confusion across time zones.

Trains, cars, and cruises

Departure and arrival fields use the generic location picker — search by place name or enter a free-text location. Results come from the maps search service.

For car rentals, the departure field is labelled Pickup date/time and the arrival field is labelled Return date/time.

Flight-specific fields

When the type is set to Flight, two additional fields appear:

  • Airline — carrier name (e.g. Lufthansa)
  • Flight number — (e.g. LH 123)

Train-specific fields

When the type is set to Train, three additional fields appear:

  • Train number — (e.g. ICE 123)
  • Platform — platform or track number
  • Seat — seat or coach assignment

On the map

Transport records with both endpoints set appear as lines on the trip map:

  • Flights and cruises render as geodesic great-circle curves that follow the curvature of the Earth.
  • Trains and cars render as straight polylines between the two endpoints.

Confirmed bookings are drawn as solid lines; pending bookings use a dashed line. Endpoint markers are shown at each location. For flights, a midpoint label appears along the arc showing the route codes (e.g. ZRH → JFK) and flight duration and distance when enough screen space is available.

See Map-Features for details on how these overlays work.

In the day plan

When a transport is assigned to a day, it appears inline in the day timeline between places. Multi-day transports show phase labels depending on the type:

Type Start day Middle days End day
Flight Departure In transit Arrival
Car rental Pickup Active Return
Train / Cruise Start Ongoing End

See Day-Plans-and-Notes for details.


Faster: import the confirmation — If you have a booking confirmation email or PDF, you can skip the form entirely. See Import from booking confirmation in the Reservations guide.


See also: Reservations-and-Bookings · Accommodations · Map-Features · Day-Plans-and-Notes