Troubleshooting
Here you can find some common issues and how to solve them.
Tip: If you need help with an error message, try searching the first few words on this page.
Use -h on any script to view a help message with basic usage information.
tpov_convert.py
Filter file [...] not found.- Refer to the Quickstart for details on the filter file.Invalid file format.- The map file is not compatible withosmconvert. Try downloading from another source, and make sure the file is decompressed before running the script.
tpov_extract.py
Please refer to the section for the data source you are using.
GTFS
Route [...] not found- Try specifying the route in another way (e.g. with the route number instead of the name or vice versa). Note that some transit agencies pad route numbers with leading zeroes (e.g.099instead of99).Multiple trips with the same route and direction - The GTFS format stores each trip separately, so a frequent route may have hundreds of trips. Exact duplicate trips have been filtered out during indexing, however the remaining trips are kept for user information. Usually select the trip with the closest departure time to your video. A hash of all the stops on each trip is provided in the trips table. Trips with the same hash may not depart and arrive at the same time, but they do cover the same stops in the same order, so you can choose any of them.
OSM
Error querying Overpass API- Check your Internet connection, etc.No results found.- Check that you have the correct relation ID by visitinghttps://www.openstreetmap.org/relation/[relation ID].
Baidu Maps
No results found. Try entering the route name in full.- Try entering the full route name instead of an abbreviation (e.g.300路快车外环instead of300快外).Error querying Baidu Maps API- Check your Internet connection and try again with a SECKEY if you did not provide one. Refer to the Quickstart for obtaining a SECKEY.No stop information found. Try providing a seckey.- Same as above.
tpov_match.py
No points matched. Try increasing max_dist_init in the matcher parameters.- The start of the GPX track is too far away from any road. Try increasing themax_dist_initparameter (in meters) in the parameter file (docs). Do not use a high value, as it seems to offset map matching. This is probably an issue withleuvenmapmatching, the map matching library used by this script, however in the meantime100should a safe maximum. If it is still too far, try truncating the beginning of the track in an external editor (e.g. gpx.studio).Not all points were matched.- Some points in the GPX track are too far away from any road. This often happens if the track ends in a parking lot or similar area not near a public road. Look up the last matched coordinates provided in the message on a map. If they are satifactory for your purposes, enteryto continue processing. If not, try increasing themax_distparameter in the parameter file (docs). If the last matched coordinates are near an intersection with roads at a very slight angle (e.g. a highway exit), try increasingmax_lattice_widthto avoid getting stuck going the wrong direction.Path discontinuity at [...]- Check for a discontinued or corrupted section of the GPX track at the given coordinates. This can happen if the track was recorded in a tunnel or other area with poor GPS reception. If not, please open an issue.NaiveStopMatcher failed to match stops. Try using a different matcher.- NaiveStopMatcher is currently the only stop matcher available, and matches stops simply to the nearest point on the track. This is expected to fail on looping or otherwise overlapping routes. Please open an issue, and if you have a solution, consider contributing to the project.When using
snap_gpxand there are erratic jumps in the matched track - try to increase the value ofsnap_gpxin the parameter file (docs).
tpov_combine.py
Duration not found in exiftool output- See belowStart or end time not found in exiftool output- See belowVideo segments [...] and [...] overlap or are out of order- The second segment does not begin after the first segment ends. Check the order of the arguments provided.Video segment [...] has a negative duration- Verify that the video is not corrupted using tools such asexiftoolorffprobe. If you believe that this is a bug, please open an issue.
tpov_truncate.py
Duration not found in exiftool output- Your video file does not contain the necessary metadata to infer the start and end times. This can happen if you use an online service to transfer the video. Refer to the Quickstart for manual input of the times.Start or end time not found in exiftool output- Same as above.The truncated track does not line up with the video when using
exiftoolto infer the times - There is expected to be some deviation between video metadata and the actual recording time. Try runningexiftoolon the video file to check if the times are stored in another field, and manually input the times if necessary.
gopro-dashboard-overlay
This is a separate project that has been forked and adapted for use with tpov. Please refer to its documentation for troubleshooting, and open an issue there if necessary.
Other
If you encounter an issue not listed here or need further assistance, please open an issue on the GitHub repository. Provide as much detail as possible, including the error message, the command you ran, your GPX file, video metadata (if applicable), and configuation files (e.g. match_params.json).