I am a PhD research student at the University of Aberdeen, working on driving behavior change which aims to use AI and Natural Language Generation (NLG) tools to enable a mobile app generate periodic feedbacks for drivers from their driving data collected during a trip non-western countries, Nigeria as case study.
I have tried to access road types and speed limits for Nigerian roads using a python scripts to querry OSM, but all efforts have failed, as I end up in errors after days and days of running the scripts.
I am using the longitude and latitude of each datapoint, and I have over 400,000 of them.
What I observed was that if I increase the distance, I am able to get the speed limits but at some point, it get lost again, and I fear the even the ones with so much distance from the point may not even be getting the right speed limit.
Does anybody have any suggestions?
Because I was actually thinking of starting a project that would begin the acquisition of road types their corresponding speed limits using a the crowed sourcing model, were an interface is hosted that enables people to enter the name of the road name, road type (Street, street-built-up, expressway, expressway-built-up, highway, highway-built-up), location type (rural or urban), local government and State. I have written an algorithm that would match the road types to the legal speed limits for each kind of road as defined in the High way code in the link here [IX. SPEED LIMITS ON DIFFERENT ROADS AND FOR DIFFERENT VEHICLES - Nigeria Highway Code] IX. SPEED LIMITS ON DIFFERENT ROADS AND FOR DIFFERENT VEHICLES - Nigeria Highway Code)
5 posts - 3 participants
Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/road-types-and-speed-limits-in-nigeria/105309