Skip to content

Instantly share code, notes, and snippets.

@Semigradsky
Created April 20, 2023 11:12
Show Gist options
  • Save Semigradsky/49f9d23e9b676ff999e113bb41d6010d to your computer and use it in GitHub Desktop.
Save Semigradsky/49f9d23e9b676ff999e113bb41d6010d to your computer and use it in GitHub Desktop.
JOSM Tagging Preset for BY postboxes
<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0"
shortdescription="Postbox tagging for BY"
dk.shortdescription="Postbox tagging for BY"
description="Postbox tagging for BY"
author="unknown"
version="2023-04-20">
<group name="Postbox" dk.name="Postbox" icon="24px-Post_box-12_svg.png">
<item name="Почтовый ящик" ru.name="Почтовый ящик" type="node">
<label text="Почтовый ящик" ru.name="Почтовый ящик" />
<key key="amenity" value="post_box"/>
<text key="operator" text="operator" dk.text="operator" default='Белпошта' delete_if_empty="true"/>
<text key="operator:ru" text="operator:ru" dk.text="operator" default='Белпочта' delete_if_empty="true"/>
<text key="operator:be" text="operator:be" dk.text="operator:be" default='Белпошта' delete_if_empty="true"/>
<text key="operator:wikidata" text="operator:wikidata" dk.text="operator:wikidata" default='Q2662336' delete_if_empty="true"/>
<text key="ref" text="Инв.№ ящика" dk.text="Инв.№ ящика" default="" delete_if_empty="true"/>
<text key="ref:belpost" text="ID ящика на сайте белпочты" dk.text="ID ящика на сайте белпочты" default="" delete_if_empty="true"/>
<text key="collection_times" text="Время выемки писем" dk.text="Время выемки писем" default="" delete_if_empty="true"/>
<check key="drive_through" text="Возможность положить письма не выходя из машины" default="off" value_on="yes" value_off=""/>
<combo key="post_box:type" text="Тип почтового ящика" values_searchable="true" values_sort="false">
<list_entry value="wall" short_description="На стене" />
<list_entry value="lamp" short_description="На столбе" />
<list_entry value="pillar" short_description="В виду тумбы" />
</combo>
<combo key="post_box:design" text="Дизайн почтового ящика" values_searchable="true" values_sort="false" default="soviet">
<list_entry value="soviet" short_description="Классический советский" icon="Postbox_SPb.jpg"/>
<list_entry value="small_soviet" short_description="Уменьшенная модель советского почтового ящика для сельской местности" icon="Small_soviet_postbox.jpg"/>
</combo>
<text key="opening_hours" text="Для ящика, расположенного в помещении, время работы помещения" dk.text="Для ящика, расположенного в помещении, время работы помещения" default="" delete_if_empty="true"/>
<check key="indoor" text="Ящик расположен в помещении" default="off" value_on="yes" value_off=""/>
<space/>
</item>
</group>
</presets>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment