logo separator

[mkgmap-dev] How to make a scale-dependent TYP style?

From Niccolo Rigacci niccolo at rigacci.org on Sat Apr 4 18:55:55 BST 2020

On Sat, Apr 04, 2020 at 03:30:05PM +0200, Arndt Röhrig wrote:
>
> you must create an own type for each zoom-level.
>
> highway=motorway [0x1 resolution 24 continue]
> highway=motorway [0x10101 resolution 23-20 continue]
> highway=motorway [0x10102 resolution 19-18]

Thanks Arndt, this make sense!

But if I read the source file for the default style 
(resources/styles/default/lines) I see only one definition for 
(e.g.) highway=secondary:

highway=secondary [0x04 road_class=2 road_speed=3 resolution 20]

there are not other definitions for other resolutions! However 
secondary roads are rendered with increasing sizes, starting from 
resolution 20 to greather ones.

B.t.w. where can I find the default TYP file used by mkgmap?

-- 
Niccolo Rigacci - http://www.rigacci.net/
Campi Bisenzio - Firenze - Italy
Tel. Mobile: +39-327-5619352


More information about the mkgmap-dev mailing list