forked from tyrasd/overpass-turbo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
27 lines (22 loc) · 952 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
24
25
26
27
# this builds overpass turbo
# supported commands:
# * presets - grabs presets and their translations from the iD-Project
# * icons - update icon sets))
presets:
wget "https://github.com/openstreetmap/iD/raw/master/data/presets/presets.json" -O data/iD_presets.json
node data/get_preset_translations
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