-
Notifications
You must be signed in to change notification settings - Fork 30
/
Makefile
148 lines (98 loc) · 5.68 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
SFO_LATLON = 37.807613 -122.279891
NYC_LATLON = 40.756749 -73.998284
LON_LATLON = 51.507553 -0.008271
MOS_LATLON = 55.882322 37.724175
all: index.html
index.html: \
renders/sanfrancisco-10.png renders/sanfrancisco-11.png renders/sanfrancisco-12.png \
renders/sanfrancisco-13.png renders/sanfrancisco-14.png renders/sanfrancisco-15.png \
renders/sanfrancisco-16.png renders/sanfrancisco-17.png renders/sanfrancisco-18.png \
renders/newyork-10.png renders/newyork-11.png renders/newyork-12.png \
renders/newyork-13.png renders/newyork-14.png renders/newyork-15.png \
renders/newyork-16.png renders/newyork-17.png renders/newyork-18.png \
renders/london-10.png renders/london-11.png renders/london-12.png \
renders/london-13.png renders/london-14.png renders/london-15.png \
renders/london-16.png renders/london-17.png renders/london-18.png \
renders/moscow-10.png renders/moscow-11.png renders/moscow-12.png \
renders/moscow-13.png renders/moscow-14.png renders/moscow-15.png \
renders/moscow-16.png renders/moscow-17.png renders/moscow-18.png
renders/sanfrancisco-10.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(SFO_LATLON) -z 10 -d 1024 512 -o $@
renders/sanfrancisco-11.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(SFO_LATLON) -z 11 -d 1024 512 -o $@
renders/sanfrancisco-12.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(SFO_LATLON) -z 12 -d 1024 512 -o $@
renders/sanfrancisco-13.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(SFO_LATLON) -z 13 -d 1024 512 -o $@
renders/sanfrancisco-14.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(SFO_LATLON) -z 14 -d 1024 512 -o $@
renders/sanfrancisco-15.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(SFO_LATLON) -z 15 -d 1024 512 -o $@
renders/sanfrancisco-16.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(SFO_LATLON) -z 16 -d 1024 512 -o $@
renders/sanfrancisco-17.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(SFO_LATLON) -z 17 -d 1024 512 -o $@
renders/sanfrancisco-18.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(SFO_LATLON) -z 18 -d 1024 512 -o $@
renders/newyork-10.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(NYC_LATLON) -z 10 -d 1024 512 -o $@
renders/newyork-11.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(NYC_LATLON) -z 11 -d 1024 512 -o $@
renders/newyork-12.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(NYC_LATLON) -z 12 -d 1024 512 -o $@
renders/newyork-13.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(NYC_LATLON) -z 13 -d 1024 512 -o $@
renders/newyork-14.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(NYC_LATLON) -z 14 -d 1024 512 -o $@
renders/newyork-15.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(NYC_LATLON) -z 15 -d 1024 512 -o $@
renders/newyork-16.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(NYC_LATLON) -z 16 -d 1024 512 -o $@
renders/newyork-17.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(NYC_LATLON) -z 17 -d 1024 512 -o $@
renders/newyork-18.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(NYC_LATLON) -z 18 -d 1024 512 -o $@
renders/london-10.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(LON_LATLON) -z 10 -d 1024 512 -o $@
renders/london-11.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(LON_LATLON) -z 11 -d 1024 512 -o $@
renders/london-12.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(LON_LATLON) -z 12 -d 1024 512 -o $@
renders/london-13.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(LON_LATLON) -z 13 -d 1024 512 -o $@
renders/london-14.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(LON_LATLON) -z 14 -d 1024 512 -o $@
renders/london-15.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(LON_LATLON) -z 15 -d 1024 512 -o $@
renders/london-16.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(LON_LATLON) -z 16 -d 1024 512 -o $@
renders/london-17.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(LON_LATLON) -z 17 -d 1024 512 -o $@
renders/london-18.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(LON_LATLON) -z 18 -d 1024 512 -o $@
renders/moscow-10.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(MOS_LATLON) -z 10 -d 1024 512 -o $@
renders/moscow-11.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(MOS_LATLON) -z 11 -d 1024 512 -o $@
renders/moscow-12.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(MOS_LATLON) -z 12 -d 1024 512 -o $@
renders/moscow-13.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(MOS_LATLON) -z 13 -d 1024 512 -o $@
renders/moscow-14.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(MOS_LATLON) -z 14 -d 1024 512 -o $@
renders/moscow-15.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(MOS_LATLON) -z 15 -d 1024 512 -o $@
renders/moscow-16.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(MOS_LATLON) -z 16 -d 1024 512 -o $@
renders/moscow-17.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(MOS_LATLON) -z 17 -d 1024 512 -o $@
renders/moscow-18.png: style.xml
python mapnik-render.py -f ../fonts -s style.xml -l $(MOS_LATLON) -z 18 -d 1024 512 -o $@
style.xml: style.mml stylesheet.mss
cascadenik-compile.py style.mml style.xml
clean:
rm -f sanfrancisco-*.png
rm -f newyork-*.png
rm -f london-*.png
rm -f moscow-*.png
rm -f style.xml