logo separator

[mkgmap-dev] line rule not being triggered

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Mon Feb 26 09:28:25 GMT 2018

Hi Joris

Thanks for this - I've looked through it.

Generally, getting area=yes set for man_made=* gives me the
representation I want for piers - they drop-through into polygons. I'm
happy with single-line piers turning into walkways.  

I try to keep my style as close as possible to 'default'

Ticker

On Sun, 2018-02-25 at 17:20 +0000, Joris Bo wrote:
> Hello Ticker
> 
> I spent a lot of time on the 'pier and pedestrian' issue .
> In the pdf you'll find the result for my style and typ on your pier
> area. Is this what you mean?
> 
> You'll find my complete style and typ on gitthub. It's an almost 100%
> match between garmin and OSM default style.
> 
> Next couple of days I'll update gitthub to the style changes version
> 4.8 of 23 feb 2018
> 
> https://github.com/Jorisbo/Mkgmap-Mapnik-Style-Garmin
> 
> Joris
> 
> 
> 
> -----Oorspronkelijk bericht-----
> Van: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> Namens
> Ticker Berkin
> Verzonden: zaterdag 24 februari 2018 13:36
> Aan: mkgmap development <mkgmap-dev at lists.mkgmap.org.uk>
> Onderwerp: [mkgmap-dev] line rule not being triggered
> 
> Hi
> 
> I noticed that the default style was putting walkways around some
> piers because of the line rule:
> 
> (man_made=pier | man_made=piste:halfpipe) & area!=yes {add
> highway=footway; name '${ref} ${name}' | '${ref}' | '${name}' }
> 
> an example is:
> WAY: 469580183 (50.73379039764404/-1.2820744514465332)
> [man_made=pier, mkgmap:admin_level10=Whippingham,
> mkgmap:admin_level2=GBR, mkgmap:admin_level4=England,
> mkgmap:admin_level5=South East, mkgmap:admin_level6=Isle of Wight,
> name=Folly Pier]
> 
> which is using a closed way to draw the pier (and also has a defined
> footpath along it)
> 
> Earlier on in my lines file I have:
> 
> # mark multipolygons as area
> mkgmap:mp_created=true {add area=yes}
> 
> highway=* & area!=* & is_closed()=true {echotags 'closed() highway';
> add area=yes}
> 
> and so added the following to fix the problem:
>   
> man_made=* & is_closed()=true {add area=yes; echotags 'mm'}
> 
> but this rule isn't being triggered by my example, but if I replace
> it
> with:
> 
> name="Folly Pier" & is_closed()=true {add area=yes; echotags 'fp'}
> 
> Then it behaves as expected
> 
> I'm using the latest svn trunk (4127)
> 
> Any ideas?
> 
> Thanks
> Ticker
> 
> 
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list