Changeset 10540 in josm


Ignore:
Timestamp:
2016-07-16T23:13:41+02:00 (3 years ago)
Author:
Klumbumbus
Message:

fix #13076 - add preset for railway=funicular; fix #13081 - add translation context to electrified; add vending=milk

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r10539 r10540  
    7373    </chunk>
    7474    <chunk id="railway_electrified">
    75         <combo key="electrified" text="Electrified" values="contact_line,no,yes,rail" />
     75        <combo key="electrified" text="Electrified" values="contact_line,no,yes,rail" values_context="electrified" />
    7676        <combo key="voltage" text="Voltage in Volts (V)" values="600,650,750,1500,3000,15000,25000" length="5" />
    7777        <combo key="frequency" text="Frequency in Hertz (Hz)" values="0,16.67,16.7" length="5" />
     
    25352535            </optional>
    25362536        </item> <!-- Tram -->
     2537        <item name="Funicular" icon="styles/standard/transport/railway/funicular.svg" type="way" preset_name_label="true">
     2538            <link href="http://wiki.openstreetmap.org/wiki/Tag:railway=funicular" />
     2539            <key key="railway" value="funicular" />
     2540            <optional>
     2541                <reference ref="railway_service_gauge_electrified" />
     2542            </optional>
     2543        </item> <!-- Funicular -->
    25372544        <item name="Bus Guideway" icon="styles/standard/transport/railway/bus_guideway.svg" type="way" preset_name_label="true">
    25382545            <link href="http://wiki.openstreetmap.org/wiki/Tag:highway=bus_guideway"
     
    81738180        <space />
    81748181        <key key="amenity" value="vending_machine" />
    8175         <multiselect key="vending" text="Vending products" values="animal_food;bicycle_tube;cigarettes;condoms;drinks;excrement_bags;food;newspapers;parking_tickets;photos;public_transport_plans;public_transport_tickets;SIM_cards;stamps;sweets;tampons;telephone_vouchers;toys;vouchers" values_searchable="true" />
     8182        <multiselect key="vending" text="Vending products" values="animal_food;bicycle_tube;cigarettes;condoms;drinks;excrement_bags;food;milk;newspapers;parking_tickets;photos;public_transport_plans;public_transport_tickets;SIM_cards;stamps;sweets;tampons;telephone_vouchers;toys;vouchers" values_searchable="true" />
    81768183        <text key="operator" text="Operator" />
    81778184        <text key="ref" text="Reference number" />
  • trunk/styles/standard/elemstyles.mapcss

    r10539 r10540  
    36613661}
    36623662node[public_transport=stop_position][funicular=yes] {
    3663     icon-image: "transport/funicular.svg";
     3663    icon-image: "transport/railway/funicular.svg";
    36643664    set icon_z17;
    36653665}
Note: See TracChangeset for help on using the changeset viewer.