Opened 14 years ago
Closed 12 years ago
#402 closed enhancement/feature request (fixed)
maptool: use highway_city for trunks
Reported by: | niccolo | Owned by: | KaZeR |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | core | Version: | git master |
Severity: | Keywords: | ||
Cc: |
Description
The current version of osm2navit maps highway=trunk (OSM classification) to street_4_city (Navit classification).
This causes OpenStreetMap trunks to be the same as primary roads in Navit.
I suggest to use the following mapping instead:
highway=motorway highway_land highway=trunk highway_city
In this way we can use a style to differentiate them.
Using the current default style, the proposed patch will display trunks as motorways, a better choice in my opinion.
Attachments (3)
Change History (8)
Changed 14 years ago by niccolo
comment:1 Changed 14 years ago by niccolo
- Summary changed from osm2navit: use highway_land for trunks to osm2navit: use highway_city for trunks
comment:2 Changed 14 years ago by niccolo
comment:3 Changed 12 years ago by korrosa
I agree with this ticket, and have implemented it in my own copy. Patch attached for osm.c against svn r3838.
This also requires changing the layouts in Navit.xml slightly so that trunk roads show up differently to motorways. I've uploaded the changes to my OSM layout to the wiki: http://wiki.navit-project.org/index.php/Layout/mapnik
Changed 12 years ago by korrosa
comment:4 Changed 12 years ago by korrosa
- Summary changed from osm2navit: use highway_city for trunks to maptool: use highway_city for trunks
Changed 12 years ago by korrosa
comment:5 Changed 12 years ago by korrosa
- Resolution set to fixed
- Status changed from new to closed
Since r4567 (http://navit.svn.sourceforge.net/navit/?rev=4567&view=rev) Navit now uses street_n_lanes for highway=trunk.
I annotated the proposed change in this wikipage too.