Changes between Version 8 and Version 9 of Presets/PublicTransportGtfs


Ignore:
Timestamp:
2020-06-30T01:23:07+02:00 (8 days ago)
Author:
skyper
Comment:

wiki link; some more tags

Legend:

Unmodified
Added
Removed
Modified
  • Presets/PublicTransportGtfs

    v8 v9  
    1919* [osmwiki:Key:ref:IFOPT ref:IFOPT:description]
    2020* [osmwiki:Key:local_ref local_ref]
     21* [osmwiki:Tag:railway=stop railway=stop]
    2122
    2223* [osmwiki:Proposed_features/Key:gtfs:route_id gtfs:route_id]
    2324* [osmwiki:Proposed_features/Key:gtfs:shape_id gtfs:shape_id]
     25* [osmwiki:Proposed_features/Key:gtfs:shape_id gtfs:trip_id]
     26* [osmwiki:Proposed_features/Key:gtfs:ref_trip gtfs:ref_trip (no page, yet)]
    2427* [osmwiki:Key:network:guid network:guid]
    2528* [osmwiki:Proposed_features/Key:operator:guid operator:guid]
     
    3942* [osmwiki:Key:source source]
    4043* ~~[osmwiki:Key:website website]~~ in [source:/trunk/resources/data/defaultpresets.xml defaultpresets] since r16710
     44* [osmwiki:Key:quality quality (no page)]
    4145
    4246== Source code
     
    5963
    6064  <chunk id="short">
    61       <text key="network:short" text="Common short network" />
    62       <text key="operator:short" text="Common short operator" />
     65      <text key="network:short" text="Common short network" alternative_autocomplete_keys="network" />
     66      <text key="operator:short" text="Common short operator" lternative_autocomplete_keys="operator" />
    6367      <item_separator />
    6468  </chunk>
    6569
    6670  <chunk id="gtfs_name">
    67       <text key="gtfs:name" text="GTFS name" />
     71      <text key="gtfs:name" text="GTFS name" alternative_autocomplete_keys="name" />
    6872  </chunk>
    6973
     
    9195      <text key="gtfs:route_id" text="GTFS route id" />
    9296      <text key="gtfs:shape_id" text="GTFS shape id" match="key" />
    93       <space />
    94       <label text="             Use, if no `shape_id` exists:     " />
    95       <space />
    96       <text key="ref_trips" text="GTFS trip reference" match="key" />
     97      <optional text="Use one of the following, if no `shape_id` exists:">
     98          <text key="ref_trips" text="Common GTFS trip reference (= shape_id)" match="key" />
     99          <text key="gtfs:ref_trip" text="Concrete GTFS trip reference (= trip_id" match="key" />
     100          <label text="Only to be used if the relation represents one, single trip" />
     101          <text key="gtfs:trip_id" text="GTFS trip id" match="key" />
     102      </optional>
    97103      <item_separator />
    98104  </chunk>
     
    113119      <label text="    Regex:              [a-z]{2}:[0-9]{5}:[1-9][0-9]{0,4}:[1-9][0-9]{0,1}:[1-9][0-9]{0,1}  " />
    114120      <space />
    115       <text key="ref:IFOPT" text="IFOPT reference" match="key" />
     121      <text key="ref:IFOPT" text="IFOPT reference" length="18" match="key" />
    116122      <text key="ref:IFOPT:description" text="IFOPT description" />
    117123      <reference ref="gtfs_name" />
     
    125131  <chunk id="stop">
    126132      <space />
    127       <text key="local_ref" text="Local reference" />
     133      <text key="local_ref" text="Local reference" length="3"/>
    128134      <reference ref="stop_all" />
    129135  </chunk>
     
    132138  <group name="GTFS" icon="presets/transport/bus.svg">
    133139      <item name="Stop - GTFS" icon="presets/transport/stop_position.svg" preset_name_label="true" type="node">
     140          <link wiki="General_Transit_Feed_Specification" />
     141          <combo key="railway" text="Railway stop" values="stop" />
    134142          <reference ref="stop" />
    135143          <space />
     
    137145      </item>
    138146      <item name="Platform - GTFS" icon="presets/transport/platform.svg" preset_name_label="true" type="node,way,closedway,multipolygon">
     147          <link wiki="General_Transit_Feed_Specification" />
    139148          <reference ref="stop" />
    140149          <space />
     
    143152      <separator/>
    144153      <item name="Stop Area - GTFS" icon="presets/misc/interpolation.svg" preset_name_label="true" type="relation">
     154          <link wiki="General_Transit_Feed_Specification" />
    145155          <space />
    146156          <reference ref="stop_all" />
     
    148158          <preset_link preset_name="Stop Area" />
    149159      </item>
    150       <separator/>
     160      <separator/> <!-- Stops -->
     161
    151162      <separator/>
    152163      <item name="Route - GTFS" icon="presets/misc/route.svg" preset_name_label="true" type="relation">
     164          <link wiki="General_Transit_Feed_Specification" />
    153165          <reference ref="shape_id" />
    154166          <reference ref="feed_guid" />
     
    160172      </item>
    161173      <item name="Route Master - GTFS" icon="presets/misc/route.svg" preset_name_label="true" type="relation">
     174          <link wiki="General_Transit_Feed_Specification" />
    162175          <reference ref="route_id" />
    163176          <reference ref="feed_guid" />
    164177          <reference ref="source_note" />
     178          <combo key="quality" name="Quality" delimiter="|" values="complete|complete, ordered|incomplete" values_searchable="true" values_sort="false" />
    165179          <space />
    166180          <preset_link preset_name="Route Master" />
     
    168182      <separator/>
    169183      <item name="Route (Ptv1) - GTFS" icon="presets/misc/route.svg" preset_name_label="true" type="way,closedway,relation">
     184          <link wiki="General_Transit_Feed_Specification" />
    170185          <reference ref="route_id" />
    171186          <reference ref="feed_guid" />
     
    175190          <preset_link preset_name="Public transport route (Legacy)" />
    176191      </item>
    177   </group>
     192  </group> <!-- Routes -->
    178193</presets>
    179194}}}