OpenStreetMap

fannymonori's diary

Recent diary entries

Google Summer of Code Summary for the final evaluation

Posted by fannymonori on 25 August 2017 in English (English)

My Project

I was working with OpenStreetMap during the summer on the library called libosmscout. Libosmscout offers offline rendering and routing on OpenStreetMap data, and my project's aim was to expand the library by implementing an OpenGL based renderer.

My Work

Two components of the libosmscout project is my work:

Links to my commits, pull request, and issues:

Results

I met the objectives that were given in my proposal.

  • All the four main features of the map (areas, ways, labels, and ground) are rendered correctly.
  • Most of the styling options are supported
  • It is cross-platform
  • There's a working desktop demo application

A few screenshot of my work: Santorini Naples Debrecen Budapest

Location: Sestakert, Debrecen, Debreceni járás, Hajdú-Bihar, Northern Great Plain, Great Plain and North, Hungary

Google Summer of Code Experience Part 2

Posted by fannymonori on 14 August 2017 in English (English)

The end of the 2017 Google Summer of Code is getting closer. In the last weeks I was working on styling the map.

The most challenging task this month was definitely the anti-aliased ways, and I ended up doing that with the help of barycentric coordinates. I also added borders to areas and paths. I did a mistake previously, and not all buildings were visible, but I have fixed that issue, and now small buildings are also visible.

There is still some work to do, I intend to concentrate on the obvious things in the next day. Looking at the pictures below one can see that dotted/stippled lines are not yet supported (in the first picture the tiny red lines should be dotted). Fixing the looks of the texts also have high priority. The size is not quite right, and it is blurry. I also want to add support for patterns before the GSoC ends.

Debrecen: Debrecen

Budapest close: Budapest close

Links:

Libosmscout: https://github.com/Framstag/libosmscout

My project: https://summerofcode.withgoogle.com/projects/#4992829691527168

Location: Sestakert, Debrecen, Debreceni járás, Hajdú-Bihar, Northern Great Plain, Great Plain and North, Hungary

Google Summer of Code Experience Part 1

Posted by fannymonori on 3 August 2017 in English (English)

This week the last coding period in the Google Summer of Code 2017 started, so I thought a summary of the previous two months as an OpenStreetMap GSoC student would be appropriate.

During the three months of the program I have to implement an OpenGL renderer backend for libosmscout library, in order to achieve a fast rendering that runs on both PC and mobile devices.

The first half of the program I was busy with creating the basis of the OpenGL renderer. I divided the TODO list into 4 bigger parts: rendering areas, rendering ways, rendering ground tiles, and rendering labels. Until now I was working on these 4 type of objects to visualize, with a minimal styling (only color). After two month of work the efforts are starting to show, as seen in the pictures below:

Debrecen 1 Debrecen 2

The objectives for the first 1,5 month were rendering the 4 main type of objects, and these objectives were met, but some important styling features are missing, and implementing those features is my job for the last month. In the next few weeks I'm implementing borders, and I will add ending caps to the ways (these are the most prominent features that are missing). Also refining is needed for text rendering, and anti-aliasing (which is too smooth in some zoom level), and there is room for enhancement regarding performance and the demo application I created.

Links:

Libosmscout: https://github.com/Framstag/libosmscout http://libosmscout.sourceforge.net/

My project: https://summerofcode.withgoogle.com/projects/#4992829691527168