Vector tiles

Vector tiles are something that is still not in the mainstream, but they are more flexible than raster tiles:

https://wiki.openstreetmap.org/wiki/Vector_tiles

We have some vector tiles with OSM data already even in production. Most common use are mobile apps (like OsmAnd, Maps.me or Yanosik). Some other examples are vector tiles being internally (server side) converted into raster tiles, like the maps served by Thunderforest:

https://wiki.openstreetmap.org/wiki/OpenCycleMap
https://wiki.openstreetmap.org/wiki/Transport_Map
https://www.youtube.com/watch?v=NoLJHgqDCzc

There can be however client side rendering used on the desktop, for example multilingual Belorus or India maps:

http://openstreetmap.by
https://openstreetmap.in/demo/#9.74/28.5851/77.2956
https://www.openstreetmap.org/user/PlaneMad/diary/38176

You can also play relatively easy with local vector tiles server:

https://blog.klokantech.com/2018/04/maps-with-docker.html

There are multiple software solutions (and problems) for serving and rendering vector tiles - there’s a nice overview made by Paul Norman:

http://paulnorman.ca/blog/2016/11/serving-vector-tiles/


For me the biggest challenge now would be to move the standard tiles layer into vectors internally (just like in the Thunderforest case):

https://github.com/gravitystorm/openstreetmap-carto/issues/3201

Vector tiles can be useful not only for map rendering. There’s a project accepted for GSoC - Vector Tiles for iD Editor:

https://www.openstreetmap.org/user/Princi%20Vershwal/diary/43802

Paul Norman has just announced new vector style called Bolder:

https://www.openstreetmap.org/user/pnorman/diary/43814
https://github.com/pnorman/bolder

It is a candidate for osm-carto migration, but there are still many moving parts, so expect no immediate results.

[UPDATE:] Bolder is unrelated to osm-carto vector migration. It’s just a new, client-side vector style using the same database schema as osm-carto.

There’s a discussion on the OSM Carto issue ticket about migrating to vector tiles:

https://github.com/gravitystorm/openstreetmap-carto/issues/3201

Interesting article and tool from Mapbox - “Millimeter precision HD Vector Maps”:

https://blog.mapbox.com/millimeter-precision-hd-vector-maps-874327d8327c

“New OpenStreetMap Vector Basemap Available” in Esri, based on OSM Carto style - works pretty fast despite rich dataset and client side rendering:

https://www.esri.com/arcgis-blog/products/arcgis-living-atlas/mapping/new-osm-vector-basemap/

http://esri.maps.arcgis.com/apps/View/index.html?appid=d6b18a2e774c4959ba855f6ac90952a2

Probably this is the code of Esri’s style - I’m trying to get in touch with them:

https://www.arcgis.com/sharing/rest/content/items/3e1a00aeae81496587988075fe529f71/resources/styles/root.json?f=pjson

More info directly from Esri about their OSM vector layer:

https://github.com/openstreetmap/operations/issues/214#issuecomment-408683834

And two interesting articles about vector tiles in OSM in general:

http://blog.systemed.net/post/15
https://www.openstreetmap.org/user/Zverik/diary/44506

Comments are welcome.

Another reading, related to BoF on SotM 2018:

https://twitter.com/richardf/status/1023553727389683712
https://github.com/openstreetmap/operations/issues/214#issuecomment-408816591

This is much needed waiting for this :slight_smile:

Imagico article on vector maps in OSM:

http://blog.imagico.de/on-the-discussion-on-osmf-supported-vector-tiles-maps/

Another person asking for localized maps and recognizing that this might need us to implement vectors first: http://blog.gegg.us/2018/09/some-thoughts-about-localization-of-openstreetmap-based-maps/