Skip to content

Add a rule for missing stop name  #1078

@isabelle-dr

Description

@isabelle-dr

What problem in GTFS datasets does this new rule address? Please describe.
The GTFS specification mentions in stops.stop_name:

Conditionally Required:

  • Required for locations which are stops (location_type=0), stations (location_type=1) or entrances/exits (location_type=2).
  • Optional for locations which are generic nodes (location_type=3) or boarding areas (location_type=4).

Describe the new validation rule
We should add a rule that would trigger a MissingStopNameNotice if:

  • (location_type has values 0, 1 or 2) AND (stop_name is missing) for a line in stops.txt

Error vs warning
ERROR

Metadata

Metadata

Labels

GTFS ReferenceUsed for Adding or changing rules that belong in the GTFS referencenew ruleNew rule to be addedstatus: Work in progressA PR that would close this issue has been opened.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions