Road name depending on the zoom level

Hello all, I am a newbie to mkgmap. I am trying to modify some existing style files to have a better rendering result on my Nuvi 765. What I want to have is to display the small village name at lower zoom level. Therefore, I tried to modify the argument: place=village [0x0b00 resolution 16] However, no matter how I changed the resolution value, there was always some village not displaying at some specific zoom levels. Then I realized it could be probably masked/obscured by some very long road name. I am wondering is there a way to make it show only the road ref. ( ex. D119) at lower zoom level and the road name (ex. Avenue Aristide Briand) at higher zoom ? It is logic that at lower zoom level , we are usually looking for trip itinerary and we need the road ref number for highway, motorway. While at higher zoom level we are looking for address and we need the road/street name. Cheers, Zong

On Wed, Aug 24, Qingzong TSENG wrote:
Hello all,
I am a newbie to mkgmap. I am trying to modify some existing style files to have a better rendering result on my Nuvi 765. What I want to have is to display the small village name at lower zoom level. Therefore, I tried to modify the argument: place=village [0x0b00 resolution 16] However, no matter how I changed the resolution value, there was always some village not displaying at some specific zoom levels.
I don't know about the Nuvi 765, but with the 60CSx and 62s, it is hardcoded in the firmware when something will be displayed and when not. You can only modify it with the firmware options (details of zoom level or so). Thorsten -- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)

You can do something like this in your lines style file: highway = primary {set name = '${name}' | '${ref}' | ''} [0x03 road_class=3 road_speed=5 resolution 24 continue with_actions] highway = primary {set name = '${name}' | '${ref}' | ''} [0x01040e resolution 23 continue with_actions] highway = primary {set name = '${ref}' | ''} [0x010f0e resolution 22 continue with_actions] highway = primary {set name = ''} [0x010f0f resolution 20] Option: You can make the street labels invisible (for a specific zoom level) in your TYP file. Klaus -- View this message in context: http://gis.638310.n2.nabble.com/Road-name-depending-on-the-zoom-level-tp6722... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Thanks Klaus, it worked ,at least in some cases...... For example, I found that once the motorway graphic label has been set (using name '${ref|highway-symbol:hbox}' ), it will appear on all the low zoom levels and I can't set it invisible or change it to normal text label. Anyway, using this method I can set the primary and secondary road showing the ref. number at medium zoom and ref+name at highest zoom. Cheers, Zong -- View this message in context: http://gis.638310.n2.nabble.com/Road-name-depending-on-the-zoom-level-tp6722... Sent from the Mkgmap Development mailing list archive at Nabble.com.
participants (4)
-
Qingzong TSENG
-
qzt
-
Thorsten Kukuk
-
toc-rox