No description
This repository has been archived on 2026-07-27. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • HTML 50.4%
  • Makefile 49.6%
Find a file
2021-07-03 14:30:58 +02:00
json add Makefile to fetch tileserver and fonts, run npm install 2021-07-03 14:09:05 +02:00
index.html add npm packages 2021-07-02 13:38:19 +02:00
Makefile add make clean command 2021-07-03 14:30:58 +02:00
package-lock.json add patched spritezero-cli to package.json 2021-07-03 14:29:21 +02:00
package.json add patched spritezero-cli to package.json 2021-07-03 14:29:21 +02:00
README.md add Makefile to fetch tileserver and fonts, run npm install 2021-07-03 14:09:05 +02:00

Generate vector tiles

Requires a working Docker installation.

cd openmaptiles
make

Change file .env:

[...]
BBOX=7.893, 48.73, 8.816, 49.246 

# Which zooms to generate in   make generate-tiles
MIN_ZOOM=0
MAX_ZOOM=14
[...]
make list-geofabrik
./quickstart.sh europe/germany/baden-wuerttemberg/karlsruhe-regbez
make start-tileserver
cp ./data/tiles.mbtiles ./data/karlsruhe.mbtiles

Setup maplibre-gl example

Requires git, nodejs and npm to be installed.

git clone https://git.project-insanity.org/onny/maplibre-gl-js-selfhosted-example.git
cd maplibre-gl-js-selfhosted-example
make
mv ../openmaptiles/data/karlsruhe.mbtiles tileserver/