OpenStreetMap

Raster map tiles for Mapillary traces

Posted by Peter Bremer on 29 November 2016 in English. Last updated on 1 December 2016.

Today, Mapillary released a set of online raster tiles that show all traces (and if you zoom in enough, all individual photo locations). The tiles are transparent PNGs, and can be used on top of other map layers.

The tileset address is https://d6a1v2w10ny40.cloudfront.net/v0.1/{z}/{x}/{y}.png

Note that various mapping software use different formatting for the x, y and z parameters. For example, OsmAnd uses {0}/{1}/{2}.

A demo page is available at http://mm.mapillary.io/raster_tiles.html

For more information, see this Mapillary GitHub issue. Also for reporting problems with the tileset, please use their GitHub repository.

OsmAnd

Here are some step-by-step instructions to add the tileset to OsmAnd. This way you can have a map showing all Mapillary traces with you on your phone, even offline if you cache the tiles before the trip.

  1. Go into “Configure map” (either from the menu, or from the globe icon).
  2. Select “Map source”.
  3. Select “Define/Edit” to define a new map layer.
  4. Name it something like “Mapillary traces”, and as URL enter “https://d6a1v2w10ny40.cloudfront.net/v0.1/{0}/{1}/{2}.png”.
  5. Click “Save” to save the new map.
  6. Now, back in the “Configure map” screen, select your new map as the “Overlay map”, and select an opaque map as the “Map source”.

Discussion

Comment from Jake Smarter on 30 November 2016 at 12:55

The tileset address is https://d6a1v2w10ny40.cloudfront.net/v0.1/{z}/{x}/{y}.png

Hey, thank you! Just a few days ago I was looking for this, especially since the tile set on the old Mapillary website ceased to receive updates. This is really helpful.

Comment from Jake Smarter on 30 November 2016 at 13:12

What is the maximum zoom level (z or {0} parameter)?

What is the update period or update latency for new sequences and/or deleted photos/sequences?

The only quirk that I have found while using in JOSM is that tiles which do not have any sequences are not served, i.e. return a 403 HTTP error instead of a fully transparent tile. Can you fix this?

Comment from Jake Smarter on 30 November 2016 at 20:21

Just found out that it is 17.

Generally speaking, to get full insight on this matter one should probably read/follow Mapillary’s Github issue #1366.

Comment from taopeng on 30 November 2016 at 20:23

Hi GITNE,

The maximum level is 17.

At the moment the update period is 10 minutes for tiles from level 9 to level 17, and 1 hour for level 0 to level 17.

The tiles are served in an AWS S3 bucket. After a quick search I didn’t find a way to return a transparent image for empty tiles. Do you think it possible to let JOSM show a transparent image when an empty tile is hit?

Thanks, Tao

Comment from Peter Bremer on 1 December 2016 at 08:34

Thanks @GITNE and @taopeng! I’ve updated my description with links to Mapillary’s GitHub repository.

Comment from HolgerJeromin on 13 January 2017 at 08:23

Just a note: The same is possible with the uploaded gps traces of osm!

I have written a blog post about that.

Log in to leave a comment