Hello Gerd,

Thx a lot, problem solved
I recompiled with the rules from the default style and shields are displayed 
reasonable again.

Some months ago I copied this part from 'Generic New Style on 
garmin.openstreetmap.nl'


Gr Joris



,

-----Oorspronkelijk bericht-----
Van: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> Namens Gerd Petermann
Verzonden: maandag 12 maart 2018 11:21
Aan: Development list for mkgmap <mkgmap-dev@lists.mkgmap.org.uk>
Onderwerp: Re: [mkgmap-dev] Limit the number of highway shields in basecamp and 
gps

Hi Joris,

sorry, don't understand this. Do you use these rules in your style or do you 
propose to use them ?
They seem to duplicate the highway shields.
Please compare with the rules in the default style:
# Display highway shield for mayor roads if they have a ref and make them 
searchable by their name (highway=motorway | highway=trunk) & ref=* { name 
'${ref|highway-symbol:hbox}'; addlabel '${name}' } highway=primary & ref=* { 
name  '${ref|highway-symbol:box}'; addlabel '${name}' } (highway=secondary | 
highway=tertiary) & ref=* { name '${ref|highway-symbol:oval}'; addlabel 
'${name}' }

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Joris 
Bo <jori...@hotmail.com>
Gesendet: Montag, 12. März 2018 09:54:19
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Limit the number of highway shields in basecamp       
and gps

Hallo Gerd



Changing the detailed-level in basecamp does help but has also impacts on the 
rest. It's actually shifting the 'problem' to a different zoomlevel.

Basecamp or  my Oregon decides where to show such shields but no idea which 
mechanism is used to calculate such and if its possible to influence that 
behaviour when building the map..



Example

Screenshot shows city of Bilbao (N43° 17.489' W3° 00.430') in northern Spain at 
basecamp level 'Average'

Motorway, Trunks and primary all have different highway shield s

For example:  Having 2 to 4 shields of N-634 would be enough.



highway = motorway {name '${ref | highway-symbol:hbox} ${name}' | '${ref | 
highway-symbol:hbox}' | '${name}'}

highway = motorway {name '${ref | highway-symbol:hbox} ${name}' | '${ref | 
highway-symbol:hbox}' | '${name}'}

highway = trunk {name '${ref|highway-symbol:hbox} ${name}' | 
'${ref|highway-symbol:hbox}' | '${name}'; addlabel '${name} (${ref})'}

highway = trunk {name '${ref|highway-symbol:hbox} ${name}' | 
'${ref|highway-symbol:hbox}' | '${name}'; addlabel '${name} (${ref})'}

highway = primary {name '${ref|highway-symbol:box} ${name}' | 
'${ref|highway-symbol:box}' | '${name}'; addlabel '${name} (${ref})'}

highway = primary {name '${ref|highway-symbol:box} ${name}' | 
'${ref|highway-symbol:box}' | '${name}'; addlabel '${name} (${ref})'}

highway = secondary | highway = tertiary {name '${ref|highway-symbol:oval} 
${name}' | '${ref|highway-symbol:oval}' | '${name}'; addlabel '${name} 
(${ref})'}

highway = secondary | highway = tertiary {name '${ref|highway-symbol:oval} 
${name}' | '${ref|highway-symbol:oval}' | '${name}'; addlabel '${name} 
(${ref})'}





[cid:image001.png@01D3B9E7.8A3A3210]







-----Oorspronkelijk bericht-----
Van: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> Namens Gerd Petermann
Verzonden: maandag 12 maart 2018 09:24
Aan: Development list for mkgmap <mkgmap-dev@lists.mkgmap.org.uk>
Onderwerp: Re: [mkgmap-dev] Limit the number of highway shields in basecamp and 
gps



Hi Joris,



the ony switch that I know is the "map detail (level)" (ranges from lowest to 
highest). No idea if that helps.

If not, please provide the location of such an area.



Gerd



________________________________________

Von: mkgmap-dev 
<mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk>>
 im Auftrag von Joris Bo <jori...@hotmail.com<mailto:jori...@hotmail.com>>

Gesendet: Montag, 12. März 2018 09:17:36

An: Development list for mkgmap

Betreff: [mkgmap-dev] Limit the number of highway shields in basecamp and gps



Hello



Is there a way to limit the number (or extend the distance) of highway shields 
in basecamp?

On some zoomlevels the usage of ${ref | highway-symbol:hbox}' generates so many 
boxes, making the map difficult to read.





Thx

Joris



_______________________________________________

mkgmap-dev mailing list

mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________

mkgmap-dev mailing list

mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to