Hello . I have the same problem .
If you work , can you help ?

> Il giorno 07/mag/2015, alle ore 14:28, Jorne De Blaere 
> <[email protected]> ha scritto:
> 
> Hey,
>  
> Thanks for the quick reply. I checked it out and changed
>  
> if max_speed and max_speed > highway_speed then
>         result.forward_speed = max_speed
>         result.backward_speed = max_speed
> else
>         result.forward_speed = highway_speed
>         result.backward_speed = highway_speed
> end
>  
>  
> To:
>  
>  
> if max_speed and max_speed > highway_speed then
>         result.forward_speed = highway _speed
>         result.backward_speed = highway _speed
> else
>         result.forward_speed = max_speed
>         result.backward_speed = max_speed
> end
>  
> But now i have a giant traveling time, any sugestions on this?
>  
> Kind regards,
> Jorne
>  
>  
> Van: Patrick Niklaus [mailto:[email protected] 
> <mailto:[email protected]>] 
> Verzonden: donderdag 7 mei 2015 12:44
> Aan: Mailing list to discuss Project OSRM
> Onderwerp: Re: [OSRM-talk] alter speed profile
>  
> Hey,
> 
> if the way has a `max_speed` tag this value is used instead, see here:
> https://github.com/Project-OSRM/osrm-backend/blob/develop/profiles/car.lua#L303
>  
> <https://github.com/Project-OSRM/osrm-backend/blob/develop/profiles/car.lua#L303>
> Best,
> Patrick
>  
> On Thu, May 7, 2015 at 10:00 AM, Jorne De Blaere <[email protected] 
> <mailto:[email protected]>> wrote:
> Hey guy’s,
>  
> I’m trying to alter the lua file so that I can limit the speed on highways.
> Is there anyone that can point me in the right direction? I tried so by 
> altering the speed_profile in the car.lua file from GitHub. (["motorway"] = 
> 45) (line 15) in the car.lua file but that has no effect on the travel time. 
> So I guess that there is something else but I don’t know what
> Met vriendelijke groeten
>  
> Jorne De Blaere
> [email protected] <mailto:[email protected]>        
>  
>  I
> +32 485 57 02 08 <tel:%2B32%20485%2057%2002%2008>
> Guldensporenpark 120
>  
>  I
> BE 9820 Merelbeke
> Willem Alexanderlaan 45
>  
>  I
> NL-4532 DB Terneuzen
> www.conundra.eu <http://www.conundra.eu/>
>  <http://www.conundra.eu/>
> Dit bericht is onderworpen aan de voorwaarden beschikbaar op onze website 
> <http://www.conundra.eu/>
> Ce message est soumis aux conditions disponibles sur notre site web 
> <http://www.conundra.eu/>
> This message is subject to the terms and conditions available on our website 
> <http://www.conundra.eu/>
>   <http://www.conundra.eu/>
> 
> _______________________________________________
> OSRM-talk mailing list
> [email protected]
> https://lists.openstreetmap.org/listinfo/osrm-talk <http://www.conundra.eu/>
>   <http://www.conundra.eu/>_______________________________________________
> OSRM-talk mailing list
> [email protected] <mailto:[email protected]>
> https://lists.openstreetmap.org/listinfo/osrm-talk 
> <https://lists.openstreetmap.org/listinfo/osrm-talk>
_______________________________________________
OSRM-talk mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/osrm-talk

Reply via email to