Hi

Here is a patch to change some TYPE element numbers in default/points:

Changes are:

Always use 0x2f0c instead of 0x4e00 for amenity=toilet.
0x4e00 isn't findable. 0x2f0c is "Other:Rest Area/Tourist Info".

add:
tourism=resort [0x2b04 resolution 24]
This is searchable under the "Lodgings" > "Resort" category on some
devices

Use 0x3200 instead of 0x660f for barrier=bollard barrier=...etc.
0x660f is "Land Features:Pillar" and so they all show in FIND, making
searching for nearby features less useful. 0x3200 is a small point,
that can be labeled with the type of barrier

Regards
Ticker

Index: resources/styles/default/points
===================================================================
--- resources/styles/default/points	(revision 4265)
+++ resources/styles/default/points	(working copy)
@@ -156,8 +156,7 @@
 amenity=taxi [0x2f17 resolution 24]
 amenity=telephone [0x2f12 resolution 24 default_name 'Telephone']
 amenity=theatre [0x2d01 resolution 24]
-amenity=toilets & highway=rest_area [0x2f0c resolution 24]
-amenity=toilets [0x4e00 resolution 24 default_name 'Toilets']
+amenity=toilets [0x2f0c resolution 24 default_name 'Toilets']
 amenity=townhall [0x3003 resolution 24]
 amenity=university [0x2c05 resolution 24]
 # amenity=zoo is superceded by tourism=zoo
@@ -266,6 +265,7 @@
 tourism=wilderness_hut [0x2b07 resolution 24 default_name 'wilderness hut']
 tourism=museum [0x2c02 resolution 24]
 tourism=picnic_site [0x4a00 resolution 24]
+tourism=resort [0x2b04 resolution 24]
 tourism=theme_park [0x2c01 resolution 24]
 tourism=viewpoint {name '${name} - ${description}' | '${name}'} [0x2c04 resolution 24]
 tourism=wine_cellar [0x2c0a resolution 24]
@@ -329,8 +329,9 @@
 #amenity=fast_food & cuisine=* {add name='${cuisine|subst:"_=> "}'} [0x2a07 resolution 24]
 #amenity=fast_food [0x2a07 resolution 24]
 
-barrier=bollard | barrier=bus_trap | barrier=gate [0x660f resolution 24]
-barrier=block | barrier=cycle_barrier | barrier=stile | barrier=kissing_gate [0x660f resolution 24]
+barrier=bollard | barrier=bus_trap | barrier=gate | barrier=block | barrier=cycle_barrier |
+    barrier=stile | barrier=kissing_gate | barrier=lift_gate | barrier=swing_gate
+    {add name='${barrier|subst:"_=> "}'} [0x3200 resolution 24]
 
 landuse=basin | landuse=reservoir [0x650f resolution 24]
 
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to