Skip to content

Maps and tiles

Loka never draws a map itself. It writes a mapfile per layer and asks MapServer to draw; MapCache keeps the tiles.

C4 · Mapfile & renderlive diagram Open full screen ↗

Layer WMS goes through a pool of MapServer FastCGI workers. When a worker fails, the same request runs once more as CGI, so the client still gets its image.

C4 · Tile cache controllive diagram Open full screen ↗

MapCache asks Loka core for the map behind a tile on an internal route. Loka core writes the MapCache configuration from the catalog and runs seed and purge jobs. MIL-STD-2525 layers are cached with 4×4 metatiles, so symbols are not cut at tile edges.

QGIS asks for a tile (cache miss)live diagram Open full screen ↗