Hello. How can I easily download a gpx file with the sequences I already uploaded - a kind of “my contributions” file ? I want to know where I’ve been in order to plan better where to go.
Thank you.
Besides of using the API to get your data you can use the blue selection “My coverage” on the website:
Thanks Moenk. But I would like to export the gpx, not only to display the sequences in Mapillary.
And I don’t know how to use the API. I’m not a developer.
Coming back to the original question - you can’t download a GPX. Not from the web app and not from the API.
There is a (not exactly straighforward) way to download the data from the API, filter it and convert the result to GPX. The problem is that there is no server-side filtering so you have to download all the tiles in the area. You can start with different zoom level and filter from there, but due to generalization methods you might lose shorter segments this way. Either way, if you are not into coding and fiddling with query parameters, this solution is not for you. Such is life.
@vbombaerts Hi Vincent, I would recommend extracting to a GPX file from the imagery before you dispose of them. What is the original video or a batch of jpg’s?
Joscelin
Hello @JoscTr I upload jpg’s, but I delete the files once they are uploaded.
You can try this:
https://jorrar.ro/mapillary_experiment.php?username=[your user name]
For example:
https://jorrar.ro/mapillary_experiment.php?username=vbombaerts
It’s ugly and slow, but may generate a GPX that might resemble tracks of queried user.
Thank you @jorrarro
Right now the gpx only includes a small part of my sequences (17). But some are processing. I will give it another try when all are loaded.
The background code needs to be rewritten, some parts do not work as intended.
Thanks for sharing @kasparskk
But I don’t use my phone when I capture pictures. I rather want to plan a bike trip with existing bike planning application like Komoot or Strava.
I see in my option, better and esay is Plan route in OSM app in phone (it is super easy, just draw line yor route, its snaps to existing roads), not in Komoot…
.
My script is here:
It follows the tile structure and checks if user has data in that area. Output is GeoJSON, but that can be simply converted to GPX (via OGR2OGR, QGIS or whatever). It can be altered to also filter by time.
Since it’s equal to zooming down to certain level and scrolling through all tiles, it’s rather slow - many minutes per user. So it’s not very good for web.
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
This isn’t exactly what was requested in this thread, but I don’t see how that can be achieved with the API now, and scraping the webpage is an effort I’m not ready to put in.
For my own use, I’d love to filter by user, camera and date in a bbox, but Mapillary API got so seriously nerfed with v4…