Skip to content

Maps

Describes how to use the prepared data to create maps.

map5topo

1. Mapnik Test

Directly render tiles with Mapnik Python script. Output (JPEG) will be under tools/mapnik/output/.

1
2
3
4
5
6
7
cd tools

render multiple tiles at different zooms per category
./mapnik-render-cat.sh  roads | resident | rural

Render any single tile by zoom, x, y
./mapnik-render-tile.sh  z x y

2. Tile Seeding

Create tile caches (GeoPackages).

1
2
3
4
5
6
cd services/mapproxy/seed
# Entire netherlands, NB takes extremely long!
./seed-rd.sh

# Muiden Area, takes about 30mins-1h depending on system
./seed-muiden-rd.sh

3. Test the Services

Several apps are available.

  • Run service stack: cd services; ./start.sh
  • Local: http://localhost:8000/mp (MapProxy) http://localhost:8000/app (apps) http://localhost:8000/pgadmin (pgadmin)
  • Production: https://topo.map5.nl/mp https://topo.map5.nl/app

Created 2024-04-24, Updated 2024-04-24
Authors: justb4 (1)