Changes between Version 24 and Version 25 of Presets/PublicTransportGtfs


Ignore:
Timestamp:
2020-07-26T20:26:27+02:00 (6 years ago)
Author:
skyper
Comment:

update of labels; fixed regex for ref:IFOPT and add wiki link

Legend:

Unmodified
Added
Removed
Modified
  • Presets/PublicTransportGtfs

    v24 v25  
    7979  <chunk id="feed_guid">
    8080      <space />
    81       <label text="Only one of the following tags is needed for PTNA:" />
     81      <label text="  Only one of the following tags is needed for PTNA:  " />
    8282      <text key="network:guid" text="General unified network id" match="key" />
    8383      <text key="operator:guid" text="General unified operator id" match="key" />
     
    9292  <chunk id="route_id">
    9393      <space />
     94      <text key="gtfs:route_id" text="GTFS route id" match="key" />
     95      <space />
     96      <label text="  Only needed if `ref=*` is different:  " />
    9497      <text key="ref:GTFS" text="GTFS route reference" match="key" />
    95       <text key="gtfs:route_id" text="GTFS route id" match="key" />
    9698  </chunk>
    9799
     
    101103      <text key="gtfs:route_id" text="GTFS route id" />
    102104      <text key="gtfs:shape_id" text="GTFS shape id" match="key" />
    103       <optional text="Use one of the following two tags, if no `shape_id` exists:">
    104           <text key="gtfs:trip_id:sample" text="One GTFS trip reference as sample (= `trip_id`)" match="key" />
    105           <space />
    106           <label text="Only to be used if the relation represents one, single trip with only one `service_id`" />
    107           <text key="gtfs:trip_id" text="GTFS trip id" match="key" />
    108       </optional>
     105      <space />
     106      <label text="  Use one of the following two tags, if no `shape_id` exists:                  " />
     107      <text key="gtfs:trip_id:sample" text="One GTFS trip reference as sample (= `trip_id`)" match="key" />
     108      <space />
     109      <label text="  Only to be used if the relation represents one, single trip:                 " />
     110      <text key="gtfs:trip_id" text="GTFS trip id" match="key" />
    109111      <item_separator />
    110112  </chunk>
     
    125127  <chunk id="stop_all">
    126128      <space />
    127       <label text="    Format is:    `Country code`:`Admin area`:`General stop id`:`Level id`:`Quay id`        " />
    128       <space />
    129       <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}  " />
     129      <link wiki="Tag:ref:IFOPT" />
     130      <label text="  Format is:    `Country code`:`Admin area`:`General stop id`:`Level id`:`Quay id`        " />
     131      <space />
     132      <label text="  Regex: [a-z]{3}:[0-9]{5}:[1-9][0-9]{0,4}:[0-9]{1,2}:([A-Z]+[ ]?)?[1-9][0-9]{0,2}[A-Z]?  " />
    130133      <space />
    131134      <text key="ref:IFOPT" text="IFOPT reference" length="18" match="key" />
     
    137140      <space />
    138141      <reference ref="note_gtfs" />
    139       <space />
    140142  </chunk>
    141143