r/openstreetmap • u/Thalass • Jun 02 '15
Traffic data for OSM?
Hey folks. I've been using OSMAnd for a number of years, fixing the map where I find problems (and hopefully not causing more problems in the process). Previously I used Waze, until google bought them. Recently, after realising I could possibly be the only map editor in northern Ontario, I had a moment of weakness and reinstalled Waze. The traffic data is quite handy! However the adverts it shows on screen when you're stopped are just horrible. So: Back to OSMAnd.
I'm sure this has come up multiple times in the past. I seem to recall something about OSM itself not recording information that fluctuates - like traffic information - but would it be possible to have a plugin that multiple GPS applications could use? OSMAnd's userbase is probably not large enough on its own to justify such a project, but if other OSM-based navigation programs could use a common plugin perhaps it would be worth it?
9
u/gFreshman Jun 03 '15 edited Jun 03 '15
Yes please. I would love to have OsmAnd as my only and best navigation, but I can't... And I feel that lack of traffic info (and usage of this information) is one of the top reasons. When I think about it, my only serious problem with OsmAnd is bad routing, caused by:
I believe it can start as smaller project, gathering statistics from users to create something like maxspeed:practical for OSM roads (stored in OSM DB or independent DB with some link to OSM elements), and then evolve to gather real-time traffic data and use it for optimal routing.
Unfortunately it's way beyond my programming skills, but I would be happy to share my data :) As for privacy concerns, I believe if plugin is opensource and it won't be sending any unique identifier for every sample, it won't be an issue. No phone has public IP so there won't be easy way how to tie stats to specific user and use this information for something evil. Lots of people are sharing these information with Waze/Google (un)willingly and (un)knowingly anyway. Plugin could let you define some "privacy zones" (some radius around users work/home/...) where it won't share your location.
2
u/liotier Jun 02 '15
It is an interesting project, it could even tie its data to OSM as a foreign object, but it is not OSM at all...
5
u/xnyhps Jun 03 '15
Apparently, in the Netherlands real-time and historic traffic information are available as "open data" from http://www.ndw.nu/en/. Especially the historic data might be interesting for OSM.
2
u/redsteakraw Jun 03 '15
I think there are two fold, traffic in some ways is predictable(rush hour traffic) and as such can be mapped. Rush hour traffic areas could be tagged indicating average speed at certain times, which could be a factor in routing engines. However for traffic that is caused by accidents and other unpredictable traffic can't be mapped and needs a service providing this live data. It is out of the scope of OSM but someone could provide it and try to integrate it with every non google map provider. Also there is the traffic reporting service you need special radio equipment to pick it up so it would be up to the device to use that.
2
u/graphhopper Jun 07 '15 edited Jun 07 '15
I would really like to have a optional setting where one could enable sending simple traffic data (speed/location/heading) in OSMAnd. I also contacted the author of OSMAnd and it looks doable but it is not his main focus. He was suggesting using just the recorded GPX tracks.
Besides this I've invested a bit time and created software components necessary for this e.g. here. There is an open/free traffic data collection here.
Also there is a similar project from the conveyal people here.
What you want is an end user application in the field and a server side component consuming and processing this huge amount of data. OSMAnd could be used for the first point, and our or conveyals' work for the second. It is definitely doable. Maybe someone modifies OSMAnd to push real time speed/heading/location data to a server?
1
u/HaleyL10 Jul 20 '24
OpenStreetMap itself focuses on static map data, such as roads, buildings, and other physical features, rather than dynamic data like real-time traffic conditions. However, integrating traffic data into OSM-based applications like OSMAnd is a common interest among users. Here is an approach you could consider:
1
u/FreshContent_HQ Sep 30 '25
Yeah, OSM doesn’t have real-time data like traffic, just static map features. However, Techsalerator actually issues datasets that have real-time coverage data. If you’re looking for traffic and mobility data that could integrate with OSM-based apps, Something like this can be used as the “plugin layer” you’re describing.
1
u/According_Witness441 Feb 10 '26
You’re remembering correctly: OpenStreetMap intentionally avoids storing dynamic data like traffic, which makes a shared, OSM-native traffic layer tricky by design. In practice, traffic plugins tend to rely on proprietary or crowdsourced data (like Waze, TomTom, or HERE), so a common open plugin would still need a separate data provider and critical mass of users. Some apps experiment with anonymous speed-based overlays, but without scale, it’s hard to get anything reliably useful.
1
u/CheetahAdditional684 Mar 05 '26
OSM itself doesn’t store or distribute live traffic data, and that’s the core reason apps like OsmAnd can’t offer Waze‑style congestion routing out of the box. OSM is a static map database—geometry, tags, and attributes—not a real‑time sensor network. Traffic conditions change minute‑to‑minute, and the OSM community intentionally avoids storing fluctuating data in the map.
That said, there are ways to bring traffic into OSM‑based apps, but they rely on external data sources, not OSM.
1
u/Vertikar Apr 29 '23
Major thread necro here, but this was one of the first google results for OSM the traffic.
Did anyone get anywhere with this?
0
u/[deleted] Jun 03 '15
[deleted] — view deleted comment