Ok, merci pour vos réponses. PY
Le 19 septembre 2014 15:25, <didier2...@free.fr> a écrit : > un peu plus bas dans le code .lua > """ > if way.speed == -1 then > local highway_speed = speed_profile[highway] > local max_speed = parse_maxspeed( way.tags:Find("maxspeed") ) > -- Set the avg speed on the way if it is accessible by road class > if highway_speed then > if max_speed > highway_speed then > way.speed = max_speed > """ > > a prioris, il tient compte des vitesses saisie sur les ways > puis y applique un coef de 0.8 (truc pour simuler la vitesse reélle et non > pas la vitesse max) > > Bref, les temps de trajets en Ile de France sont totalement faux aux > heures de pointes > > > ----- Mail d'origine ----- > De: Frédéric Rodrigo <fred.rodr...@gmail.com> > À: Discussions sur OSM en français <talk-fr@openstreetmap.org> > Envoyé: Fri, 19 Sep 2014 14:39:08 +0200 (CEST) > Objet: Re: [OSM-talk-fr] pendant qu'on parle d'OSRM > > C'est bien ce qu'il y a dans la configuration : > https://github.com/Project-OSRM/osrm-backend/blob/master/profiles/car.lua > > speed_profile = { > ["motorway"] = 90, > ["motorway_link"] = 75, > ["trunk"] = 85, > ["trunk_link"] = 70, > ["primary"] = 65, > ["primary_link"] = 60, > ["secondary"] = 55, > ["secondary_link"] = 50, > ["tertiary"] = 40, > ["tertiary_link"] = 30, > ["unclassified"] = 25, > ["residential"] = 25, > ["living_street"] = 10, > ["service"] = 15, > -- ["track"] = 5, > ["ferry"] = 5, > ["shuttle_train"] = 10, > ["default"] = 10 > > Le 19/09/2014 14:33, Pierre-Yves Berrard a écrit : > > Quelqu'un d'autre a-t-il remarqué qu'OSRM semble limiter la vitesse à > > 90km/h sur autoroute ? > > osrm.at/9vt <http://osrm.at/9vt> >
_______________________________________________ Talk-fr mailing list Talk-fr@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk-fr