Opened 11 years ago
Last modified 3 years ago
#901 new enhancement/feature request
Tunnel extrapolation [PATCH]
Reported by: | korrosa | Owned by: | cp15 |
---|---|---|---|
Priority: | major | Milestone: | version 0.6.0 |
Component: | mapdrivers/OSM | Version: | git master |
Severity: | normal | Keywords: | tunnel, underground |
Cc: |
Description
The patch attached adds the required functionality to be able to use tunnel extrapolation. Patch is from http://wiki.navit-project.org/index.php/Tunnel_Extrapolation
Once applied you will need to do two things:
1) Inside the <tracking ... > tag add tunnel_extrapolation="12". The value 12 = number of tenths of a second extrapolation per gps rate. You'll probably need to play with this number.
2) Re-process the OSM data with maptool to create a new binfile.
Attachments (1)
Change History (9)
Changed 11 years ago by korrosa
comment:1 Changed 11 years ago by korrosa
comment:2 Changed 11 years ago by korrosa
Note: This does not seem to work out in the field. I personally haven't tested it - just copying over from the wiki page so others could patch and comment in a more structured way...
comment:3 Changed 9 years ago by mvglasow (2)
Tried it on various releases (the last being r5333) and the cursor freezes as soon as I enter the tunnel, despite the road having the correct attributes.
What exactly does the tunnel_extrapolation="12" do? I didn't quite understand it from the description. Any suggestions to how I might tweak this number to make it work?
comment:4 Changed 9 years ago by usul
- Component changed from core to mapdrivers/OSM
- Keywords underground added
- Milestone set to version 0.5.1
- Owner changed from KaZeR to cp15
So this patch needs further work on.
P.S. From a designers POV, I request #1136 (fixing alpha) to represent tunnels in a soft style.
As it seem to be on the way, I schedule it for the next hotfix already.
comment:5 Changed 8 years ago by nezmi
- Severity set to normal
Please have a look at http://trac.navit-project.org/ticket/1232, if this might be a viable solution.
comment:6 Changed 8 years ago by mvglasow (2)
That sounds like a plan. I'd say put this one on hold, go ahead with #1232 and then see if there's anything left to do about tunnel extrapolation.
comment:7 Changed 5 years ago by http://wiki.navit-project.org/index.php/user:jkoan
- Milestone changed from version 0.5.1 to version 0.5.2
This ticket was pushed back in order to bring 0.5.1 out soon.
comment:8 Changed 3 years ago by http://wiki.navit-project.org/index.php/user:jkoan
- Milestone changed from version 0.5.2 to version 0.6.0
Ticket retargeted after milestone closed
...and ensure that the tunnel in OSM has tunnel=yes set!