This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

Client side rendering in Maps

In order to realistically support offline maps in GNOME Maps we need to move to some kind of client side rendering. We want to get the described data from OpenStreetMap, possibly via some intermediate format, and then render the map locally.

This will require work, probably mostly in libchamplain.

1. What we have

Right now libchamplain downloads graphical map tiles in the form of PNG or JPEG data and renders them using Clutter. The amount of data this would generate client side makes it unfeasible for offline support.

2. What we want

If we instead could move to some kind of vector tiles we would then download data that we would render into an image on the client side. Since vector data is smaller than a rendered image this would make it possible to offer download of regions and an offline mode. Using vector tiles, rather than downloading bounding-boxes of raw OpenStreetMaps data would also make this easier to fit in with the tile-based architecture of libchamplain.

3. What needs to be done


2024-10-23 10:58