Osm

From Personal wiki
Revision as of 20:43, 5 April 2022 by A a (talk | contribs) (code-formatting)

LXC container

Cartography pipeline

postgresql

Data storage, mostly in planet_osm_* tables, but some smaller tables for e.g. coastlines in dbname=gis

renderd

Rendering daemon

apache2

Requests rendering daemon if tiles not present in cache and serves them on port 80

Container rights

  • IP 10.0.3.10
  • Internet access for periodically downloading updates (changefiles), restricted from inside with no default route
  • read-write to /mnt/maps/(planet.bin.nodes) for database imports and as temporary storage (/mnt/maps/tmp) of changefiles
  • read-write to /var/lib/postgresql/ to keep the database on a separate zfs dataset

OpenStreetmap container that contains a postgresql database of the planet as cartography, the renderd daemon and an apache2 webserver to serve rendered vector tiles.