Changes between Version 17 and Version 18 of Rules/PublicTransportGtfs


Ignore:
Timestamp:
2020-07-27T21:41:43+02:00 (6 years ago)
Author:
skyper
Comment:

update gtfs:feed value

Legend:

Unmodified
Added
Removed
Modified
  • Rules/PublicTransportGtfs

    v17 v18  
    236236  assertNoMatch: "relation gtfs:trip_id=2.TA.90-742-B-j20-1.4.R";
    237237}
    238 /* ref:IFOPT, gtfs:stop_id, gtfs:feed, *:guid, gtfs:source_date */
     238/* gtfs:feed, *:guid, gtfs:source_date */
    239239/* FIXME: Get proper syntax as regex displayed. */
    240 *[gtfs:feed    ][gtfs:feed     !~ /^(([A-Z]{2}-){2}[a-zA-Z]{2}.*|DE-SPNV|DE-S-und-U-Bahnen|DK-Alle)$/],
     240*[gtfs:feed    ][gtfs:feed     !~ /^(([A-Z]{2}-){2}[a-zA-Z]{2}.*|CH-Alle|DE-SPNV|DE-S-und-U-Bahnen|DK-Alle)$/],
    241241*[network:guid ][network:guid  !~  /^([A-Z]{2}-){2}[a-zA-Z]{2}.*$/],
    242242*[operator:guid][operator:guid !~  /^([A-Z]{2}-){2}[a-zA-Z]{2}.*$/],
     
    249249  assertNoMatch: "relation gtfs:feed=DE-SH-NAH.SH";
    250250  assertNoMatch: "relation gtfs:feed=DE-BY-VVM-Mittelschwaben";
     251  assertNoMatch: "relation gtfs:feed=AU-SA-Adelaide-Metro";
    251252  assertNoMatch: "relation gtfs:feed=DE-SL-saarVV";
    252253  assertMatch:   "relation gtfs:source_date=2016-09-30";
     
    255256  assertNoMatch: "relation gtfs:source_date=2020-09-30";
    256257}
    257 /* ref:IFOPT, gtfs:stop_id, gtfs:feed, *:guid, gtfs:source_date */
     258/* ref:IFOPT, gtfs:stop_id */
    258259/* FIXME: Get proper syntax as regex displayed. */
    259260*[ref:IFOPT   ][ref:IFOPT    !~ /^(gen:[0-9]{4}|[a-z]{2}:[0-9]{5}):[1-9][0-9]{0,4}(:[0-9]{1,2}(:([A-Z]+[ ]?)?[1-9][0-9]{0,2}[A-Z]?)?)?$/],