Trainlog is an app aimed at storing and sharing public transport trips.
How it works :
- All the data used is from OSM.
- Stations search is provided by Photon.
- Paths :
- Train and ferry paths are created using a modified version of the OSRM.
- Bus paths are stock OSRM routes.
- Air paths are simply a geodesic between the arrival and departure locations.
- All maps are displayed using the Leaflet library.
- Languages other than English, French and Dutch are largely machine-generated; feel free to report inaccuracies on the Discord with the link at the bottom of this page.
How to use :
- Search :
- If a station isn't found by the search, you can create it manually.
- Only the name is necessary:
- If coordinates aren't filled, the peg will default to [0,0]; it can then be moved to the desired location.
- The country will be automatically retrieved using the position.
- If the operator is known to the system, the operator field will show the operator's logo.
- For air, this field will search for the airline on an API and download its logo automatically.
- For other transport methods, they are manually updated by the Admin.
- Routing :
- The green peg is the origin and the red peg is the destination.
- Once on the routing page, both the origin and destination pegs can be moved.
- The router will snap to the shortest path between the pegs, even if that means very strange routes. It is sometimes a good idea to move the peg around to find a more logical route.
- Clicking on the route will create a waypoint peg; the waypoint peg can be moved to alter the route.
- You can use as many waypoints as are necessary to create the desired path.
- The routing system will attempt to take the quickest path between the origin and the destination while passing through every waypoint.
- The km displayed is the actual distance of the route.
- The time displayed is a guess at calculating the time taken by the route. It represents a scenario in which the vehicle drives for the entire trip at the maximum speed and never stops; it can be seen as the theoretical minimum time.
- Bus routes will drive on the appropriate side of the road, but as of now aren't able to use bus-only roads.
- Train routes will take the fastest way between the waypoints, but as of now ignore driving side.
- Save :
- On save, distance traveled in each country will be calculated in order to be added to the statistics.
- For air travel, half of the distance traveled is attributed to both the origin and destination countries.
- Display :
- On the trip pages ("Trips" and "Projects"), trips are, by default, displayed in chronological order, with the latest date at the top of the table.
- Trips where the start date is in the future are on the "Projects" page.
- Columns are sortable by clicking on the header, and rows are sortable by using the search field.
- Clicking on each row of the table will select it and show a menu bar for the selected trips.
- Special fields :
- Once a trip is saved, some fields can be accessed through the "Edit" button.
- The "Vehicle Type" field indicates the actual vehicle model the trip was traveled on:
- For air travel, if an ICAO aircraft type designator is detected, this field will show an outline of the airplane (ex: CRJ9).
- The "Registration" field indicates the registration number of the vehicle:
- For air travel, if the registration number is formatted correctly (ex: PH-EZM):
- The flag of the country the aircraft is registered in will be displayed next to it.
- The registration number will become a link to pictures of the actual aircraft.
- Sharing :
- If you want to use the share functionality, you first need to enable it in the settings.
- Each individual trip can be shared through the kebab menu on the right side of the table.
- A complete voyage including several trips can be shared by selecting multiple trips and clicking on the "Create Link" button at the bottom.
- Please note that a sharing link will fail if the shared voyage contains one or more trips that have been deleted.
- Import/Export :
- In the settings, it is possibile to export all your trips as a comma-separated values (CSV) file.
- It is recommended to export your trips from time to time, in case of a catastrophic failure of the system, or in case you delete trips that weren't meant to be deleted.
- Delete account :
- If you want to delete your account, it is currently not implemented directly into the website. Instead, please send an email to admin@trainlog.me, and the Admin will delete your account.
- Help and support :
- Get advice or support and join the community on the Trainlog Discord with the link below.