osm-ToniE / gtfs-feeds

Collection of definition files (sqlite tables) for the GTFS analysis of the PTNA tool
GNU General Public License v3.0
3 stars 5 forks source link

add PL-24-ZTM-Katowice #9

Closed osm-ToniE closed 1 year ago

osm-ToniE commented 1 year ago

Current GTFS data is released periodically (usually daily) by the transport authority itself as Open Data (I believe the specific licence is CC-BY-4.0): https://otwartedane.metropoliagzm.pl/en/dataset/rozklady-jazdy-i-lokalizacja-przystankow-gtfs I believe there is no single link to the current version, but names follow a pattern and the list is also available in machine-readable form so getting the newest one shouldn’t be too hard: https://otwartedane.metropoliagzm.pl/dataset/86b5ce0c-daea-4b40-bc60-af2c80477d21.jsonld https://otwartedane.metropoliagzm.pl/dataset/86b5ce0c-daea-4b40-bc60-af2c80477d21.xml

osm-ToniE commented 1 year ago

curl -s https://otwartedane.metropoliagzm.pl/dataset/86b5ce0c-daea-4b40-bc60-af2c80477d21.jsonld | jq ' ."@graph"[]."dcat:accessURL"."@id"' | fgrep 'schedule' | sed -e 's/^"//' -e 's/"$//' -e 's/^\(.*\)\(schedule.*\)$/\2 \1/' | sort -r | head -1 | sed -e 's/^\(.*\) \(http.*\)$/\2\1/'

osm-ToniE commented 1 year ago

'everest' can't reach the GTFS feed server, there is a timeout