This repository has been archived by the owner on Apr 15, 2018. It is now read-only.
forked from ClearTables/ClearTables
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cleartables.yaml
414 lines (413 loc) · 10.5 KB
/
cleartables.yaml
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
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
# This file is part of ClearTables
#
# Paul Norman <[email protected]>
# Copyright 2015-2016 Paul Norman, MIT license
# Administrative and geographic places
- name: admin_area
type: polygon
comment: Administrative boundaries as areas
tagtransform: admin.lua
tagtransform-node-function: drop_all
tagtransform-way-function: drop_all
tagtransform-relation-function: admin_area_rels
tagtransform-relation-member-function: admin_area_rel_members
tags:
- &name
name: name
type: text
comment: Name of the feature, in the local language
- &names
name: names
type: hstore
comment: Name of the feature in other languages, as lang name pairs
- &admin_level
name: level
type: smallint
comment: Administrative level of the area
- &way_area
name: way_area
type: real
comment: Area of the feature, in projection units
- name: admin_line
type: line
comment: Administrative boundaries as lines
tagtransform: admin.lua
tagtransform-node-function: drop_all
tagtransform-way-function: drop_all
tagtransform-relation-function: admin_line_rels
tagtransform-relation-member-function: admin_line_rel_members
tags:
- <<: *name
- <<: *names
- <<: *admin_level
- name: place_point
type: point
comment: Geographic places
tagtransform: place.lua
tagtransform-node-function: place_nodes
tagtransform-way-function: drop_all
tagtransform-relation-function: drop_all
tagtransform-relation-member-function: drop_all
tags:
- <<: *name
- <<: *names
- name: class
type: text
comment: Classification of place
- name: rank
type: place
comment: Ranking of place
- &population
name: population
type: integer
comment: Population of the place
- name: place_polygon
type: polygon
comment: Geographic places
tagtransform: place.lua
tagtransform-node-function: drop_all
tagtransform-way-function: place_ways
tagtransform-relation-function: place_rels
tagtransform-relation-member-function: place_rel_members
tags:
- <<: *name
- <<: *names
- name: class
type: text
comment: Classification of place
- name: rank
type: place
comment: Ranking of place
- <<: *population
- <<: *way_area
# Natural type area features
- name: water_areas
type: polygon
comment: Areas which have surface water, not including oceans
tagtransform: water.lua
tagtransform-node-function: drop_all
tagtransform-way-function: water_area_ways
tagtransform-relation-function: water_area_rels
tagtransform-relation-member-function: water_area_rel_members
tags:
- <<: *name
- <<: *names
- name: water
type: text
comment: Type of water feature
- &intermittent
name: intermittent
type: boolean
comment: If the water is intermittent
- <<: *way_area
# Natural type linear features
- name: waterways
type: line
comment: Linear flowing water
tagtransform: water.lua
tagtransform-node-function: drop_all
tagtransform-way-function: waterway_ways
tagtransform-relation-function: drop_all
tagtransform-relation-member-function: drop_all
tags:
- <<: *name
- <<: *names
- name: waterway
type: text
comment: Type of waterway
- &brunnel
name: brunnel
type: brunnel
comment: Bridge, tunnel, or neither
- &layer
name: layer
type: smallint
- <<: *intermittent
# Transportation
- name: rail
type: line
tagtransform: transportation.lua
tagtransform-node-function: drop_all
tagtransform-way-function: rail_ways
tagtransform-relation-function: drop_all
tagtransform-relation-member-function: drop_all
tags:
- <<: *name
- <<: *names
- name: class
type: transportation_class
comment: Type of rail
- <<: *brunnel
- <<: *layer
- name: roads
type: line
tagtransform: transportation.lua
tagtransform-node-function: drop_all
tagtransform-way-function: road_ways
tagtransform-relation-function: drop_all
tagtransform-relation-member-function: drop_all
tags:
- <<: *name
- <<: *names
- &road_class
name: class
type: transportation_class
comment: Type of road
- name: ramp
type: boolean
comment: If the road is an on- or off-ramp
- name: refs
type: text[]
- name: maxspeed
type: float
comment: Maximum road speed, in km/h
- name: lanes
type: integer
comment: Number of lanes the road has
- name: oneway
type: oneway
- name: motor_access
type: access
- name: bicycle_access
type: access
- <<: *brunnel
- <<: *layer
- name: road_areas
type: polygon
tagtransform: transportation.lua
tagtransform-node-function: drop_all
tagtransform-way-function: road_area_ways
tagtransform-relation-function: road_area_rels
tagtransform-relation-member-function: road_area_rel_members
tags:
- <<: *name
- <<: *names
- <<: *road_class
- name: refs
type: text[]
- name: maxspeed
type: float
comment: Maximum road speed, in km/h
- name: motor_access
type: access
- name: bicycle_access
type: access
- <<: *brunnel
- <<: *layer
- <<: *way_area
- name: road_points
type: point
comment: Traffic signals and other points that are part of the road network
tagtransform: transportation.lua
tagtransform-node-function: road_points
tagtransform-way-function: drop_all
tagtransform-relation-function: drop_all
tagtransform-relation-member-function: drop_all
tags:
- <<: *name
- <<: *names
- name: type
type: text
- name: ref
type: text
# Barriers
- name: barrier_line
type: line
comment: Barriers and other obstructions
tagtransform: barrier.lua
tagtransform-node-function: drop_all
tagtransform-way-function: barrier_line_ways
tagtransform-relation-function: drop_all
tagtransform-relation-member-function: drop_all
tags:
- name: barrier
type: text
comment: Type of barrier
- &height
name: height
type: real
comment: Height above ground in meters
# Air travel
- name: airport_point
type: point
comment: Airports mapped as points
tagtransform: aero.lua
tagtransform-node-function: airport_nodes
tagtransform-way-function: drop_all
tagtransform-relation-function: drop_all
tagtransform-relation-member-function: drop_all
tags:
- <<: *name
- <<: *names
- name: airport
type: text
- &iata
name: iata
type: char(3)
comment: Commonly known three digit code for identifying an airport
- &iaco
name: iaco
type: char(4)
comment: Four-digit code identifying an airport
- name: airport_polygon
type: polygon
comment: Airports mapped as polygons
tagtransform: aero.lua
tagtransform-node-function: drop_all
tagtransform-way-function: airport_ways
tagtransform-relation-function: airport_rels
tagtransform-relation-member-function: airport_rel_members
tags:
- <<: *name
- <<: *names
- name: airport
type: text
- <<: *iata
- <<: *iaco
- <<: *way_area
- name: aeroway_line
type: line
comment: Airport-related linear features
tagtransform: aero.lua
tagtransform-node-function: drop_all
tagtransform-way-function: aeroway_ways
tagtransform-relation-function: drop_all
tagtransform-relation-member-function: drop_all
tags:
- name: aeroway
type: text
comment: Type of aeroway feature
- name: ref
type: text
comment: Reference of the feature
# addressing
- name: addresses_point
type: point
comment: Addresses mapped as points
tagtransform: address.lua
tagtransform-node-function: address_nodes
tagtransform-way-function: drop_all
tagtransform-relation-function: drop_all
tagtransform-relation-member-function: drop_all
tags:
- &unit
name: unit
type: text
comment: Unit number, if it exists
- &housenumber
name: housenumber
type: text
comment: House number
- &housename
name: housename
type: text
comment: House name. Not common
- &street
name: street
type: text
comment: Street name
- &suburb
name: suburb
type: text
comment: Suburb, if in one
- &city
name: city
type: text
comment: City, if explicitly indicated
- name: addresses_polygon
type: polygon
comment: Addresses mapped as polygons
tagtransform: address.lua
tagtransform-node-function: drop_all
tagtransform-way-function: address_ways
tagtransform-relation-function: address_rels
tagtransform-relation-member-function: address_rel_members
tags:
- <<: *unit
- <<: *housenumber
- <<: *housename
- <<: *street
- <<: *suburb
- <<: *city
- <<: *way_area
- name: buildings
type: polygon
tagtransform: building.lua
tagtransform-node-function: drop_all
tagtransform-way-function: building_ways
tagtransform-relation-function: building_rels
tagtransform-relation-member-function: building_rel_members
tags:
- <<: *name
- <<: *names
- name: building
type: text
comment: Type of the building
- name: levels
type: integer
comment: Number of building levels above ground
- <<: *height
- <<: *way_area
# POIs
- name: landform_point
# Should this be a _point table without a _polygon?
type: point
comment: Natural landform points
tagtransform: landform.lua
tagtransform-node-function: landform_nodes
tagtransform-way-function: drop_all
tagtransform-relation-function: drop_all
tagtransform-relation-member-function: drop_all
tags:
- <<: *name
- <<: *names
- &landform
name: landform
type: text
comment: Type of natural feature
- &elevation
name: elevation
type: real
comment: Height above mean sea level in metres
- name: landform_line
type: line
comment: Natural landform lines
tagtransform: landform.lua
tagtransform-node-function: drop_all
tagtransform-way-function: landform_ways
tagtransform-relation-function: drop_all
tagtransform-relation-member-function: drop_all
tags:
- <<: *name
- <<: *names
- name: landform
type: text
comment: Type of natural feature
- name: education_point
type: point
comment: Education facilities mapped as points
tagtransform: education.lua
tagtransform-node-function: education_nodes
tagtransform-way-function: drop_all
tagtransform-relation-function: drop_all
tagtransform-relation-member-function: drop_all
tags:
- <<: *name
- <<: *names
- &education
name: education
type: text
comment: Type of education facility
- name: education_polygon
type: polygon
comment: Education facilities mapped as polygons
tagtransform: education.lua
tagtransform-node-function: drop_all
tagtransform-way-function: education_ways
tagtransform-relation-function: education_rels
tagtransform-relation-member-function: education_rel_members
tags:
- <<: *name
- <<: *names
- <<: *education
- <<: *way_area