Hi All,
I have a bus route local to me the PTV 773 to Frankston which at certain times per day has an extended route but the OSM route only shows its ‘regular” times. How does this route get extended to account for that?
Hi All,
I have a bus route local to me the PTV 773 to Frankston which at certain times per day has an extended route but the OSM route only shows its ‘regular” times. How does this route get extended to account for that?
My first tip for PTv2 is to read the original version, as it is much easier to understand not being mixed in with stuff to do with PTv1.
The theory is that you add a type=route for each variant of the route and then link them all together in a type=route_master. The choice a mapper has to make is how literally to do this. For example, a quick look at the timetable shows that the buses leave Frankston Railway Station but only some of them stop at Nepean Hwy/Playne St (and these don’t stop at Davey St/Young St). This should be a variant.
I had some Terrible^TM Python that parsed the GTFS files and calculated how many variants of a route there are and this can be quite a lot, so I’ve usually tried to limit it to the “maximal spanning” variants.
If the routes have different identities or sub-identities that are publicly known and are advertised by the operator, then separate route relations might make sense.
For the GTFS, PTNA shows 5 variants for the VIC bus 773. 2 oft them with more than 1000 rides until August, and the other 3 with 138 rides.
PTNA’s report for the OSM data shows 2 variants.
You can use the compare icon in the top right corner to start comparing GTFS wit OSM PTNA - Compare GTFS route with OSM route_master
Edit: add a link at the end
I got deeply into this in Cornwall a couple of years back. Here for example is Route 25, which has eleven route variants: Relation: Bus 25 (16105200) | OpenStreetMap some with different ‘extended’ versions, some that cover school travel (but only at certain times of the day), etc.
Route 28 has a slightly tamer seven variations: Relation: Bus 28 (Travel Cornwall) (16123280) | OpenStreetMap