-
Notifications
You must be signed in to change notification settings - Fork 135
/
Makefile
23 lines (19 loc) · 802 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# this builds overpass turbo
# supported commands:
# * presets - grabs presets and their translations from the iD-Project
# * icons - update icon sets))
icons: icons-maki icons-mapnik icons-osmic
icons-maki:
wget https://github.com/mapbox/maki/zipball/mb-pages -O icons/maki.zip
yes | unzip -ju icons/maki.zip */renders/*.png -d icons/maki/
rm icons/maki.zip
icons-mapnik:
wget https://github.com/gravitystorm/openstreetmap-carto/archive/master.zip -O icons/mapnik.zip
yes | unzip -ju icons/mapnik.zip */symbols/*.png -d icons/mapnik/
rm icons/mapnik.zip
icons-osmic:
git clone --depth 1 https://github.com/nebulon42/osmic.git
./osmic/tools/export.py --basedir osmic/ osmic/tools/config/overpass-turbo-png.yaml
optipng -o 2 osmic/export/*
cp osmic/export/* icons/osmic/
rm -rf osmic