Skip to main content

Second phase

5.7. - 9.7.
- during this week I enabled possibility to upload changes to the OSM production server and it was working fine and I created first changeset.
- downloading of route masters was added and user can browse between route's variants.
- various small fixes (more basemap layers; UI styling; some tooltips on layers; highlighting of downloaded stop areas)

10.7. - 16.7.
- the latest work concentrated mainly on the refactoring of downloading functionality while currently chosen approach was downloading a big amount of data at the start of the application which caused some trouble mainly related with loading speed. New approach downloads just node elements (stops, platforms) and everything else (relations, master rel., stop areas) are downloaded after it is selected somewhere in the application. This makes the application faster at the beginning but sometimes also causes some problems with API which don't like when it has to respond to too many requests in a short period of time - response contain "too many requests", sometimes time out, or a user can receive his IP banned like I did during my long testing :-)...

17.7. - 23.7.
- the project gets larger and logic little bit confusing already so during this period I did a quite bit refactoring of some parts with the help of Tslint which I used to apply more strict rules to provide better code consistency and maintainability in the future.
- the functionality to reorder members of a route relations was finished. Now it is possible to edit all node members inside a relation and directly see how it affects the line connectivity in the map view (only for bus stops currently).

24.7. - 30.7.
- functionality to create new node elements was finished together with the possibility to move between the changes.
- various small fixes was done (better user information; deployment problems - Yarn lock file), some work on testing setup for Karma runner.


Popular posts from this blog

Final phase

GSOC 2017 is quickly coming to an end and here is the final wrap-up about the development progress:

1.8. - 13. 8.
- adjustment of the route browser view (new icons symbolizing status of a route - if it was fully downloaded already; if it was checked for the possible existence of master relation)
- adjust master variants view (improved logic to enable the view of route variants)
- creation of new routes from route browser's window (new button was added) + editing steps undo/redo of new routes
- it is now possible to change members in all routes (both new and existing) with a new button in route browser's window. When the "members editing" mode is enabled, the user can click (toggle) membership of any node element in the map. All route's members are highlighted with cyan circle marker...
- various fixes - e.g. I decided to add strict type specifications lint rule because it starts to be helpful with the growing amount of code...

14.8. - 20.8.
- I added more satelli…

GSoC 2017 - summary of the 1st phase

The development of this project is made by David Kocich (mentored by Ilya Zverik and Polyglot) within the Google Summer of Code 2017. This blog is going to describe further progress and improvements.

Before the official start of the project, I was learning more about the OSM data model, public transport editing/validation with JOSM and PT assistant. I choose to use Angular 2, Leaflet and Webpack to create an application and all source codes are available on Github/DKocich. Development version of the app is available online too (

During the first phase, my work was more experimental and some parts of the app still don't work how they should so there are still plenty of fixes and optimisation to be done later. Some of the changes made during the 1st phase are:

30.5. - 4.6.
- experimenting with Angular/Webpack, adjustments of settings required for automatic building, testing and deployment

5.6. - 11.6.
- progress on downloading functionality which request…