OpenStreetMap logo OpenStreetMap

PT_Assistant's new features after GSoC 2019

Posted by Polyglot on 2 September 2019 in English. Last updated on 8 September 2019.

(Work in progress)

During the summer of 2019 Ashish Singh worked on further improvements to PT_Assistant. He improved the data model, which led to a better functioning of sorting stops in public transport routes. It could also lead to nicer visualisations of the routes, but that has not been implemented yet.

In this diary entry I want to highlight some of the new features and explain others that existed before.

Public transport

Validator

In the validator everything related to public transport is prepended with PT:

  • It can detect that routes can be fixed by simply resorting the ways

  • Or that stops aren’t served.

  • It also reports when the highway is not suitable for the mode of transport

  • Or that the vehicle goes against oneway traffic, or takes a turn where there is a turn restriction

Visualisation

The route that is currently selected or for which the relation editor has focus (it’s on top) is highlighted in purple with the stops in yellow. The stops have the ref of the route, followed by a sequence number.

Relation Editor

Routing Helper

  • The routing helper was added last year and is now better on (wrongly) split roundabouts

  • There is also a new option, which makes it possible to split the way that is painted in white. The way that was added last in most cases. If a user does this by selection option 8, they get the possibility to make a turn before the white way’s end node is reached. The user selects option 1, 2 or 3. Often there is only 1, or goes further back by using option 8. Once a turn is selected, it is the white way that is split and the side road becomes the new white way.

Demo

Stops sorter

  • Sorting stops was added 2 or 3 years ago, but it sometimes failed when a route passed the same way twice. The stops along these ways were added multiple times, which was confusing and hard to fix manually. Now that the underlying data model was improved, it became possible to add them in a more intelligent way. The model is aware of the side of the road the stop is on and the sorter is aware of the side of the road vehicles drive on in the part of the world where the mapper is editing.

Bicycle routes

Validator

Warnings are prepended with: Bicycle:

Visualisation

  • The visualisation of the routes takes into account ways on forked branches that have forward/backward roles.

Relation Editor

Routing Helper

  • The routing helper functionality now also works on bicycle routes and is capable of adding forked branches with proper forward/backward roles.
Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

Discussion

Log in to leave a comment