JOSM/Mapillary

v2.0.0-alpha.32 Could not load image from tile server

polarbearing opened this issue · 2 comments

v1.5.37.6 freezes my JOSM again and again
( JOSM/1.5 (18182 en_GB) Mac OS X 10.14.6, Java version: 1.8.0_291-b10, Oracle)

v2.0.0-alpha.32 shows "Error: Could not load image from tile server", does not show any tracks,
and the console output shows a 404 error followed by a number of tile loads, when I turn on the mapillary layer:

2021-08-27 19:07:47.144 INFO: GET https://tiles.mapillary.com/maps/vtp/mly1_computed_public/2/{z}/{x}/{y}?access_token=MLY|4223665974375089|d62822dd792b6a823d0794ef26450398 -> HTTP/1.1 404 (546 ms)
2021-08-27 19:07:47.255 INFO: AbstractTileSourceLayer: estimated visible tiles: 54, estimated cache size: 466
2021-08-27 19:07:47.276 INFO: AbstractTileSourceLayer: estimated visible tiles: 54, estimated cache size: 466
2021-08-27 19:07:47.277 INFO: AbstractTileSourceLayer: estimated visible tiles: 54, estimated cache size: 466
2021-08-27 19:07:47.278 INFO: Allocate for tile source layer: 116 MB of memory. Available: 3,591 MB.
2021-08-27 19:07:47.550 INFO: GET https://josm.openstreetmap.de/tested -> HTTP/1.1 200 (120 ms)
2021-08-27 19:07:47.710 INFO: GET https://tiles.mapillary.com/maps/vtp/mly1_computed_public/2/14/8816/5388?access_token=MLY|4223665974375089|d62822dd792b6a823d0794ef26450398 -> HTTP/1.1 200 (422 ms)
(similar GETs follow)

When I click "info" in the layers window, it says:
Mapillary layer: 0 sequences, each containing 0 and 0 images...

crossposted as https://josm.openstreetmap.de/ticket/21260

I'm copying my response from JOSM #21260 below:

2021-08-27 19:07:47.144 INFO: GET https://tiles.mapillary.com/maps/vtp/mly1_computed_public/2/{z}/{x}/{y}?access_token=MLY|4223665974375089|d62822dd792b6a823d0794ef26450398 -> HTTP/1.1 404 (546 ms)

This is actually JOSM checking to see if the URL returns a json file (i.e., if it has styling). This is not the root cause.

I took a look at the area in both the Mapillary plugin and the Mapillary website:

(This came from the tile in a url in the report, 14/8816/5388)

The reason why nothing is showing up is that the vector tiles don't currently have anything in them. If you have recently uploaded something, please wait a few days ''after seeing that they have been processed'' before getting worried over the images not appearing. Based off of past experience on this, it seems that there are two steps:

  1. Image injestion finishes on Mapillary's servers (this is when the email was sent out, or at least it was a month or two ago)
  2. Regeneration of vector tiles. This seems to happen a few days after (1) finishes. I don't know what the exact schedule on this is, but a week should be ''more'' than enough time.

Reason was found: JOSM was set to a different projection than Mercator.
While tiles from mapillary were received, the reprojection does not work.
Full details in the josm ticket cited above.