ERRORGTFS Schedule notice

Two geographic features use the same ID

duplicate_geo_json_key
Severity
ERROR
Files to check
1
Report fields
3
Documentation
Curated

Diagnosis

What this notice means

More than one feature in locations.geojson uses the reported feature ID.

Operational effect

Why it matters

A location_id reference cannot identify a single service area reliably.

Scope

Files to check and report fields

Report fieldTypeMeaning
featureIdstringThe duplicated key.
firstIndexintegerThe index of the first feature with the same key.
secondIndexintegerThe index of the other feature with the same key.

Repair

How to fix it

  1. 1

    Compare the features at firstIndex and secondIndex.

  2. 2

    Remove an accidental duplicate or assign unique IDs to distinct areas. Update the corresponding location_id references in stop_times.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