Search code examples
mapboxopenstreetmapmapbox-gl-jsmapbox-gl

How do I see the most recent Open Street Maps in mapbox


I'm using mapbox-gl-js to overlay a campus map for a university. The buildings shown in Mapbox look like this: enter image description here

But if I look on Open Street Map's site (openstreetmap.org), that version has much better buildings (that more closely reflect reality and therefore fit nicely with my campus map that I want to overlay).

enter image description here

I thought that Mapbox used OSM, so why doesn't it show the same buildings? Is the Mapbox data old, it says the Streets maps are updated as frequently as every five minutes? Is it the Mapbox style showing something different to the buildings I see in OSM?

The most important question for me is, if I edit OSM (to fix up this campus), will the change be visible in my Mapbox maps?

For reference, the location: https://www.openstreetmap.org/#map=19/-33.88341/151.20063


Solution

  • MapBox stopped importing OSM data for now, either partly or completely. The details are not publicly known. See https://gis.stackexchange.com/a/257411/23837 and https://twitter.com/Anonymaps/status/913812009547902978.

    If you need to show more recent OSM data then switch to a different OSM tile provider. switch2osm.org has a list of commercial OSM tile providers. Alternatively you can render tiles yourself.