Files
pilgrim/README.md
2024-03-31 20:25:18 +02:00

1.4 KiB

How it works/features

  • vector tileserver (martin) delivers tiles
    • martin needs postgis
    • needs a job which fills database with OSM data
    • layers need to be defined
  • style for tiles (via maputnk)
  • maplibre framework brings tiles and style together and draws on website
  • map shows various outdoor relevant features (clickable)
  • routing requests will be forwarded to (local) graphhopper
    • graphhopper needs osm pbf file
  • responses from graphhopper will be drawn on map via maplibre

Structure

  • maputnik to edit map style(s)
  • postgresql database to hold osm data
    • regular imports via osm2pgsql tool from pbf download
  • vector tileserver (marting) to deliver vector tiles with data from db
  • graphhopper with api to deliver routing data
    • regular imports from pbf download
  • pilgrim to glue tiles and routing together

Glyphs

Roboto font (Apache Licence)

  1. Get fonts from https://github.com/openmaptiles/fonts
  2. package fonts to PBF with npm install followed by node ./generate.js
  3. copy Roboto glyphs from _output directory to desired place where it can be accessed from map lib

Alternative repo https://github.com/orangemug/font-glyphs/