JOSM PT Route Gap Locating

The domino effect hit again, first updating tags on a bus stop 50 clicks away. The next day being told there’s a gap(s) in the related bus route (actually there were 2 affected). The only way I know finding them is loading the route into JOSM (with PT plugin) and pouring over the route in detail searching for the gap. Turned out in finding 4 this way and including a section going the opposite way of a oneway, no psv oneway exception so finding what the correct routing is for that corner, appeared to be a double back and going around the block. Thinking to have caught them all, sort the members, no gap warning though mentioned somewhere it would be given and save. Not so, this morning same one route reporting a gap (though there’s a forward and a backward separately, again pouring over and finding yet another at a, off course, newish roundabout.

Since I have PT plugin attached and know how to highlight went to reread the wiki of PT assistant. There’s a paragraph telling how to sort the members to resolve route continuity and in past that has worked for me, but can’t find something that tells where there’s an actual a missing road section in a relation. Somewhere found a wizard to split roundabouts, convert to PTv2, not finding the 2 Tools menu entries related to PT, but there’s an actual PT menu


There’s a button in the relations editor screen to sort members also offering to convert to PTv2 (this route has no route master parent relation, not existing).

Long shorting the TL;DR verbosity, what is the sequence of steps to find real gaps in routes of way sections that were actually missed to be added as members of route relations of any kind but public transport especially, this a real timesaver if it exists particular on those country long Europe serving routes with countless members.

Many thanks.

IMO, forget the PT wizard for this sort of thing. Just use the JOSM relation editor.

  1. Open the route relation in the editor

  2. Download incomplete members. The connectivity will be shown on the right with red dots showing disconnected portions.

  3. Use the right click menu to find and navigate to the next gap.

Screenshot of JOSM relation list with right click menu showing "zoom to gap"

This screenshot is of a PTv1 route, and in this case it is actually possible to select the split portion as well as the ways either side of that split and tell JOSM to sort the members and it fixes it automatically. In other cases you may need to manually find the missing piece and insert it into the member list in the correct place or (for PTv1) apply forward or backward roles to a member to get JOSM to recognise it as having separate routes in each direction.

Remember that while the editor is open it will not reflect any changes made to the data outside the relation editor, so if you need to split a way it’s better to save your changes in the editor, split the way, and then reopen the editor to continue editing.

1 Like

Went to look for the meaning of these binoculars needing little icons, to include the one which looks like a mini of the balloons in comic books telling what each is saying… no luck. There’s no header over that particular column either in the relation edit screen. ‘Status’ or something would be nice to tip the users off to look harder.

a few look like roundabout traffic signs and indeed on ‘zoom to’ a roundabout moves in view and just now if hovering long enough over one a little explanation of the icon shows up, the grey box explaining the direction of the way is opposite to the road relation (I know for a fact it’s not, maybe just in the wrong driving order?)

There’s an inexhaustible amount of work still to do and to learn.