[OSRM-talk] Preferring motorways for a route

2014-05-14 Thread John Aherne
Emil Thank you. You are an endless source of information. I will probably have a go at making the changes this weekend. Regards John Aherne ___ OSRM-talk mailing list OSRM-talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/osrm-talk

Re: [OSRM-talk] Preferring motorways for a route

2014-05-14 Thread Emil Tin
...@tmf.kk.dk<mailto:z...@tmf.kk.dk> EAN 5798009493149 [cid:image001.gif@01CF6F6C.AF655AC0]<http://www.sharingcopenhagen.dk/> Fra: John Aherne [mailto:jjahe...@gmail.com] Sendt: 14. maj 2014 11:53 Til: osrm-talk Emne: [OSRM-talk] Preferring motorways for a route I see from another pos

[OSRM-talk] Preferring motorways for a route

2014-05-14 Thread John Aherne
I see from another post today that when they changed the lua script they then also did an extract as well as prepare. Do you have to do both these operations if car.lua is changed. Thanks for any info. John Aherne ___ OSRM-talk mailing list OSRM-talk@o

[OSRM-talk] Preferring motorways for a route

2014-05-14 Thread John Aherne
Looks like I can answer that myself. The Makefile does specify dependent folders. So that won't work. So can I assume that if I backup by existing 4 files generated by ./osrm-prepare, I can generate a new set based on the new car.lua. Then I just copy everything to a new directory structure and

[OSRM-talk] Preferring motorways for a route

2014-05-13 Thread John Aherne
Emil Thanks for the detail on car.lua. That is very helpful. I am not very knowledgeable on linux, especially on developing stuff, so bear with me. I have already built an instance of osrm-route and have it running on debian-wheezy and Ubuntu 12.0.4. I followed the instructions in building and

Re: [OSRM-talk] Preferring motorways for a route

2014-05-13 Thread Emil Tin
The lua scripts parses the various OSM tags and returns a single value: the speed. OSRM uses this speed as the only deciding factor (in addition to the length of the ways) when computing routes. So all you need to do is set the speed high on motorway (say 100 km/h), and low on all other types

Re: [OSRM-talk] Preferring motorways for a route

2014-05-13 Thread Stephen Woodbridge
Emil, I think the question is more along the lines of "How would one change the car.lua to make ORSM prefer highways?" For example, should one increase the speeds on highways and/or decrease the on surface streets and feeder roads? This has the side effect of then not reporting accurate time

[OSRM-talk] Preferring motorways for a route

2014-05-13 Thread John Aherne
Thanks for the link. It is the one I found before so good news there. I'll need to find some more info to work out exactly what is going on and what bits I will need to change. Regards John Aherne ___ OSRM-talk mailing list OSRM-talk@openstreetmap.org

Re: [OSRM-talk] Preferring motorways for a route

2014-05-13 Thread Emil Tin
it's right here: https://github.com/DennisOSRM/Project-OSRM/blob/develop/profiles/car.lua On 13 May 2014, at 17:38 , John Aherne wrote: > Thanks for the replies. > > I'll also take a look at the repo and see if they tell me what I need to do. > > Although I did find via google a car.lua an

[OSRM-talk] Preferring motorways for a route

2014-05-13 Thread John Aherne
Thanks for the replies. I'll also take a look at the repo and see if they tell me what I need to do. Although I did find via google a car.lua and could not see any obvious way to prefer motorways. But I'll look again and see what I overlooked. Thanks John Aherne ___

Re: [OSRM-talk] Preferring motorways for a route

2014-05-13 Thread Emil Tin
]<http://www.sharingcopenhagen.dk/> Fra: Anael Lorimier [mailto:anael.lorim...@xcg-consulting.fr] Sendt: 13. maj 2014 10:54 Til: Mailing list to discuss Project OSRM Emne: Re: [OSRM-talk] Preferring motorways for a route Hi there, I also need to change my lua profile and I'm kinda stuck

Re: [OSRM-talk] Preferring motorways for a route

2014-05-13 Thread Anael Lorimier
; > 5798009493149 > > > > <http://www.sharingcopenhagen.dk/> > > > > *Fra:* John Aherne [mailto:jjahe...@gmail.com] > *Sendt:* 13. maj 2014 09:57 > *Til:* osrm-talk > *Emne:* [OSRM-talk] Preferring motorways for a route > > > > Once again thanks fo

Re: [OSRM-talk] Preferring motorways for a route

2014-05-13 Thread Emil Tin
5986 Email z...@tmf.kk.dk<mailto:z...@tmf.kk.dk> EAN 5798009493149 [cid:image001.gif@01CF6E92.762090C0]<http://www.sharingcopenhagen.dk/> Fra: John Aherne [mailto:jjahe...@gmail.com] Sendt: 13. maj 2014 09:57 Til: osrm-talk Emne: [OSRM-talk] Preferring motorways for a route Once

[OSRM-talk] Preferring motorways for a route

2014-05-13 Thread John Aherne
Once again thanks for a really useful project. I have been going through the archives to see if this subject has come up before. I must admit I expected to see more questions about this. But I have only found 1 oblique reference to being able to force a route to use motorways for a journey when