Diagnosis
What this notice means
irrelevant_max_slope_set_for_pathway_mode is a warning in a GTFS Schedule validation report: max_slope is set on a pathway that cannot slope. Start with pathways.txt.
A pathway that is not a walkway (pathway_mode=1) or a moving sidewalk (pathway_mode=3) defines a non-zero max_slope.
Operational effect
Why it matters
Accessibility routing may misread the pathway, for example treating stairs or an elevator as a ramp.
Scope
Files to check and report fields
| Report field | Type | Meaning |
|---|---|---|
csvRowNumber | integer | The row number of the faulty record. |
maxSlope | object | The max_slope defined on the faulty record. |
pathwayId | string | The pathway_id of the faulty record. |
pathwayMode | object | The pathway_mode of the faulty record. |
Repair
How to fix it
- 1
Check the pathway's
pathway_modeandmax_slopeagainst the real connection. - 2
Clear
max_slopeon stairs, escalators, elevators, fare gates and exit gates, or correctpathway_modeif the pathway is really a walkway or moving sidewalk. - 3Check 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