google / google/transit

Consuming applications not incorporating changes to fields when record id is unchanged

Open
#348 4 comments 1 reaction 0 assignees View on GitHub
GTFS Schedule Status: Stale
Dominant language
No language data
Stars
1.1k
Forks
225
Avg merge
7d 17h
Merged PRs (30d)
3

Description

We have noticed consuming applications incorrectly assume that a shape or stop is unchanged when its id remains the same. These applications process new stop_ids and new shape_ids, but will often ignore existing ones between datasets, even when values such as lat/lons, stop names, or codes, are changed.

It seems common sense to us to assume that a record should be able to maintain a consistent id when a new dataset is posted but still have other changes to the data (e.g., stop_name, lat/lon) incorporated. Consumers should be processing such changes regardless of whether a record has a fresh id.

We are wondering if there is either a gap in the Best Practices (http://gtfs.org/schedule/best-practices/#dataset-publishing-general-practices) or if this is an existing norm that is not being enforced/followed?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.