Tile serving with MapLibre/Martin/Planetiler - base and overlays
07-14, 14:00–18:00 (Europe/Sarajevo), PL14

Create a tile server with the base map and some custom data. Build a web site with both the base map and custom data using MapLibre GL+Martin+PG+Planetiler+osm2pgsql+...


In this workshop we will generate base map tiles from OSM data using Planetiler, set up Martin tile server, set up nginx to serve our sample web site that will use MapLibre GL JS to show the map. Additionally (time permitting), we will add a PostgreSQL server, and will use osm2pgsql to import extra data from the same OSM dump, and do on-the-fly tile generation from PG.


What topics do you plan to cover in your workshop?
  • generating base maps
  • setting up postgres with data
  • generate overlay tiles on the fly
  • serving tiles
  • visualizing tiles with MapLibre
  • adding data layers
Level of the workshop

intermediate

Pre-requirements for attendees
  • docker
  • docker compose

See https://github.com/maplibre/workshop?tab=readme-ov-file#pre-reqs

Coding knowledge required?

no

Link to software source code repository

https://github.com/maplibre/workshop

  • MapLibre Co-founder, currently serving on the board
  • Maintainer of Martin tile server
  • Created Wikipedia API, Maps, and Graphs
  • Former principle engineer at Elastic (elasticsearch)
  • Currently at Rivian