logo separator

[mkgmap-dev] Fwd: May be a rendering Problem of Ireland

From Gerd Petermann gpetermann_muenchen at hotmail.com on Tue Jan 25 19:18:20 GMT 2022

Hi Manfred,

Ireland seems full of relations like https://www.openstreetmap.org/relation/11000381
So, it's a good idea to exclude historic=yes like the default style does.

reg. area_size(): The default style contains e.g.
natural=water & area_size() < 100000 [0x41 resolution 22]  # Small Lake
place=island & name=* & area_size() < 1000000 [0x53 resolution 19]

If you only want to small historc objects use something similar.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Manfred Haiduk <dd8kq at gmx.de>
Gesendet: Dienstag, 25. Januar 2022 19:13
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Fwd: May be a rendering Problem of Ireland

Hi Gerd

i have slightly changed the style rule some years ago into

historic=* {add name='${historic|subst:"_=> "}'} [0x22 resolution 21]

I don't remember why. 😅 Just now i've made a short test with the ireland map while omitting that rule and its working. But, i must admit, i don't have any clue how to exclude large polygons with the area_size function. So, for the time beeing, i will still use the polygon style file without rendering 'historic' 😉

Am 25.01.2022 um 18:46 schrieb Gerd Petermann:

Hi Manfred,

if this rule causes this you may add a clause to exclude very large polygons. Maybe with the area_size() function.
historic=* & historic!=no & historic!=yes & boundary!=* {add name='${historic|subst:"_=> "}'} [0x22 resolution 21]

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Manfred Haiduk <dd8kq at gmx.de><mailto:dd8kq at gmx.de>
Gesendet: Dienstag, 25. Januar 2022 18:19
An: Development list for mkgmap
Betreff: [mkgmap-dev] Fwd: May be a rendering Problem of Ireland

Hi all

i just realized some problem rendering Ireland. As this is not a region i frequently used i saw this curiosity just recenty. What i've discovered, the problem is not hooked on a special version of bounds or sea-latest, nor on a specific mkgmap version, because i saw this on a map compiled in November last year (don't know which mkgmap version i have used) and also in a map created just now with mkgmap 4855 and freshly downloaded sea and bounds latest.

If i open the region in MapSource (highest detail level and 3Km Zoom or more) the map will be shown with polygon 0x22 (historic) as background but only in ireland and not in i.e Great Britain. See the Ireland Problem jpg File in the download area. Could this be a faulty style  or is it something else ?

Any comments are appreciated

 Mit freundlichen Grüßen

#####################################################
Manfred Haiduk,
Zum Fischbach 9,
52393 Hürtgenwald
e-mail mhaiduk at t-online.de<mailto:mhaiduk at t-online.de><mailto:mhaiduk at t-online.de><mailto:mhaiduk at t-online.de>
#####################################################
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


 Mit freundlichen Grüßen

#####################################################
Manfred Haiduk,
Zum Fischbach 9,
52393 Hürtgenwald
e-mail mhaiduk at t-online.de<mailto:mhaiduk at t-online.de>
#####################################################


More information about the mkgmap-dev mailing list