PTNA: news for Public Transport Network Analysis

Based on GitHub request #163 by @mga_geo, I just released a new check for PTNA

Failure to detect an incorrect intersection between a way and a roundabout
A road connects to a roundabout after crossing it.

It turned out that there are many more constellations where a way crosses the rim of a roundabout and leads into or through the same. See the test data as OSM file (for JOSM).

The new code has been tested on all PTNA configurations. There are only few errors.

As always: Please report problems, missing checks, and false-positives of this function

public-transport ptna

Edit: fix URLs

2 Likes

@emvee

I’m coming back to this proposal.

My idea is to let PTNA report the OSM-IDs of missing data from objects (relations though) to its log-file.
Afterwards, a script (optional) can collect their IDs and append the IDs to a list of IDs which require a handling by ‘osmium get-id -r ...’. The list is handled by “... | sort -u ...” avoiding double entries.

The next time (next night) PTNA will check for the existence of this list and call ‘osmium get-id -r ...’ retrieving the objects from an extract who’s name is part of the list name (planet, europe, germany, … , region-upper-bavaria, …), ‘osmium merge’ the result with the original extract (DE-BY-MVV.osm.pbf) and then start the analysis.

This list of missing OSM-ID data can be maintained manually or by a script, can be checked, deleted, be temporary or even kept in GitHub

Based on a PM by @ClarSco, I just added analysis support for public-transport data of OSM to ptna for

Based on the discussion Tasmanian bus stops have had their stop IDs and GTFS feed changed , I just added analysis support for public-transport data of osm to ptna for

Based on a PM by @Claudius_Henrichs, I just added analysis support for public-transport data of osm to ptna for

The search area for GB-GLG-SPT has been enlarged, too many missing routes which have not been found in the amdmin_level=6 area “City of Glasgow”
The search area is now defined as

@ClarSco public-transport ptna

Based on request in PTNA - Edmonton Transit Service, I just added analysis support for public-transport data of osm to ptna for

@JMGonk @TagaSanPedroAko

Based on GitHub request “Add GTFS feed for Saint Petersburg, Russia · Issue #56 · osm-ToniE/gtfs-feeds · GitHub” by OSM user @TrickyFoxy, I just added analysis support of public-transport data in osm to ptna for

1 Like

Based on request GTFS data and PTNA – Calgary Transit by @TagaSanPedroAko, I just added analysis support for public-transport data of osm to ptna for

Based on request in a PM by @mga_geo, I just added analysis support for public-transport data of osm to ptna for

Based on GitHub issue Add support for GTFS from FI-Nysse · Issue #57 · osm-ToniE/gtfs-feeds · GitHub, I also added

@mga_geo also asked whether I can rename some PTNA and GTFS links:

FR-BRE-TIBUS     => FR-BRE-BREIZHGO_CAR_22
FR-BRE-PENNARBED => FR-BRE-BREIZHGO_CAR_29
FR-BRE-ILLENOO2  => FR-BRE-BREIZHGO_CAR_35
FR-BRE-TIM       => FR-BRE-BREIZHGO_CAR_56
FR-BRE-LRRNS     => FR-BRE-BREIZHGO_CAR_NS
FR-BRE-LRRON     => FR-BRE-BREIZHGO_CAR_RLP

… coming soon, step-by-step

Based on own findings on the German page https://gtfs.mfdz.de/, I just added analysis support for gtfs data to ptna for

@adamos may this help you in your Flixbus daily maintenance routine for public-transport data of osm

2 Likes

Based on request PTNA amd GTFS - Toronto Transit Commission by @TagaSanPedroAko, I just addedd analysis support for public-transport data of osm to ptna for

Can you check the boundaries the tool is checking for TTC, please? PTNA - CA-ON-TTC includes some buses operating in neighbouring Mississauga (e.g. 9 Rathburn, 13 Glen Ein, 17 Hurontario) which is part of MiWay and not TTC.

1 Like

Haven’t checked the query area, but those appears to be MiWay routes with segments crossing into Toronto city limits at Etobicoke. Maybe there should be a restriction for network values to be analyzed.

No, neither Relation: ‪17 Hurontario‬ (‪19211843‬) | OpenStreetMap nor Relation: ‪13 Glen Erin‬ (‪1865461‬) | OpenStreetMap come near the City of Toronto border

However, those MiWay relations are missing a network tag, so perhaps that’s why they’re being pulled in here? But they still probably should not be getting found in an analysis of TTC specifically. The TTC has a few lines that go beyond City of Toronto borders, but none that operate entirely beyond the city borders, as MiWay’s 13 and 17 do.

I see now. just added missing network tags to 17 Hurontario.

The search area is the Toronto relation stated above. Any route and route_master is found which has at least a single node (stop_position, platform node, node of platform way, node of member way) in this area. In addition to that, all parent relations (route_master of route, …) and sister/brother routes of same route_master will be downloaded. So, seeing border-crossing routes from other networks is normal.

There is a restriction in place. For CA-ON-TTC, PTNA accepts the long form ‘Toronto Transit Commission’ and the short form ‘TTC’ but also the empty string, i.e. network is not set.
So f.m.p.o.v., setting ‘network’ is always the first task suppressing analysis of ‘foreign’ network routes.

1 Like

Based on the discussions in Other ODbL-compatible GTFS feeds - Canada, I just added analysis support of public-transport data of osm to ptna for

Further more, I would like to rename the analysis of CA-ON-Burlington-Transit to CA-ON-BT using the abbreviation ‘BT’. Are there any objections, concerns?

@TagaSanPedroAko @Jarek @wolfy1339