Hi everyone, I'm working in a project, where will be able to have a real-time pollution map with coordenates and we want to use this information to make an "less polluted route" routing tool. Our idea is to provide alternative routes to people that have problems with pollution, giving them a Optimized route (routing) but including the pollution in the algorithm. Is there any Routing service or API that gives you the posibility of putting other information to make the routing? Or do you know some of the routers that are easy to code or have useful API's that may help me? I have been looking in the web pages of the projects in the Routing page and Online Routers but I have not found what I'm looking for. I will really apreciate your help, and exuse me for my poor English. Thanks a lot!
This question is marked "community wiki".
|
Long-time OSM contributor robert/ris was part of a team which did exactly this using the OSRM routing package as part of a tech challenge at the FOSS4G in September 2013. I would suggest you also look at Tom Chance's blog regarding using pollution data in London |
Welcome to OSM :) No, there is AFAIK currently no online service that allows you to specify custom weights for the routing graph. IMHO the only option is to make use of an existing offline router and alter it's codebase for calculating the weights by using your custom datasource. You migtht start playing around with having a look at osm2pgrouting and also the trafficmining framework might be a good choice for the beginning. Please see also existing research articles about (eco) routing and TMC, that might give you more ideas. Last but not least, you might need to take care about legal aspects and of course the community would be also very happy to benefit from your results :) |
Thank for your both answers! I tooked contact with Tom Chance, and we have been in touch. And the info about the routers helped me so much! I learned so much.
Now our project has changed a little bit, and we are going to display in colors the state (in pollution) of the route, as Tom did. The problem is that we does not have the information of pollution linked to streets, but linked to coordinates. So there is work to do.
I have been writing in other forum about this last topin, and they suggested me to post it in this forum, so I will make another entry with the new part of the project (and new challenges!) Thanks a lot :)
Dear all, I am embarking on a similar mission, however, wishing to put weights on a route choice model with self- recorded PM 2.5 measurements/ EEG stress levels.
would love to see how far you got.
Pablo from UCL CASA here. Please get in touch.
@atreyuberlin You should open a new question if you are having problems. Otherwise your message will get lost here.