Created
July 27, 2021 10:00
-
-
Save danielreiser/540df5345c554ab2615b3c8b335e209c to your computer and use it in GitHub Desktop.
Install tooling and kick of the conversion process
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# We need make in order for openmaptiles to work correctly | |
sudo apt-get install -y make | |
# get the openmaptiles tooling | |
git clone https://github.com/openmaptiles/openmaptiles.git | |
cd ./openmaptiles | |
# We've decided to only get the mapdata until zoom level 12. It's a good idea to check first which zoom levels you'll need. Eveything higher then 12 take a lot of time and space | |
sed -i "/MAX_ZOOM=/c\MAX_ZOOM=12" .env | |
# Prep openmaptiles and download the raw OSM data for europe | |
make | |
wget -O data/https://download.geofabrik.de/europe-latest.osm.pbf | |
sudo chown -R $(whoami) . | |
# Start the converting the raw data into an usable format for our tile server | |
./quickstart.sh europe-latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment