ERRORGTFS Schedule notice

An ID is shared by different location types

duplicate_geography_id
Severity
ERROR
Files to check
4
Report fields
4
Documentation
Curated

Diagnosis

What this notice means

The same ID appears in more than one of stops.txt, location_groups.txt, and locations.geojson.

Operational effect

Why it matters

The ID does not uniquely identify a stop, group, or service area.

Scope

Files to check and report fields

Report fieldTypeMeaning
csvRowNumberAintegerThe csv row number in stops.txt
csvRowNumberBintegerThe csv row number in location_group_stops.txt
featureIndexintegerThe feature index in locations.geojson
geographyIdstringThe geography id that is duplicated.

Repair

How to fix it

  1. 1

    Find geographyId in all three sources and identify which locations are intended.

  2. 2

    Assign distinct IDs and update references in stop_times.txt and, where applicable, location_group_stops.txt.

  3. 3
    Check the result

    After a repair, rebuild the archive and validate it again. Confirm that the affected records are correct and that no new related notices appeared. A reviewed warning or informational notice may remain when it describes intentional, supported data.

Re-check your feed in the browserFree, no upload for a file you pick.

Sources

References