wiki:Presets/PublicTransport_Belarus_BY

Public Transport of Belarus

The purpose of these presets is to facilitate the mapping of public transport stops, platforms and routes in the Republic of Belarus in accordance with the PTv2 scheme with additional reservations developed by the Minsk OSM community.

All presets provide a dialog to set the proper tags. After applying a preset, some inappropriate tags are deleted.

Presets are localized to English, Russian and Belarusian.

Supported Tags

The preset code

The preset code is a significantly redesigned version of the preset PublicTransport_Minsk_BY by iRewer.

<?xml version="1.0" encoding="UTF-8"?>
<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0"
    shortdescription="Public Transport of Belarus (BY)"
        ru.shortdescription="Общественный транспорт Беларуси"
        be.shortdescription="Грамадскі транспарт Беларусi"
    description="Templates for public transport mapping in Belarus' cities and their suburbs"
        ru.description="Шаблоны для картирования остановок общественного транспорта городах Беларуси и их окрестностях"
        be.description="Шаблоны для маппінга прыпынкаў грамадскага транспарту ў гарадах Беларусi і бліжэйшым наваколлі"
    link="https://wiki.openstreetmap.org/wiki/RU:Belarus:Общественный_транспорт_Беларуси"
    icon="BY_PT.png"
    author="Korney San (основа - iRewer)"
    version="1.5_2022-02-11"
    >

<!-- Belarus Public Transport chunks' definition -->
    <!-- Tags for PT names -->
    <chunk
        id="BY_PT_names"
        >
        <text
            key="name"
            text="Name"
                ru.text="Наименование"
                be.text="Назоў"
            />
        <text
            key="name:ru"
            text="Name (ru)"
                ru.text="Наименование (рус.)"
                be.text="Назоў (рус.)"
            default="-"
            />
        <text
            key="name:be"
            text="Name (be)"
                ru.text="Наименование (бел.)"
                be.text="Назоў (бел.)"
            default="-"
            />
        <text
            key="int_name"
            text="International name"
                ru.text="Международное наименование"
                be.text="Міжнародны назоў"
            default="-"
            />
    </chunk> <!-- /BY_PT_names -->
    <chunk
        id="BY_PT_names_route"
        >
        <text
            key="name"
            text="Name"
                ru.text="Наименование"
                be.text="Назоў"
            value_template="?{route=bus 'Автобус'|route=trolleybus 'Троллейбус'|'Тип\?'} № {ref}: {from} ?{roundtrip=yes '(кольцевой)'| '→ {to}'}"
            value_template_filter="type=route route=bus route=trolleybus"
            />
        <text
            key="name:ru"
            text="Name (ru)"
                ru.text="Наименование (рус.)"
                be.text="Назоў (рус.)"
            value_template="?{route=bus 'Автобус'|route=trolleybus 'Троллейбус'|'Тип\?'} № {ref}: {from} ?{roundtrip=yes '(кольцевой)'| '→ {to}'}"
            value_template_filter="type=route route=bus route=trolleybus"
            />
        <text
            key="name:be"
            text="Name (be)"
                ru.text="Наименование (бел.)"
                be.text="Назоў (бел.)"
            default="-"
            />
        <text
            key="int_name"
            text="International name"
                ru.text="Международное наименование"
                be.text="Міжнародны назоў"
            default="-"
            />
    </chunk> <!-- /BY_PT_names_route -->
    <!-- Tags for PT descriptions -->
    <chunk
        id="BY_PT_descriptions"
        >
        <text
            key="description"
            text="Description"
                ru.text="Описание"
                be.text="Апісанне"
            />
        <text
            key="description:ru"
            text="Description (ru)"
                ru.text="Описание (рус.)"
                be.text="Апісанне (рус.)"
            default="-"
            />
        <text
            key="description:be"
            text="Description (be)"
                ru.text="Описание (бел.)"
                be.text="Апісанне (бел.)"
            default="-"
            />
    </chunk> <!-- /BY_PT_descriptions -->
    <!-- Tags for PT operators -->
    <chunk
        id="BY_PT_operators"
        >
        <combo
            key="operator" 
            text="Operator"
                ru.text="Оператор"
                be.text="Аператар"
            values_sort="false"
            values_searchable="true"
            editable="true"
            use_last_as_default="true"
            >
            <!-- Brest -->
            <list_entry value="КТУП «Брестгортранс»" icon="Brest_Bgt_24.png" />
            <!-- Vitebsk -->
            <list_entry value="ВОКТУП «Оператор перевозок" icon="Vitebsk_OP_24.png" />
            <!-- Gomel -->
            <list_entry value="КТУП «Гомельоблпассажиртранс»" icon="Gomel_GOPT_24.png" />
            <!-- Grodno -->
            <list_entry value="ГОКТУП «Оператор пассажирских перевозок»" icon="Grodno_24" />
            <!-- Minsk -->
            <list_entry value="ГП «Столичный транспорт и связь»" icon="Minsk_STS_24.png" />
            <!-- Mogilev -->
            <list_entry value="ОАО «АТЭК — Могилёв»" icon="Mogilev_ATEK_24.png" />
        </combo>
    </chunk> <!-- /BY_PT_operators -->
    <!-- Tags for PT points -->
    <chunk
        id="BY_PT_point"
        >
        <reference
            ref="BY_PT_names"
            />
        <text
            key="ref"
            text="Stop ID"
                ru.text="ID остановки"
                be.text="ID прыпынку"
            default="?"
            />
        <text
            key="ref:minsktrans"
            text="Stop ID (Minsktrans)"
                ru.text="ID (Минсктранс)"
                be.text="ID (Мінсктранс)"
            default="?"
            />
        <reference
            ref="BY_PT_operators"
            />
    </chunk> <!-- /BY_PT_point -->
    <!-- Tags for PT check dates -->
    <chunk
        id="BY_PT_date_of_check"
        >
        <text
            key="BY_PT:checked"
            text="Last check date (YYYY-MM-DD)"
                ru.text="Дата проверки (YYYY-MM-DD)"
                be.text="Дата праверкі (YYYY-MM-DD)"
            default="not yet"
                ru.default="не проверено"
                be.default="не праверана"
            use_last_as_default="true"
            />
    </chunk> <!-- /BY_PT_date_of_check -->
    <!-- Tags for PT notes -->
    <chunk
        id="BY_PT_note"
        >
        <key
            key="BY_PT:note"
            value="Тэги типа &quot;BY_PT...&quot; - временные, для внесения ОТ Беларуси! Не удаляйте их - они будут удалены позже."
            match="keyvalue"
            />
    </chunk> <!-- /BY_PT_note -->
    <!-- Tags for PT equipment remove -->
    <chunk
        id="BY_PT_equipment_remove"
        >
        <!-- tags to remove if exists -->
        <key
            key="shelter"
            value=""
            match="none"
            />
        <key
            key="bench"
            value=""
            match="none"
            />
        <key
            key="bin"
            value=""
            match="none"
            />
        <key
            key="toilets"
            value=""
            match="none"
            />
    </chunk> <!-- /BY_PT_equipment_remove -->
    <!-- Tags for PT way passability -->
    <chunk
        id="BY_PT_way_passability"
        >
        <!-- tags to remove if exists -->
        <key
            key="name"
            value=""
            match="none"
            />
        <key
            key="name:ru"
            value=""
            match="none"
            />
        <key
            key="name:be"
            value=""
            match="none"
            />
        <key
            key="int_name"
            value=""
            match="none"
            />
        <reference
            ref="BY_PT_equipment_remove"
            />
        <key
            key="departures_board"
            value=""
            match="none"
            />
        <!-- fixed tags -->
        <key
            key="highway"
            value="footway"
            />
        <space />
        <check
            key="bicycle"
            text="Bicycles"
                ru.text="Велосипеды"
                be.text="Ровары"
            disable_off="true"
            />
    </chunk> <!-- /BY_PT_way_passability -->
    <!-- Tags for PT platforms -->
    <chunk
        id="BY_PT_platform_surface"
        >
        <check
            key="public_transport"
            text="Mark as platform"
                ru.text="Пометить как платформу"
                be.text="Пазначыць як платформу"
            value_on="platform"
            disable_off="true"
            />
        <check
            key="footway"
            text="A part of sidewalk"
                ru.text="Часть тротуара"
                be.text="Частка тратуару"
            value_on="sidewalk"
            disable_off="true"
            />
        <combo
            key="surface"
            text="Surface"
                ru.text="Покрытие"
                be.text="Пакрыццё"
            values="paved,asphalt,concrete,concrete:plates,concrete:lanes,paving_stones,sett,cobblestone,wood,metal,grass_paver,unpaved,compacted,fine_gravel,gravel,pebblestone,ground,dirt,mud,sand,grass"
                ru.display_values="- с твёрдым покрытием,асфальтобетон,бетон,бетонные плиты,две колеи из плит,плитка,брусчатка,булыжник,деревянное,металлическое,мощение решётками с травой,- без твёрдого покрытия,улучшенное грунтово-гравийное,мелкогравийное,гравийное,галечное,грунтовое земляное,влажное грязевое,вязкое грязевое,песчаное,травяное"
                be.display_values="- з цвёрдым пакрыццём,асфальтабетон,бетон,бетонныя пліты,дзве каляіны з плітаў,формавая плітка,брукаванка,каменнае,драўлянае,металічнае,рашоткі з травою,- без цвёрдага пакрыцця,палепшанае грунтава-жвіравае,дробнажвіравае,жвіравае,галечнікавае,глебавае,мокрае гразевае,вязкае гразевае,пясчанае,травяное"
            values_sort="false"
            />
    </chunk> <!-- /BY_PT_platform_surface --> 
    <!-- Tags for PT timetables -->
    <chunk
        id="BY_PT_timetables"
        >
        <list_entry
            value="yes"
            short_description="some uncertain/unknown"
                ru.short_description="есть, но неизвестно какое"
                be.short_description="ёсць, але невядома якi"
            icon="timetable_yes.png"
            icon_size="25"
            />
        <list_entry
            value="delay"
            short_description="only delay intervals"
                ru.short_description="указаны лишь интервалы движения"
                be.short_description="пазначаныя толькі інтэрвалы руху"
            icon="timetable_delay.png"
            icon_size="25"
            />
        <list_entry
            value="timetable"
            short_description="specific times"
                ru.short_description="есть точное расписание маршрута/маршрутов"
                be.short_description="ёсць дакладны расклад для маршрута/маршрутаў"
            icon="timetable_timetable.png"
            icon_size="25"
            />
        <list_entry
            value="realtime"
            short_description="realtime arrivals monitor"
                ru.short_description="есть электронное табло со временем прибытия"
                be.short_description="ёсць электронае табло з часам прыбыцця"
            icon="timetable_realtime.png"
            icon_size="25"
            />
        <list_entry
            value="no"
            short_description="no timetable"
                ru.short_description="нет расписаний"
                be.short_description="няма раскладаў"
            icon="timetable_no.png"
            icon_size="25"
            />
    </chunk> <!-- /BY_PT_timetables -->
    <!-- Tags for PT stations -->
    <chunk
        id="BY_PT_station_common"
        >
        <reference
            ref="BY_PT_names"
            />
        <reference
            ref="BY_PT_operators"
            />
    </chunk> <!-- /BY_PT_station_common -->
    <chunk
        id="BY_PT_bus_stations_legacy"
        >
        <check
            key="amenity"
            value_on="bus_station"
            value_off=""
            default="yes"
            match="keyvalue"
            text="PTv1 legacy (amenity=bus_station)"
                ru.text="Совместимость с PTv1 (amenity=bus_station)"
                be.text="Сумяшчальнасць з PTv1 (amenity=bus_station)"
            />
    </chunk> <!-- /BY_PT_bus_stations_legacy -->
    <!-- Tags for PT route transport types -->
    <chunk
        id="BY_PT_route_transport_type"
        >
        <list_entry value="bus" icon="presets/transport/bus.svg"/>
        <list_entry value="trolleybus" icon="presets/transport/trolleybus.svg"/>
        <list_entry value="tram" icon="presets/transport/railway/tram.svg"/>
        <list_entry value="share_taxi" icon="presets/transport/share_taxi.svg"/>
        <list_entry value="subway" icon="presets/transport/railway/subway.svg"/>
        <list_entry value="train" icon="presets/transport/train.svg"/>
        <!--
        <list_entry value="light_rail" />
        <list_entry value="monorail" />
        <list_entry value="funicular" />
        <list_entry value="aerialway" />
        <list_entry value="ferry" />
        -->
    </chunk> <!-- /BY_PT_route_transport_type -->
    <!-- Tags for PT route -->
    <chunk
        id="BY_PT_route_common_1"
        >
        <reference
            ref="BY_PT_names"
            />
        <text
            key="ref"
            text="Reference number"
                ru.text="Обозначение (ref)"
                be.text="Абазначэнне (ref)"
            default="?"
            />
    </chunk> <!-- /BY_PT_route_common_1 -->
    <chunk
        id="BY_PT_route_route"
        >
        <reference
            ref="BY_PT_names_route"
            />
        <text
            key="ref"
            text="Reference number"
                ru.text="Обозначение (ref)"
                be.text="Абазначэнне (ref)"
            default="?"
            />
    </chunk> <!-- /BY_PT_route_route -->
    <chunk
        id="BY_PT_route_common_2"
        >
        <combo
            key="colour" 
            text="Color"
            values_sort="false"
            values_searchable="true"
            editable="true"
            use_last_as_default="true"
            values="black,gray,maroon,olive,green,teal,navy,purple,silver,red,yellow,lime,aqua,blue,fuchsia,white"
                ru.display_values="чёрный,серый,тёмно-бордовый,оливковый,зелёный,бирюзовый,тёмно-синий,фиолетовый,серебристый,красный,жёлтый,известковый,морской волны,синий,малиновый,белый"
                be.display_values="чорны,шэры,цёмна-бардовы,аліўкавы,зялёны,бірузовы,цёмна-сіні,фіялетавы,серабрысты,чырвоны,жоўты,вапнавы,марской хвалі,сіні,малінавы,белы"
            match="none"
            />
        <space />
        <reference
            ref="BY_PT_operators"
            />
        <combo
            key="service" 
            text="Service area"
                ru.text="Зона обслуживания"
                be.text="Зона абслугоўвання"
            values_sort="false"
            values_searchable="true"
            editable="true"
            use_last_as_default="true"
            values="city,commuter,regional,intercity,long_distance"
                ru.display_values="город,пригород,область,межгород,дальний"
                be.display_values="горад,прыгарад,вобласць,міжгарад,дальні"
            />
        <multiselect 
            key="network" 
            text="Network"
            editable="true"
            default=""
            rows="5"
            >
            <list_entry 
                value="" 
                display_value="- clear -"
                    ru.display_value="- очистить -"
                    be.display_value="- ачысціць -"
                />
            <list_entry value="BY:01:regional" />
            <list_entry value="BY:02:regional" />
            <list_entry value="BY:03:regional" />
            <list_entry value="BY:04:regional" />
            <list_entry value="BY:05:regional" />
            <list_entry value="BY:06:regional" />
            <list_entry value="BY:07:regional" />
        </multiselect>
        <text
            key="description"
            text="Description"
            default=""
            />
        <space />
        <text
            key="interval"
            text="Interval (M, MM, HH:MM, or HH:MM:SS)"
            />
    </chunk> <!-- /BY_PT_route_common_2 --> <!-- /Belarus Public Transport chunks definitions -->

<!-- Belarus Public Transport node/way/relation presets -->
    <group
        name="Belarus Public Transport"
            ru.name="Общественный транспорт Беларуси"
            be.name="Грамадскі транспарт Беларусi"
        icon="BY_PT.png"
        >

        <!-- Stop Position -->
        <item
            name="Stop Position"
                ru.name="Место остановки"
                be.name="Месца спыну"
            type="node"
            icon="stop_position.png"
            preset_name_label="true"
            >
            <link
                wiki="RU:Belarus:Общественный_транспорт_Беларуси"
                />
            <!-- tags to remove if exists -->
            <key
                key="highway"
                value=""
                match="none"
                />
            <reference
                ref="BY_PT_equipment_remove"
                />
            <!-- fixed tags -->
            <key
                key="public_transport"
                value="stop_position"
                />
            <key
                key="BY_PT"
                value="stop_position"
                match="keyvalue"
                />
            <reference
                ref="BY_PT_note"
                />
            <!-- optional tags -->
            <space />
            <reference
                ref="BY_PT_point"
                />
            <space />
            <label
                text="Types of transport:"
                    ru.text="Виды транспорта:"
                    be.text="Віды транспарту:"
                />
            <checkgroup 
                columns="3"
                >
                <check
                    key="bus"
                    text="Bus"
                    disable_off="true"
                    icon="presets/transport/bus.svg"
                    />
                <check
                    key="share_taxi"
                    text="Share taxi"
                    disable_off="true"
                    icon="presets/transport/share_taxi.svg"
                    />
                <check
                    key="trolleybus"
                    text="Trolleybus"
                    disable_off="true"
                    icon="presets/transport/trolleybus.svg"
                    />
                <check
                    key="train"
                    text="Train"
                    disable_off="true"
                    icon="presets/transport/train.svg"
                    />
                <check
                    key="subway"
                    text="Subway"
                    disable_off="true"
                    icon="presets/transport/railway/subway.svg"
                    />
                <check
                    key="tram"
                    text="Tram"
                    disable_off="true"
                    icon="presets/transport/railway/tram.svg"
                    />
            </checkgroup>
            <space />
            <reference
                ref="BY_PT_date_of_check"
                />
        </item> <!-- /Stop Position -->
                
        <!-- Platform (node only)-->
        <item
            name="Platform Point"
                ru.name="Остановка"
                be.name="Прыпынак"
            type="node"
            icon="platform_point.png"
            preset_name_label="true"
            >
            <link
                wiki="RU:Belarus:Общественный_транспорт_Беларуси"
                />
            <!-- tags to remove if exists -->
            <key
                key="amenity"
                value=""
                match="none"
                />
            <key
                key="shelter_type"
                value=""
                match="none"
                />
            <!-- fixed tags -->
            <!--
            <key
                key="highway"
                value="bus_stop"
                match="keyvalue"
                />
            -->
            <key
                key="public_transport"
                value="platform"
                />
            <key
                key="BY_PT"
                value="platform_node"
                match="keyvalue"
                />
            <reference
                ref="BY_PT_note"
                />
            <!-- optional tags -->
            <space />
            <reference
                ref="BY_PT_point"
                />
            <space />
            <label
                text="Platform equipment:"
                    ru.text="Оснащение остановки:"
                    be.text="Абсталяванне прыпынку:"
                />
            <checkgroup
                columns="4"
                >
                <check
                    key="shelter"
                    text="Shelter"
                        ru.text="навес"
                        be.text="навес"
                    />
                <check
                    key="bench"
                    text="Bench"
                        ru.text="cкамейка"
                        be.text="лаўка"
                    />
                <check
                    key="bin"
                    text="Waste Basket/Trash Can"
                        ru.text="мусорка"
                        be.text="сметніца"
                    />
                <check
                    key="toilets"
                    text="Toilets"
                        ru.text="туалет"
                        be.text="туалет"
                    disable_off="true"
                    />
            </checkgroup>
            <space />
            <combo
                key="departures_board"
                text="Departures Board"
                    ru.text="Расписание маршрутов"
                    be.text="Расклад руху"
                values_searchable="true"
                values_sort="false"
                editable="false"
                use_last_as_default="true"
                >
                <reference
                    ref="BY_PT_timetables"
                    />
            </combo>
            <space />
            <combo
                key="tactile_paving"
                text="Tactile Paving"
                values="yes,no,incorrect"
                />
            <space />
            <reference
                ref="BY_PT_date_of_check"
                />
            <space />
            <check
                key="highway"
                value_on="bus_stop"
                value_off=""
                default="yes"
                match="keyvalue"
                text="PTv1 legacy (highway=bus_stop)"
                    ru.text="Совместимость с PTv1 (highway=bus_stop)"
                    be.text="Сумяшчальнасць з PTv1 (highway=bus_stop)"
                />
        </item> <!-- /Platform -->

        <separator/>

        <!-- Platform (way only) -->
        <item
            name="Platform Strip"
                ru.name="Платформа остановки"
                be.name="Платформа прыпынку"
            type="way,closedway,multipolygon"
            icon="platform_strip.png"
            preset_name_label="true"
            >
            <link
                wiki="RU:Belarus:Общественный_транспорт_Беларуси"
                />
            <!-- fixed tags -->
            <reference
                ref="BY_PT_way_passability"
                />
            <key
                key="BY_PT"
                value="platform_way"
                match="keyvalue"
                />
            <reference
                ref="BY_PT_note"
                />
            <!-- optional tags -->
            <space />
            <reference
                ref="BY_PT_platform_surface"
                />
            <space />
            <reference
                ref="BY_PT_date_of_check"
                />
        </item> <!-- /Platform (way only) -->

        <!-- Public transport entrance (way only) -->
        <item
            name="Entrance Pass"
                ru.name="Проход к транспорту"
                be.name="Праход да транспарту"
            type="way"
            icon="entrance_pass.png"
            preset_name_label="true"
            >
            <link
                wiki="RU:Belarus:Общественный_транспорт_Беларуси"
                />
            <!-- fixed tags -->
            <key
                key="public_transport"
                value="entrance_pass"
                />
            <reference
                ref="BY_PT_way_passability"
                />
            <key
                key="BY_PT"
                value="entrance_pass"
                match="keyvalue"
                />
            <reference
                ref="BY_PT_note"
                />
        </item> <!-- /Public transport entrance (way only) -->

        <separator/>

        <!-- Stop Area (relation only) -->
        <item
            name="Stop Area"
            type="relation"
            icon="stop_area.png"
            preset_name_label="true"
            >
            <link
                wiki="RU:Belarus:Общественный_транспорт_Беларуси"
                />
            <!-- fixed tags -->
            <key
                key="type"
                value="public_transport"
                />
            <key
                key="public_transport"
                value="stop_area"
                match="keyvalue"
                />
            <key
                key="public_transport:version"
                value="2"
                match="keyvalue"
                />
            <reference
                ref="BY_PT_note"
                />
            <!-- optional tags -->
            <space />
            <reference
                ref="BY_PT_point"
                />
            <space />
            <text
                key="note"
                text="Note"
                    ru.text="Заметка"
                    be.text="Нататка"
                default="В какую сторону?"
                />
            <space />
            <reference
                ref="BY_PT_date_of_check"
                />
            <space />
            <!-- role descriptions -->    
            <roles>
                <role
                    key="stop"
                    text="Approximate place of transport stop on the highway"
                       ru.text="Примерное место остановки транспорта на дороге"
                       be.text="Прыкладнае месца прыпынку транспарта на дарозе"
                    type="node"
                    />
                <role
                    key="platform"
                    text="The boarding platform beside the highway"
                       ru.text="Посадочная площадка у дороги"
                       be.text="Пасадачная пляцоўка ў дарогі"
                    type="node,way,closedway,multipolygon"
                    />
                <role
                    key="entrance_pass"
                    text="Pass to transport's entrance"
                       ru.text="Проход ко входу в транспорт"
                       be.text="Праход да ўваходу ў транспарт"
                    type="way"
                    />
            </roles>
        </item> <!-- /Stop Area (relation only) -->

        <separator/>

        <!-- Route (relation only) -->
        <item
            name="Public Transport Route"
            type="relation"
            icon="pt_route.png"
            preset_name_label="true"
            >
            <link
                wiki="RU:Belarus:Общественный_транспорт_Беларуси"
                />
            <key
                key="type"
                value="route"
                />
            <key 
                key="public_transport:version"
                value="2"
                match="keyvalue"
                />
            <combo
                key="route" 
                text="Transport type"
                    ru.text="Тип транспорта"
                    be.text="Тып транспарту"
                values_sort="false"
                values_searchable="true"
                editable="true"
                use_last_as_default="true"
                >
                <reference
                    ref="BY_PT_route_transport_type"
                    />
            </combo>
            <space />
            <reference
                ref="BY_PT_route_route"
                />
            <text
                key="from"
                text="From (initial stop)"
                default="-"
                />
            <text
                key="via"
                text="Via (intermediate stops)"
                default="-"
                />
            <text
                key="to"
                text="To (terminal stop)"
                default="-"
                />
            <reference
                ref="BY_PT_route_common_2"
                />
            <text
                key="distance"
                text="Distance"
                />
            <text
                key="duration"
                text="Duration (M, MM, HH:MM, or HH:MM:SS)"
                />
            <text
                key="opening_hours"
                text="Opening Hours"
                />
            <space />
            <check
                key="roundtrip"
                text="Roundtrip"
                    ru.text="Кольцевой"
                    be.text="Кальцавы"
                    disable_off="true"
                />
            <!-- role descriptions -->    
            <roles>
                <role
                    key="stop_entry_only"
                    text="stop position (entry only)"
                    type="node"
                    />
                <role
                    key="stop"
                    text="stop position"
                    type="node"
                    />
                <role
                    key="stop_exit_only"
                    text="stop position (exit only)"
                    type="node"
                    />
                <role
                    key="platform_entry_only"
                    text="platform (entry only)"
                    type="node,way,closedway,multipolygon"
                    />
                <role
                    key="platform"
                    text="platform"
                    type="node,way,closedway,multipolygon"
                    />
                <role
                    key="platform_exit_only"
                    text="platform (exit only)"
                    type="node,way,closedway,multipolygon"
                    />
                <role
                    key=""
                    text="route segment"
                    type="way,closedway"
                    />
                <role
                    key="hail_and_ride"
                    text="hail and ride route segment"
                    type="way,closedway"
                    />
            </roles>
        </item> <!-- /Route (relation only) -->

        <!-- Master Route (relation only) -->
        <item
            name="Route Master"
            type="relation"
            icon="pt_route_master.png"
            preset_name_label="true"
            >
            <link
                wiki="RU:Belarus:Общественный_транспорт_Беларуси"
                />
            <key
                key="type"
                value="route_master"
                />
            <combo
                key="route_master" 
                text="Transport type"
                    ru.text="Тип транспорта"
                    be.text="Тып транспарту"
                values_sort="false"
                values_searchable="true"
                editable="true"
                use_last_as_default="true"
                >
                <reference
                    ref="BY_PT_route_transport_type"
                    />
            </combo>
            <space />
            <reference
                ref="BY_PT_route_common_1"
                />
            <reference
                ref="BY_PT_route_common_2"
                />
            <!-- role descriptions -->    
            <roles>
                <role
                    key=""
                    text="route"
                    type="relation"
                    />
            </roles>
        </item> <!-- /Master Route (relation only) -->

        <separator/>

        <!-- Bus Station (node only) -->
        <item
            name="Bus Station (node)"
                ru.name="Автобусная станция (точка)"
                be.name="Аўтобусная станцыя (кропка)"
            type="node"
            icon="presets/transport/station.svg"
            preset_name_label="true"
            >
            <link
                wiki="RU:Belarus:Общественный_транспорт_Беларуси"
                />
            <!-- fixed tags -->
            <key
                key="public_transport"
                value="station"
                match="keyvalue"
                />
            <space />
            <!-- optional tags -->
            <reference
                ref="BY_PT_station_common"
                />
            <reference
                ref="BY_PT_bus_stations_legacy"
                />
        </item> <!-- /Bus Station (node only) -->

        <!-- Bus Station (area only) -->
        <item
            name="Bus Station (area)"
                ru.name="Автобусная станция (область)"
                be.name="Аўтобусная станцыя (вобласць)"
            type="closedway,multipolygon"
            icon="presets/transport/station.svg"
            preset_name_label="true"
            >
            <link
                wiki="RU:Belarus:Общественный_транспорт_Беларуси"
                />
            <!-- fixed tags -->
            <key
                key="public_transport"
                value="station"
                match="keyvalue"
                />
            <key
                key="building"
                value=""
                match="keyvalue!"
                />
            <space />
            <!-- optional tags -->
            <reference
                ref="BY_PT_station_common"
                />
            <space />
            <check
                key="area"
                text="Area"
                disable_off="true"
                />
            <reference
                ref="BY_PT_bus_stations_legacy"
                />
        </item> <!-- /Bus Station (area only) -->

        <!-- Bus Station (building) -->
        <item
            name="Bus Station (building)"
                ru.name="Автобусная станция (здание)"
                be.name="Аўтобусная станцыя (будынак)"
            type="closedway,multipolygon"
            icon="presets/transport/station.svg"
            preset_name_label="true"
            >
            <link
                wiki="RU:Belarus:Общественный_транспорт_Беларуси"
                />
            <!-- fixed tags -->
            <key
                key="public_transport"
                value="station"
                match="keyvalue"
                />
            <space />
            <combo 
                key="building" 
                text="Building"
                editable="false"
                default="transportation"
                values_context="building"
                match="keyvalue"
                >
                <list_entry value="yes" />
                <list_entry value="transportation" />
            </combo>
            <space />
            <!-- optional tags -->
            <reference
                ref="BY_PT_station_common"
                />
            <text key="opening_hours"
                text="Opening Hours"
                /> 
            <combo key="wheelchair"
                text="Wheelchairs" 
                values_sort="false"
                values_searchable="true"
                editable="true"
                use_last_as_default="true"
                values="yes,limited,no"
                />
            <reference
                ref="BY_PT_bus_stations_legacy"
                />
            <preset_link preset_name="Address" /> 
            <preset_link preset_name="Internet Access" /> 
        </item> <!-- /Bus Station (building) -->

    </group> <!-- /Belarus Public Transport node/way/relation presets -->

</presets>

Presets_PublicTransport_Belarus_BY-preset.xml, Presets_PublicTransport_Belarus_BY.zip

History

1.4 to 1.5

  • All translations reduced to minimum with JOSM translations
  • Bus stations added
  • Roles moved to their containers
  • "Network" and "service" route details reworked
  • Matching refactored to be more precise
Last modified 2 years ago Last modified on 2022-02-11T21:09:53+01:00

Attachments (20)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.