Yes and no! It took me nearly 2 years to finalize that and I’m now fine-tuning the last bits.
Last activities are about finding appropriate ‘osmium tags-filter’ settings so, that the reports generated from Overpass-API data versus generated from planet extract data are nearly identical.
I’ve discovered this week that Metropolitan Tulsa Transit Authority actually kept that name, but provides service as MetroLink Tulsa. So based on this new information, I’m thinking network=MetroLink Tulsa and operator=Metropolitan Tulsa Transit Authority might be the winning combination? Open to feedback.
After nearly 2 years of work (with interrupts of course), I just released the final bits and bolts for PTNA’s switch-over from Overpass-API to Planet extract data.
Final bits and bolts: adjusting filter rules. You’ll notice that with the next report (tomorrow), starting with UTC+10 (Australia, where “tomorrow” already started).
As mentioned, the queries towards Overpass-API and ‘osmium tags-filter’ are different.
I tried to reduce the differences as much as possible.
PTNA is nearly 100% Overpass-free:
nightly reports are 100% Overpass-free
only the fall-back is Overpass-API
on-demand report generation is still based on Overpass-API data
data is nearly up-to-date and not more than 1 hour old
this is around max 10 requests per day, in total less than 1GB
requests are sent by PTNA
on-demand comparison of GTFS versus OSM data is based on Overpass-API data
these are less than 5k requests per day with small amount of data each
requests are sent by the user’s browser (JavaScript)
Based on a suggestion by @donmac703, I just released a new small feature for ptna.
The new feature will be active next night (local time of report), starting with UTC+10 (Australia) in about 5 hours.
I’d like some feedback regarding the tag bus=yes often seen on (PTv2) bus platforms (optional) and (PTv2) bus stop_positions (mandatory) - ‘bus’ as an example here.
In general, bus=*, access=*, vehicle=*, foot=*, … are access right specific keys.
PTv2 handles this bus=yes (and tram=yes, train=yes, …) as an indicator for the type of vehicle using this platform/stop_position. This has been criticised in the past.
N.B. the code finds some typos: ‘bus=^y’, ‘bus=yeslit=yes’, … but also ‘access=private’ which seems not to fit to public transport.
I like the new check as i was able to find this ‘bus=yeslit=yes‘ error i made in the past.
For the access as indicator keys:
As long PTv2 has no indicator on its own, the access keys bus=*, tram=*, train=*, etc… are the best options we have to dedifferentiate between the different forms of transportation as of right now.
A subkey like ’public_transport:type=*’ could work for this, however we also need to in mind the access keys are in use for this for a long time by now. It is still worth wile to talk and discus over this potential addition to the PTv2 scheme.
I know in Finland a few public bus routes go via stops which are in military zone or industrial areas which have restricted access by law. Quite unusual and rare thing.
In the UK there is at least Lympstone Commando rail station which serves a military facility. I don’t know if the general public have access to that platform.
According to the law, yes (it’s a public station owned by Network Rail on a public footpath).
According to the Ministry of Defence, yes but please don’t (they can’t really stop you though).
According to common sense, it’s in the middle of nowhere and looks like this so why would you want to go there (no-one really does other than soldiers)
Yeah, I didn’t think of that use case. I guess, I’ll keep the code as is and wait for someone complaining about a false positive error message from PTNA.
There are no complains from PTNA for this bus 27 PTNA - FR-BRE-Bibus even though there is this node with barrier=lift_gate and psv=private. The tagging at the highway=service behind the gate has access=no and psv=yes though, which is also OK for PTNA.