[mkgmap-dev] line rule not being triggered
From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat Feb 24 17:41:59 GMT 2018
Hi Ticker, I can reproduce the error with other style functions as well. This pattern seems not to work: a=* & style_func()=val {...} This works fine a=* & style_func()!=val {...} or a=* & style_func()>val {...} @Steve: I assume that the problem is in the rule optimizer? Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Ticker Berkin <rwb-mkgmap at jagit.co.uk> Gesendet: Samstag, 24. Februar 2018 13:36:26 An: mkgmap development Betreff: [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
- Previous message: [mkgmap-dev] line rule not being triggered
- Next message: [mkgmap-dev] line rule not being triggered
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list