[OSRM-talk] alter speed profile
simone zanda
zanda85 at hotmail.it
Fri May 8 09:15:33 UTC 2015
Hello . I have the same problem .
If you work , can you help ?
> Il giorno 07/mag/2015, alle ore 14:28, Jorne De Blaere <jorne.deblaere at conundra.eu> 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:patrick.niklaus at student.kit.edu <mailto:patrick.niklaus at student.kit.edu>]
> 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 <jorne.deblaere at conundra.eu <mailto:jorne.deblaere at conundra.eu>> 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
> jorne.deblaere at conundra.eu <mailto:jorne.deblaere at conundra.eu>
>
> 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
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk <http://www.conundra.eu/>
> <http://www.conundra.eu/>_______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org <mailto:OSRM-talk at openstreetmap.org>
> https://lists.openstreetmap.org/listinfo/osrm-talk <https://lists.openstreetmap.org/listinfo/osrm-talk>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20150508/1ab2cd4d/attachment-0001.html>
More information about the OSRM-talk
mailing list