I am creating a WebApp for school, utilizing Mapillary’s graph API calls:
const res = await fetch(
`https://graph.mapillary.com/images?` +
`access_token=${token}` +
`&fields=id,geometry,is_pano` +
`&limit=1` +
`&bbox=${minLon},${minLat},${maxLon},${maxLat}` +
`&is_pano=true` );
Right now, I hold a cache of just 5 images and location data. Just two days ago this method was working flawlessly, and using this json: country-bounding-boxes/bounding-boxes.json at master · sandstrom/country-bounding-boxes · GitHub , I was able to fetch 5 images “randomly” within the bounding boxes. Seems like there was just a shadow update, or the API is down? Whenever I run my webapp to debug, I get status: 500 and the err: “Bounding box area is too large. Maximum allowed area is 0.001 square degrees, but got 143.560 square degrees”. Is there a changelog available for this update? I’m not really sure how to deal with this, as the assignment is due tomorrow, so it’s pretty bad timing lol. Any suggestions? I could try constraining the boxes, but that would most likely fail as they would be too specific to grab any data in such a small space.
Edit:
More details for now -
I am using bounding boxes determined by a bbox JSON to randomly select a country to pull image data from. Once a country is determined, random images are then called from within that bbox through an api call to fetch the number of images required to fill a round queue (currently 5). Previously, the requirement for how large this box could be was seemingly much larger. However, I am assuming this update that presumably dropped some time this past weekend constrains that requirement from somewhere > 100 to <= 0.001 square degrees, which on the surface is something like ~5 square miles or (13 sq km). This means that for rural countries or countries with lower image coverage, it is much more difficult to pull a variety of images given a large country bbox. Am I misunderstanding the current situation? I cannot find an easy fix for this update other than some kind of systematic search.

