The attached patch makes shop=alcohol appear as shop=beverages in JOSM. According to http://wiki.openstreetmap.org/wiki/Tag:shop%3Dalcohol these two values of shop are equivalent, with the exception that shop=alcohol has a government license. In those countries where such a license is needed, shop=beverages would only sell beverages containing little or no alcohol.
Please apply the patch. Marko
Index: core/presets/presets.xml =================================================================== --- core/presets/presets.xml (revision 1521) +++ core/presets/presets.xml (working copy) @@ -2427,6 +2427,11 @@ See also http://josm.openstreetmap.de/wi <key key="shop" value="organic" /> <text key="name" text="Name" default="" delete_if_empty="true" /> </item> + <item name="Alcohol" icon="presets/empty.png" type="node,closedway"> + <label text="Edit Alcohol Shop" /> + <key key="shop" value="alcohol" /> + <text key="name" text="Name" default="" delete_if_empty="true" /> + </item> <item name="Beverages" icon="presets/empty.png" type="node,closedway"> <label text="Edit Beverages Shop" /> <key key="shop" value="beverages" /> Index: core/styles/standard/elemstyles.xml =================================================================== --- core/styles/standard/elemstyles.xml (revision 1521) +++ core/styles/standard/elemstyles.xml (working copy) @@ -2235,6 +2235,14 @@ in case they have same priority! Using p </rule> <rule> + <condition k="shop" v="alcohol"/> + <icon annotate="true" src="shop/beverages.png"/> + <area colour="shop#00005f"/> + <scale_min>1</scale_min> + <scale_max>50000</scale_max> + </rule> + + <rule> <condition k="shop" v="beverages"/> <icon annotate="true" src="shop/beverages.png"/> <area colour="shop#00005f"/>
_______________________________________________ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev