Nice tool!
However, I can’t open those tracks in Basecamp/Mapsource, I think Garmin requires a stricter format of GPX, but I dont know exactly how.
I can open those tracks in JOSM, and save it as gpx, but I have to do this for each single track. With several hundreds of tracks this is not possible. Can you write/append all tracks in one single gpx file?
This way I can convert it easier to Basecamp for my Garmin GPS with tools like Javawa’s IMGfromGPX or mkgmap.
hey! look my last script to join your gpx files in just one.
this scripts is a fast way to join a lot of GPX files downloaded from mapillary
if you use download_gpx_from_sequences.py , this is your second step for join
all in just one file.
Thanks for the update Danilo,
I can now open it with Mapsource, so the structure is now a valid xml file.
But there is still one problem. It makes one big gpx track, so it connects the last point of the first file with the first point of the second file. This creates one big mess of straight lines.
Better is:
With some effort I managed to convert the gpx file with Javawa’s IMGfromGPX tool to a transparent Garmin maplayer to use on my GPS, great! Now I can see easily what streets have to be done for Mapillary
I have found the cause, a bug in the code(line 52-54), you have ‘min-lat’, ‘max-lat’, ‘min-lon’, ‘max-lon’,
should be ‘min_lat’, ‘max_lat’, ‘min_lon’, ‘max_lon’,
@dalacost Thanks for this, I actually wanted for a while now to have a gpx file of all sequences in my town, to use in osmand. It’s still not perfect, because osmand needs 2 minutes to render a 200.000 points gpx file, but it’s the most useful tool I have now to see unmapped places in osmand. Thanx!
edit: I’ve got a much better render time now I removed 90% of all nodes with josm.
@dalacost Maybe a nice improvement for your tool is to add a date from which you can start extracting the sequences. Now it will grab all sequences from an area, if I want to update this area later, I would like to see only the latest sequences that I didnt download the last time. By giving a date range you can also see which sequences are rather old and needed to be updated in the field. Something like Mapillary Explorer
with min and max date
thanks for patience, new version is finish. I added support for limit dates as you requested, and other improvements. (estimated time, and a new comfortable way to use options as unix style)
With the Mapillary API v4, all the old tools broke.
Here’s a quick Perl script to get GPX sequence[s]. For convenience, a single image ID can be specified from each sequence. https://www.openstreetmap.org/user/richlv/diary/400630