Changeset 18919 in josm


Ignore:
Timestamp:
2023-12-19T18:35:16+01:00 (11 months ago)
Author:
taylor.smock
Message:

Fix #23339: Improve preset for charging stations (patch by dbrgn)

  • Generic fee -> fee + parking:fee (the two may be separate)
  • capacity is now free-form text (some charging stations can have 20 or more chargers)
  • covered has been added
  • Remove non-vehicle transport methods like bicycle and scooter (preset is in the vehicle group)
  • Unused socket types have been removed
  • Replace voltage and amperage with max socket output power
  • Update authentication methods
  • Add level for when the charging station is in a multi-level parking garage
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/defaultpresets.xml

    r18918 r18919  
    29022902            <space />
    29032903            <key key="amenity" value="charging_station" />
    2904             <reference ref="name_ref_operator" />
     2904            <reference ref="name_ref"/>
     2905            <text key="network" text="Charging Network (Mobility Service Provider)" />
     2906            <text key="operator" text="Operator (Charge Point Operator)" />
    29052907            <reference ref="oh" />
    2906             <reference ref="fee" />
    2907             <space />
    2908             <combo key="voltage" text="Voltage" values="230,400"/>
    2909             <combo key="amperage" text="Amperage" values="16,32" />
    2910             <combo key="capacity" text="Capacity" values="1,2,3,4,5,6" />
    2911             <space />
     2908            <text key="capacity" text="Simultaneously usable charging spots" default="" delete_if_empty="true" />
     2909            <text key="level" text="Storey" default="" delete_if_empty="true" />
     2910            <label text="Surroundings and Fees:" />
     2911            <checkgroup columns="3">
     2912                <check key="covered" text="Covered" default="" delete_if_empty="true" />
     2913                <check key="fee" text="Charging fee" default="on" delete_if_empty="true" />
     2914                <check key="parking:fee" text="Parking fee" default="" delete_if_empty="true" />
     2915            </checkgroup>
    29122916            <label text="Types of vehicles which can be charged:" />
    2913             <checkgroup columns="4">
    2914                 <check key="bicycle" text="Bicycle" />
    2915                 <check key="scooter" text="Scooter" />
    2916                 <check key="motorcycle" text="Motorcycle" />
    2917                 <check key="motorcar" text="Motorcar" />
    2918                 <check key="truck" text="Truck" />
     2917            <checkgroup columns="3">
     2918                <check key="motorcar" text="Cars" default="on" delete_if_empty="true" />
     2919                <check key="motorcycle" text="Motorcycles" default="on" delete_if_empty="true" />
     2920                <check key="hgv" text="Trucks (HGV)" default="" delete_if_empty="true" />
    29192921            </checkgroup>
     2922            <label text="(Note: For most charging stations, check 'Cars' and 'Motorcycles'. Check 'Trucks' only if there is sufficient space.)" />
    29202923            <space />
    29212924            <label text="Number of Sockets:" />
    2922             <combo key="socket:type1" text="SAE J1772 (IEC Type 1)" values="1,2,3,4,5,6" />
    2923             <combo key="socket:type1_combo" text="SAE J1772 Combo (DC)" values="1,2,3,4,5,6" />
    2924             <combo key="socket:type2" text="IEC Type 2 (Mennekes)" values="1,2,3,4,5,6" />
    2925             <combo key="socket:type2_combo" text="IEC Type 2 Combo (DC)" values="1,2,3,4,5,6" />
    2926             <combo key="socket:type3" text="Type 3 (SCAME)" values="1,2,3,4,5,6" />
    2927             <combo key="socket:chademo" text="CHAdeMO" values="1,2,3,4,5,6" />
    2928             <combo key="socket:tesla_supercharger" text="Tesla Supercharger" values="1,2,3,4,5,6" />
    2929             <combo key="socket:schuko" text="Schuko" values="1,2,3,4,5,6" />
    2930             <combo key="socket:cee_blue" text="CEE blue" values="1,2,3,4,5,6" />
    2931             <combo key="socket:cee_red_16a" text="CEE red 16A" values="1,2,3,4,5,6" />
    2932             <combo key="socket:cee_red_32a" text="CEE red 32A" values="1,2,3,4,5,6" />
    2933             <combo key="socket:nema_5_15" text="NEMA 5-15" values="1,2,3,4,5,6" />
    2934             <combo key="socket:nema_5_20" text="NEMA 5-20" values="1,2,3,4,5,6" />
    2935             <space />
    2936             <label text="Authentication:" />
    2937             <checkgroup columns="4">
    2938                 <check key="authentication:none" text="None" />
    2939                 <check key="authentication:phone_call" text="Phone call" />
    2940                 <check key="authentication:short_message" text="Short message" />
    2941                 <check key="authentication:nfc" text="NFC" />
     2925            <text key="socket:type1" text="IEC Type 1" default="" delete_if_empty="true" />
     2926            <text key="socket:type2" text="IEC Type 2 (Mennekes) socket only" default="" delete_if_empty="true" />
     2927            <text key="socket:type2_cable" text="IEC Type 2 (Mennekes) with cable" default="" delete_if_empty="true" />
     2928            <text key="socket:type2_combo" text="IEC Type 2 Combo (CCS)" default="" delete_if_empty="true" />
     2929            <text key="socket:chademo" text="CHAdeMO" default="" delete_if_empty="true" />
     2930            <text key="socket:tesla_supercharger" text="Tesla Supercharger" default="" delete_if_empty="true" />
     2931            <text key="socket:schuko" text="Schuko" default="" delete_if_empty="true" />
     2932            <space />
     2933            <label text="Charging Power (e.g. '22 kW'):" />
     2934            <text key="socket:type1:output" text="IEC Type 1" default="" delete_if_empty="true" />
     2935            <text key="socket:type2:output" text="IEC Type 2 (Mennekes) socket only" default="" delete_if_empty="true" />
     2936            <text key="socket:type2_cable:output" text="IEC Type 2 (Mennekes) with cable" default="" delete_if_empty="true" />
     2937            <text key="socket:type2_combo:output" text="IEC Type 2 Combo (CCS)" default="" delete_if_empty="true" />
     2938            <text key="socket:chademo:output" text="CHAdeMO" default="" delete_if_empty="true" />
     2939            <text key="socket:tesla_supercharger:output" text="Tesla Supercharger" default="" delete_if_empty="true" />
     2940            <text key="socket:schuko:output" text="Schuko" default="" delete_if_empty="true" />
     2941            <space />
     2942            <label text="Unlocking (Authentication):" />
     2943            <checkgroup columns="3">
     2944                <check key="authentication:app" text="Unlock through App" />
     2945                <check key="authentication:contactless" text="Unlock through RFID/NFC" />
     2946                <check key="authentication:none" text="Usable without registration" />
    29422947            </checkgroup>
    2943             <combo key="authentication:membership_card" text="Membership card" values="yes" />
    2944             <preset_link preset_name="Payment Methods" />
     2948            <preset_link preset_name="Payment Methods" text="Edit Payment Methods (only if usable without registration)" />
    29452949        </item> <!-- Charging Station -->
    29462950        <item name="Wash" icon="presets/vehicle/car_wash.svg" type="node,closedway,multipolygon" preset_name_label="true">
Note: See TracChangeset for help on using the changeset viewer.