instedd / planwise

PlanWise applies algorithms and geospatial optimisation techniques to existing data on population, road networks and health facilities, so health care planners can better understand the unmet health needs of their constituents and better locate future health facilities.
GNU General Public License v3.0
40 stars 6 forks source link

Review the "traffic factor" #8

Open ggiraldez opened 8 years ago

ggiraldez commented 8 years ago

The cost for the edges in the routing graph calculated by osm2pgrouting consider only the length of the road and the maximum speed allowed. We apply a "traffic factor" (currently 0.66) which was approximated roughly using Google Maps directions as a reference. Review and validate this finding and adjust as necessary.

mmuller commented 8 years ago

It would be necessary to refine the current “traffic factor”.

For example given the following travel: from -1.038757, 37.083375 to -1.331629, 36.783604 Now when using PlanWise a travel takes 30 minutes, but when using GoogleMaps the same travel takes 55 minutes with light traffic.

screen shot 2016-07-21 at 7 19 49 pm

screen shot 2016-07-21 at 7 20 32 pm