7 ms·
If you track the vehicles every day and collect the location data, you can easily augment the Open Source Routing Machine to give you traffic accounted estimate
by superpermutat0r 6y ago
If you track the vehicles every day and collect the location data, you can easily augment the Open Source Routing Machine to give you traffic accounted estimates.[0] Combined with some Kalman filters you'd get almost perfect estimates when live.
Of course, this is for a use case where you have similar routes every day, this allows you to really tune the Kalman filters.
0: https://github.com/Project-OSRM/osrm-backend/wiki/Traffic https://github.com/Project-OSRM/osrm-backend/wiki/Traffic
- cookie_monsta 6y agoMy understanding is that Google's does real time traffic reporting so well because it's constantly pinging the location of android devices. There have been several write ups on how to spoof it, but historical data is never going to be a match for a feed like that.
- tener 6y agoIt sounds like you could use Google's live traffic info to augment your own predictions. You should be fine with just a few API calls. This would be pretty cheap - perhaps even within the free tier.
- missosoup 6y agoIt would violate the ToS.
- cookie_monsta 6y agoWhich part of the ToS (that isn't getting violated already)? The real problem with this approach is that you will never know when real time is conflicting with historical unless you're calling the API constantly anyway
- rfrey 6y agoGoogle's ToS says you're not allowed to do any computation on your own? I mean, I'm not disputing it, I just hadn't realized we were already there.
- progval 6y agoSection 3.2.3 of the Google Maps ToS > (c) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content. > (d) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. https://cloud.google.com/maps-platform/terms/ https://cloud.google.com/maps-platform/terms/
- thejosh 6y agoIf you carry lots of android devices it will alter the traffic on Google Maps - https://www.youtube.com/watch?v=k5eL_al_m7Q https://www.youtube.com/watch?v=k5eL_al_m7Q
- throwaway2048 6y agoI find it insane that the fact that Google is constantly harvesting device locations is blatantly obvious from things like this, but yet if you make that claim in other contexts people will be extremely skeptical and demand extensive proof.
- Danieru 6y agoThose phones all had Google Maps app open. That Google is harvesting device locations while you have a Google app open showing your GPS location should not be a surprise. What would be a surprise is if Google forced on your GPS to gather your location in other contexts.
- throwaway2048 6y agoGoogle absolutely harvests phone GPS data to enhance things like AGPS (mapping of wifi MAC addresses, or celll towers to location coordinates), and it does this regardless of the location setting in the system UI. https://www.theverge.com/2017/11/21/16684818/google-location-tracking-cell-tower-data-android-os-firebase-privacy https://www.theverge.com/2017/11/21/16684818/google-location...
- gog 6y agoIt is not a surprise, it is already happening. You can turn it off, but AFAIK if you don't it collects this information even if the Google maps application is not open.
- apacheCamel 6y agoFrom my personal experience, I have an Iphone and it asks me about once a week about Google Maps using my location in the background and if that is okay. I always tell it no. I didn't know I could turn it off directly in the app, thank you for the information.
- wakkaflokka 6y agoWhere is the best place to get/purchase traffic data for use with OSRM?