Hi Greg,
why do you want to “free” some routeable line types?
If it is just for different display options, you can do another trick.
I am using 0x0c as an invisible line type just for routing purpose,
and non-routeable overlay linetypes to display roundabouts how they should look
like.
highway=trunk & junction=roundabout [0x0c
road_class=3 road_speed=2 resolution 24 continue with_actions]
highway=trunk & junction=roundabout [0x10202
resolution 17]
highway=primary & junction=roundabout [0x0c
road_class=3 road_speed=1 resolution 24 continue with_actions]
highway=primary & junction=roundabout [0x10302
resolution 17]
highway=secondary & junction=roundabout [0x0c
road_class=2 road_speed=1 resolution 24 continue with_actions]
highway=secondary & junction=roundabout [0x10402
resolution 18]
highway=tertiary & junction=roundabout [0x0c
road_class=1 road_speed=1 resolution 24 continue with_actions]
highway=tertiary & junction=roundabout [0x10502
resolution 19]
highway=unclassified & junction=roundabout [0x0c
road_class=0 road_speed=1 resolution 24 continue with_actions]
highway=unclassified & junction=roundabout [0x10602
resolution 21]
highway=residential & junction=roundabout [0x0c
road_class=0 road_speed=1 resolution 24 continue with_actions]
highway=residential & junction=roundabout [0x10702
resolution 22]
You can use the same trick for all other routing lines also.
With a similiar trick (invisible main POI + visible overlay POIs) you can also
club together POIs with different Icons to the same POI-List entry.
Walter
From: Gerd Petermann
Sent: Thursday, March 03, 2016 6:30 AM
To: Development list for mkgmap
Subject: Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD
SPEED's for one linetype.
Hi Greg,
my understanding is that Garmin treats 0x0c special to produce the "leave
roundabout at the nth ..." hints,
the same for 0x08 and 0x09 to produce the other exit hints. The calculation of
the "nth" exit requires special logic,
that's why roundabouts need a special type.
Gerd
--------------------------------------------------------------------------------
Von: [email protected]
<[email protected]> im Auftrag von greg crago
<[email protected]>
Gesendet: Donnerstag, 3. März 2016 00:10
An: Development list for mkgmap
Betreff: [mkgmap-dev] Question about using different ROAD CLASS's and ROAD
SPEED's for one linetype.
I noticed that I have one linetype (0x0c) for roundabouts and it had many
different ROAD CLASS and ROAD SPEED
# Roundabouts
junction=roundabout & (highway=trunk | highway=trunk_link) [0x2a resolution 18
continue]
junction=roundabout & (highway=trunk | highway=trunk_link) [0x0c road_class=3
road_speed=2 resolution 18]
junction=roundabout & (highway=primary | highway=primary_link) [0x2d resolution
18 continue]
junction=roundabout & (highway=primary | highway=primary_link) [0x0c
road_class=3 road_speed=1 resolution 18]
junction=roundabout & (highway=secondary | highway=secondary_link) [0x2e
resolution 20 continue]
junction=roundabout & (highway=secondary | highway=secondary_link) [0x0c
road_class=2 road_speed=1 resolution 20]
junction=roundabout & (highway=tertiary | highway=tertiary_link) [0x2f
resolution 20 continue]
junction=roundabout & (highway=tertiary | highway=tertiary_link) [0x0c
road_class=1 road_speed=1 resolution 20]
junction=roundabout & (highway=unclassified | highway=residential |
highway=minor | highway=living_street) [0x25 resolution 22 continue]
junction=roundabout & (highway=unclassified | highway=residential |
highway=minor | highway=living_street) [0x0c road_class=1 road_speed=1
resolution 22]
I also have 2 other linetypes for HIGH SPEED RAMPS (0x09) and LOW SPEED RAMPS
(0x08):
highway=motorway_link [0x09 road_class=4 road_speed=7 resolution 15]
highway=trunk_link [0x09 road_class=4 road_speed=5 resolution 18]
highway=primary_link [0x08 road_class=3 road_speed=1 resolution 18]
highway=secondary_link [0x08 road_class=2 road_speed=1 resolution 19]
MY QUESTION:
Can I combine all of these different ROAD_CLASS and ROAD_SPEED together using
0x0c and free up 2 routable linetypes? Yes, all the map elements would like the
same.
Greg
--------------------------------------------------------------------------------
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev