ad-freiburg / pfaedle

Precise map-matching for public transit feeds. Generates high-quality GTFS shapes from OSM data.
GNU General Public License v3.0
208 stars 29 forks source link

Error reading pathways.txt #57

Open extinctPencil opened 1 month ago

extinctPencil commented 1 month ago

ERROR: Could not parse input GTFS feed, reason was: : in field 'stair_count', expected non-negative integer number

Looking at https://gtfs.org/documentation/schedule/reference/#pathwaystxt

stair_count | Non-null integer | Optional | Number of stairs of the pathway.A positive stair_count implies that the rider walk up from from_stop_id to to_stop_id. And a negative stair_count implies that the rider walk down from from_stop_id to to_stop_id.

I presume the GTFS Model objects need to be updated to resolve this

patrickbr commented 1 month ago

Can you try again with the latest master? Make sure you update the git submodules by running git submodule update.

However, your error seems to hint at a general parsing problem of the stair_count field. If the current master still fails to parse the feed, can you post the failing line in pathways.txt here?