Skip to content

RouteMatcher routespec format #1671

@abyrd

Description

@abyrd

As noted in a comment in RouteMatcher:

@param routeSpecList A comma-separated list of route spec, each of the format
[agencyId][routeName][routeId] Please note that this format is not really intuitive
as it does not follow the OBA-gtfslib AgencyAndId standard ('agencyID_routeId'). This
was kept for backward-compatibility purposes. If the original routeName contains some
"" each must be replaced by a space. If the agency or route ID contains a "" they
must be escaped using a backslash.

We should not accept possibly non-unique route name strings when we have IDs. We should break backward compatibility. This is also the only place we are still using underscores as scope separators. We should just use feed:routeId.

Metadata

Metadata

Assignees

Labels

!ImprovementA functional improvement or micro featureStaleThis issue is stale, no activity for 90 days. Remove stale label or comment within 30 days.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions