-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.yml
286 lines (286 loc) · 7.19 KB
/
project.yml
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
scale: 1
metatile: 4
name: "Undercoat"
bounds:
- 0.2636
- 47.606
- 4.878
- 49.8026
center:
- 2.3427
- 48.8662
- 14
format: "png"
interactivity: false
minzoom: 9
maxzoom: 15
srs: "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"
Stylesheet:
- base.mss
- labels.mss
Layer:
- id: land
name: "land"
class: ""
geometry: "polygon"
extent:
- -180
- -85.05112877980659
- 180
- 85.05112877980659
srs-name: "900913"
srs: "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"
Datasource:
file: "http://data.openstreetmapdata.com/simplified-land-polygons-complete-3857.zip"
type: "shape"
advanced: {}
- id: landuse
name: "landuse"
class: ""
geometry: "polygon"
extent:
- -180
- -85.05112877980659
- 180
- 85.05112877980659
srs-name: "900913"
srs: "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"
Datasource:
dbname: idf
geometry_field: geometry
type: postgis
extent: -20037508,-19929239,20037508,19929239
table: |-
( SELECT
geometry, type
FROM
osm_landusages
WHERE
type IS NOT NULL
ORDER BY
area DESC
) AS data
- id: landuse_gen
name: landuse_gen
class: ""
geometry: "polygon"
extent:
- -180
- -85.05112877980659
- 180
- 85.05112877980659
srs-name: "900913"
srs: "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"
Datasource:
dbname: idf
geometry_field: geometry
type: postgis
extent: -20037508,-19929239,20037508,19929239
table: |-
( SELECT
geometry, type
FROM
osm_landusages_gen
WHERE
type IN ('park', 'garden', 'forest', 'wood', 'cemetery', 'grass')
) AS data
- id: waterway
name: waterway
class: ""
geometry: polygon
extent:
- -180
- -85.05112877980659
- 180
- 85.05112877980659
srs-name: "900913"
srs: "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"
Datasource:
dbname: idf
geometry_field: geometry
type: postgis
extent: -20037508,-19929239,20037508,19929239
table: |-
( SELECT
geometry, type, area
FROM
osm_waterareas
) AS data
- id: buildings
name: buildings
class: ""
geometry: polygon
extent:
- -180
- -85.05112877980659
- 180
- 85.05112877980659
srs-name: "900913"
srs: "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"
Datasource:
dbname: idf
geometry_field: geometry
type: postgis
extent: -20037508,-19929239,20037508,19929239
table: |-
( SELECT
geometry, type
FROM
osm_buildings
) AS data
- id: roads_gen
name: roads_gen
class: ""
geometry: linestring
extent:
- -180
- -85.05112877980659
- 180
- 85.05112877980659
srs-name: "900913"
srs: "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"
Datasource:
dbname: idf
geometry_field: geometry
type: postgis
extent: -20037508,-19929239,20037508,19929239
table: |-
( SELECT
geometry, type, ref
FROM
osm_roads_gen
WHERE
type IN ('motorway', 'trunk', 'primary', 'secondary', 'primary_link', 'motorway_link', 'trunk_link')
) AS data
- id: boundary
name: boundary
class: ""
geometry: polygon
extent:
- -180
- -85.05112877980659
- 180
- 85.05112877980659
srs-name: "900913"
srs: "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"
Datasource:
dbname: idf
geometry_field: geometry
type: postgis
extent: -20037508,-19929239,20037508,19929239
table: |-
( SELECT
geometry, admin_level
FROM
osm_admin
WHERE
"type"='administrative'
AND admin_level IN (4,6,8,9)
AND "type" IS NOT NULL
ORDER BY
admin_level DESC
) AS data
- id: railway
name: railway
class: ""
geometry: linestring
extent:
- -180
- -85.05112877980659
- 180
- 85.05112877980659
srs-name: "900913"
srs: "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"
Datasource:
dbname: idf
geometry_field: geometry
type: postgis
extent: -20037508,-19929239,20037508,19929239
table: |-
( SELECT
geometry, type, name, tunnel, bridge, ref, access, service, class
FROM
osm_railway
WHERE
service != 'spur' AND type NOT IN ('funicular', 'disused', 'tram', 'monorail')
ORDER BY
z_order
) AS data
- id: roads
name: roads
class: ""
geometry: linestring
extent:
- -180
- -85.05112877980659
- 180
- 85.05112877980659
srs-name: "900913"
srs: "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"
Datasource:
dbname: idf
geometry_field: geometry
type: postgis
extent: -20037508,-19929239,20037508,19929239
table: |-
( SELECT
geometry, type, ref
FROM
osm_roads
WHERE
type NOT IN ('path', 'footway', 'stairs')
) AS data
- id: place
name: place
class: ""
geometry: point
extent:
- -180
- -85.05112877980659
- 180
- 85.05112877980659
srs-name: "900913"
srs: "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"
Datasource:
dbname: idf
geometry_field: geometry
type: postgis
extent: -20037508,-19929239,20037508,19929239
table: |-
( SELECT
geometry,
CASE WHEN type='city' THEN 1 WHEN type='town' THEN 2 ELSE 100 END as prio,
type, name, z_order, population
FROM
osm_places
WHERE
type IN ('city', 'town', 'village')
AND type IS NOT NULL
ORDER BY prio, population DESC NULLS LAST
) AS data
- id: road_label
name: road_label
class: ""
geometry: point
extent:
- -180
- -85.05112877980659
- 180
- 85.05112877980659
srs-name: "900913"
srs: "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"
Datasource:
dbname: idf
geometry_field: geometry
type: postgis
extent: -20037508,-19929239,20037508,19929239
table: |-
( SELECT
geometry, type, name, ref, CHAR_LENGTH(ref) AS reflen
FROM
osm_roads
WHERE
type IS NOT NULL AND name IS NOT NULL AND geometry && !bbox!
ORDER BY
z_order
) AS data