Skip to content

fix: Double agency prefix on IDs from consolidated/merged GTFS feeds #791

@Ahmedhossamdev

Description

@Ahmedhossamdev

Problem

When using a consolidated/merged GTFS feed (e.g. Puget Sound Consolidated GTFS), some IDs in
the feed already include the agency prefix for example a stop with raw ID 40_1121 in the DB.
When our code calls utils.FormCombinedID("40", "40_1121") it produces 40_40_1121, which is
wrong.

Image

https://www.soundtransit.org/help-contacts/business-information/open-transit-data-otd/otd-downloads

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions