
Hi, in the lines rules I have this: <finalize> highway=* & name=* {set name_orig='${name}'} highway=* & route_type ~ '.*hiking.*' {name '${route_ref1|highway-symbol:oval} ${route_name|not-equal:route_ref1} [${name|not-equal:route_name}]' | '${route_ref1|highway-symbol:oval} ${route_name|not-equal:route_ref1}' | '${route_ref1|highway-symbol:oval}' | '${ref|highway-symbol:oval} ${route_name}' | '${route_name} [${name|not-equal:route_name}]' | '${route_name}' } name_orig=* {set mkgmap:label:3='${name_orig}'} name=* {name '${name}'} With the first line I preserve the name of the way and with the second line I set the tag name with the relation information. With the third line I would add the name_orig always like the second label but sometimes I see first and sometimes I see like second line... I don't understand why. <http://gis.19327.n5.nabble.com/file/n5804224/Immagine1.jpg> <http://gis.19327.n5.nabble.com/file/n5804224/Immagine2.jpg> How can I set the second label always a the same position? Thanks very much. --enrico -- View this message in context: http://gis.19327.n5.nabble.com/mkgmap-label-tp5804224.html Sent from the Mkgmap Development mailing list archive at Nabble.com.

On Sat, Apr 26, demon.box wrote:
How can I set the second label always a the same position?
Which of the labels is displayed at which time at which position depends on your Software or GPS firmware. It's different from device to device and you cannot influence that. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)

The images posted are from MapSource not from my GPS. I don't understand why on the same way the order of this labels change depending on the point. Thanks. --enrico -- View this message in context: http://gis.19327.n5.nabble.com/mkgmap-label-tp5804224p5804248.html Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi enrico,
Hi, in the lines rules I have this:
<finalize> highway=* & name=* {set name_orig='${name}'}
highway=* & route_type ~ '.*hiking.*' {name '${route_ref1|highway-symbol:oval} ${route_name|not-equal:route_ref1} [${name|not-equal:route_name}]' | '${route_ref1|highway-symbol:oval} ${route_name|not-equal:route_ref1}' | '${route_ref1|highway-symbol:oval}' | '${ref|highway-symbol:oval} ${route_name}' | '${route_name} [${name|not-equal:route_name}]' | '${route_name}' }
name_orig=* {set mkgmap:label:3='${name_orig}'}
name=* {name '${name}'}
With the first line I preserve the name of the way and with the second line I set the tag name with the relation information.
No you don't. Please have a look at the documentation. The action "name" is a shortcut for add mkgmap:label:1. So you add the tag mkgmap:label:1. The name tag is unchanged.
With the third line I would add the name_orig always like the second label but sometimes I see first and sometimes I see like second line... I don't understand why.
To be precise you set the third label (mkgmap:label:3). As long as the second label (mkgmap:label:2) is not set this will be changed to the second label. The fourth line is executed only if the first label mkgmap:label:1 is not already set because it is a shortcut for: name=* { add mkgmap:label:1 '${name}' }
<http://gis.19327.n5.nabble.com/file/n5804224/Immagine1.jpg>
<http://gis.19327.n5.nabble.com/file/n5804224/Immagine2.jpg>
How can I set the second label always a the same position? Thanks very much.
As Thorsten already mentioned it depends on the device which labels are displayed. WanMil
--enrico
-- View this message in context: http://gis.19327.n5.nabble.com/mkgmap-label-tp5804224.html Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Enrico, I don't think Mapsource can display secondary labels. What you see are 2 primary labels from 2 different objects. -- Best regards, Andrzej

Hi Andrzej, I'm sure that in the images posted are displayed 2 labels of the same object. What a pity that we can not assign a secondary label... Thanks. --enrico -- View this message in context: http://gis.19327.n5.nabble.com/mkgmap-label-tp5804224p5804325.html Sent from the Mkgmap Development mailing list archive at Nabble.com.
participants (4)
-
Andrzej Popowski
-
demon.box
-
Thorsten Kukuk
-
WanMil