j40-cejst-2/server
2021-05-17 09:52:01 -04:00
..
data Dockerizing pg_tileserv. 2021-04-15 22:50:07 -04:00
docker-compose.yml Fix 'Peer authentication failed' error flooding in pg_isready (#59) 2021-05-17 09:52:01 -04:00
load-data-db.sh Simplifying, adding initialization script to docker-compose 2021-05-04 14:56:49 -04:00
README.md Simplifying, adding initialization script to docker-compose 2021-05-04 14:56:49 -04:00

Tile Server

What is it?

A simple tile server using pg_tileserv, based on pg_tileserv docker example.

How to use it?

  1. Edit variables in docker-compose.yml if necessary to customize username/pw
  2. Run docker-compose up to start running the server. It will likely stall in enabling extensions (TODO: figure this out))
  3. Restart the server with ctrl-c. It should load the data from the data/ directory exactly one time.

Using

  • Point your visualization library to the following URL, and select vector tiles: http://localhost:7800/public.maryland/{z}/{x}/{y}.mvt