/tileserver

Open Street Maps Tileserver

Primary LanguageMakefile

Tileserver

docker-compose setup for tileserver-gl.

Screenshot

North America

Install

Install docker and docker-compose.

sudo apt-get install docker-compose

Ensure Fonts

By default there are some special fonts that are required for rasterized tiles. Run this to install them:

make install_fonts

Build & Run

This will docker-compose up the tileserver and expose it on http://localhost:8085. Feel free to change ports in docker-compose.yml.

make up

Obtain Datasets:

By default, it will download the demo dataset zurich_switzerland.mbtiles to ./data.

You may want to add more datasets:

There are some TOS items to agree to, but they're all basically free.

Usage

I can recommend using react-leaflet to load up these tiles.