GSoC 2019 Project: Pt-assistant Final Report
Posted by ashish123 on 19 August 2019 in English. Last updated on 20 August 2019.This is a gist of all the work that was done during the summer of 2019 under Google Summer Of Code (GSOC) to further improve the PT Assistant plugin which assists mappers in mapping Public Transport systems as well as Bicycle and hiking itineraries.
Aim of the Project
To further improve the plugin in a way that it helps mappers in mapping public transport systems as well as Bicycle itineraries with ease and a lot of further changes to make the plugin more helpful and flexible to the mapper. The assistant became more user-friendly and should act as a true assistant with smarter decision-making capabilities.
End Results
The plugin is now much more capable, processing the data in the background and presenting the result to enable the mappers to make decisions especially with new features like routing helper for bicycle, the extended data model for public transport, and some new key functions in old routing helper. All the major achievements of this summer have been listed below :
Extending routing helper for bicycles
Previous Routing Helper was dedicated to public transport so my task was to extend it further for Bicycles. As Bicycle follows the original mapping model for route relations, they are different than the route relations for public transport. Bicycle routes contain “forward” and backward roles on its ways to separate branches were traversing the route in one direction differs from the route in the opposite direction. The order of the member ways is different than pt-routes. So the basic idea of the router was the same first it starts from the beginning of the route and checks for gaps in the route and at every step, it checks for the validity of the current traversing way and if it finds something wrong it shows users options to fix that.