I noticed the ISO 3166-2 code used by the SEQ feed in https://wiki.openstreetmap.org/wiki/List_of_GTFS_feeds#Australia is incorrect: according to Wikipedia, at least, AU-QD
was never the code for Queensland, it was initially AU-QL
, then changed to AU-QLD
in March 2004 (before I was born!), so it should be AU-QLD
. The PTNA listing should be corrected too (I think @ToniE is who I should ping about this?).
More to the point (and why I’m writing this post and not simply correcting the wiki article), I noticed that this feed ID isn’t actually used anywhere on the map, and all the GTFS tagging in Queensland seems to be in the older, deprecated gtfs_id=*
style instead of the newer gtfs:*
namespace. This is a problem, because one stop may have multiple stop IDs from different feeds: an example is Morayfield bus station, platform 1, which is #321172 in the SEQ feed but #740169 in the Kilcoy feed. Currently this is tagged in note=*
which is somewhat disappointing. I think the stop IDs might be unique across all the feeds, which might help with some sort of automated edit to update things; but I did find out that bus routes can have the same number as a route from a different feed/network/service area/whatever the right term is (not sure) (e.g. SEQ route 896 and Kilcoy route 896).
I’d like to add some of the other feeds to that page, and I think changing the IDs to include Translink
might be an improvement too (AU-QLD-Translink-SEQ
, AU-QLD-Translink-Kilcoy
, etc.), I think most of the other feed IDs on that page include the network or operator name, and it’d be more future-proof.
It might also be nice to have PTNA set up to analyse the routes to check their correctness/completeness, maybe with the CSV in Queensland/Public transport/Analysis
or something like that. I think some of them are missing stops or route master relations and some stops themselves are missing too.
There is the slight wrinkle that we don’t yet have a waiver for these feeds, the data sources wiki article says “CC BY 4.0 - explicit permission - waiver sent 16th Mar (TMR), followed up 13th Mar, last update 24th Apr”, although “explicit permission” sounds good so maybe it’s not much of a wrinkle? And if the data is already in OSM and has been for a few years it seems reasonable to improve it either way.
If those feed IDs are what gets used (and if I’m understanding gtfs:*
correctly), I think the earlier example would be tagged something like (just the main ones here):
public_transport=platform
local_ref=1
ref=321172;740169
gtfs:stop_id:AU-QLD-Translink-SEQ=321172
gtfs:stop_id:AU-QLD-Translink-Kilcoy=740169
route_ref=651;653;654;656;895;896;9999
network=Translink
Not sure how transport:zone=*
should be tagged, for this stop it’s different for the two different service areas (zone 3 for SEQ, zone 1 for Kilcoy). Adding the feed suffix to something not in gtfs:*
seems weird, but would probably work fine, and Taginfo lists no users so it (hopefully) wouldn’t break anything. I think some stops (maybe more for train routes) have multiple zones, although with the 50c fares the zone system seems somewhat vestigial now anyway. Or I could just do transport:zone=3;1
(or =1;3
) I guess? route_ref
also has this ambiguity but it should matter less there, since you should be able to determine which service area the referred route is part of from the route’s tags and/or the stop’s relation memberships.
Any thoughts?