Changes between Version 29 and Version 30 of Presets/PublicTransportGtfs


Ignore:
Timestamp:
2020-08-05T00:02:57+02:00 (6 years ago)
Author:
skyper
Comment:

add *:guid to stops/platforms; local_ref and last block of ref:IFOPT can be everything

Legend:

Unmodified
Added
Removed
Modified
  • Presets/PublicTransportGtfs

    v29 v30  
    6161  shortdescription="Public Transport GTFS"
    6262  description="Additional tags for public transportation including tags for GTFS and PTNA"
    63   version="0.0.[[revision]]_[[date]]">
     63  version="0.1.[[revision]]_[[date]]">
    6464
    6565  <!-- Chunks -->
     
    8181
    8282  <chunk id="feed_guid">
    83       <space />
    84       <label text="  Only one of the following tags is needed for PTNA:  " />
    8583      <text key="network:guid" text="General unified network id" match="key" />
    8684      <text key="operator:guid" text="General unified operator id" match="key" />
    8785      <text key="gtfs:feed" text="General GTFS feed" match="key" />
     86  </chunk>
     87
     88  <chunk id="feed_guid_name">
     89      <label text="  Only one of the following tags is needed for PTNA:  " />
     90      <reference ref="feed_guid" />
    8891      <item_separator />
    8992      <text key="gtfs:source_date" text="Date of the GTFS source" match="key" />
     
    130133      <label text="  Format is:    `Country code`:`Admin area`:`General stop id`:`Level id`:`Quay id`        " />
    131134      <space />
    132       <label text="  Regex: [a-z]{3}:[0-9]{4,5}:[1-9][0-9]{0,4}:[0-9]{1,2}:([A-Z]+[ ]?)?[1-9][0-9]{0,2}[A-Z]?  " />
     135      <label text="  Regex:             [a-z]{3}:[0-9]{4,5}:[1-9][0-9]{0,4}:[0-9]{1,2}:[0-9a-zA-Z]+(.)*      " />
    133136      <space />
    134137      <text key="ref:IFOPT" text="IFOPT reference" length="18" match="key" />
     
    136139      <text key="gtfs:stop_id" text="GTFS `stop_id`, use `ref:IFOPT` if possible" length="18" match="key" />
    137140      <reference ref="gtfs_name" />
     141      <space />
     142      <reference ref="feed_guid" />
    138143      <item_separator />
    139144      <reference ref="short" />
     
    148153          <space />
    149154          <combo key="railway" text="Railway" values="stop" />
    150           <text key="local_ref" text="Local reference" length="3"/>
     155          <text key="local_ref" text="Local reference" />
    151156          <reference ref="stop_all" />
    152157          <space />
     
    156161          <link wiki="General_Transit_Feed_Specification" />
    157162          <space />
    158           <text key="local_ref" text="Local reference" length="3"/>
     163          <text key="local_ref" text="Local reference" />
    159164          <reference ref="stop_all" />
    160165          <space />
     
    175180          <link wiki="General_Transit_Feed_Specification" />
    176181          <reference ref="shape_id" />
    177           <reference ref="feed_guid" />
     182          <reference ref="feed_guid_name" />
    178183          <reference ref="cond" />
    179184          <reference ref="source_note" />
     
    185190          <link wiki="General_Transit_Feed_Specification" />
    186191          <reference ref="route_id" />
    187           <reference ref="feed_guid" />
     192          <space />
     193          <reference ref="feed_guid_name" />
    188194          <reference ref="source_note" />
    189195          <reference ref="quality" />
     
    195201          <link wiki="General_Transit_Feed_Specification" />
    196202          <reference ref="route_id" />
    197           <reference ref="feed_guid" />
     203          <space />
     204          <reference ref="feed_guid_name" />
    198205          <reference ref="cond" />
    199206          <reference ref="source_note" />
     
    204211  </group> <!-- Routes -->
    205212</presets>
     213
    206214}}}