logo separator

[mkgmap-dev] Bug: Restaurant with internet_access=no makes 2 POIs

From Marko Mäkelä marko.makela at iki.fi on Sat Jan 15 19:05:03 GMT 2011

On Sat, Jan 15, 2011 at 05:57:41PM +0700, Peter Hendricks wrote:
>Please take a look at node 1036928678. It's a restaurant with the key 
>internet_access=no. On the map there are 2 POIs: the restaurant, plus a 
>communications facility with label 'No' followed by the restaurant 
>name.

The idea was that you could tag internet_access=wlan or 
internet_access=ethernet or similar. Can you try this fix:

Index: resources/styles/default/points
===================================================================
--- resources/styles/default/points	(revision 1776)
+++ resources/styles/default/points	(working copy)
@@ -8,7 +8,7 @@
  # and http://wiki.openstreetmap.org/wiki/Mkgmap/help/Custom_styles
  # for more information.
  
-internet_access=* { name '${internet_access|subst:yes=>Internet} ${name|def:}' } [0x2f12 resolution 21 continue]
+internet_access=* & internet_access!=no { name '${internet_access|subst:yes=>Internet} ${name|def:}' } [0x2f12 resolution 21 continue]
  
  #aeroway=airport [0x5900 resolution 20]
  aeroway=airport [0x2f04 resolution 20]

Best regards,

	Marko



More information about the mkgmap-dev mailing list