Opened 15 years ago
Closed 14 years ago
#40 closed enhancement/feature request (fixed)
Routing for different vehicles (car,bus,bicycle,foot) wanted
Reported by: | hafting | Owned by: | KaZeR |
---|---|---|---|
Priority: | major | Milestone: | version 0.2.0 |
Component: | core | Version: | |
Severity: | Keywords: | ||
Cc: |
Description (last modified by KaZeR)
Navit currently routes cars. Still, it directed me to use a bus-only road.
Different modes for different uses would be nice.
- car: Use all roads open to cars, and prefer the best
roads
- bus: allow bus-only roads as well, otherwise as for cars
- bus,truck: Avoid roads(bridges etc.) with weight/sizerestrictions. Vehicle weight and size should be configurable.
- bicycle: prefer cycleways, disallow motorways
- foot: prefer footways, disallow motorways
Attachments (2)
Change History (8)
comment:1 Changed 15 years ago by KaZeR
- Description modified (diff)
- Milestone set to version 0.1.0
- Owner changed from somebody to KaZeR
- Status changed from new to assigned
comment:2 Changed 14 years ago by pavelmachek.livejournal.com
comment:3 Changed 14 years ago by pavelmachek.livejournal.com
Well, here's a diff. It is able to find way for foot, but for some reason keeps crashing in
#5 0x080546de in command_new (this_=0x824e508, itm=<value optimized out>, delta=<value optimized out>) at navigation.c:1180
Maybe it is good as a starting point for someone...
Changed 14 years ago by pavelmachek.livejournal.com
comment:4 Changed 14 years ago by pavelmachek.livejournal.com
It seems to be supported in latest SVN version... with right navit.xml
comment:5 Changed 14 years ago by pavelmachek.livejournal.com
here's a diff I'm using. It allows routing switching in Map|Vehicle menu. Note that it probably reverts part of other patch, so it probably needs more cleanup.
Changed 14 years ago by pavelmachek.livejournal.com
navit.xml diff. It adds possibility of switching vehicles, and adds horse profile. It also allows routing over paths and bridleways.
comment:6 Changed 14 years ago by KaZeR
- Resolution set to fixed
- Status changed from assigned to closed
vehicleprofile can now be used for that. Please also have a look at pavel's branch 'public transport'.
Plus, foot is permitted to ignore one-way restrictions.