forked from openinframap/openinframap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
telecoms.py
37 lines (32 loc) · 802 Bytes
/
telecoms.py
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
from funcs import table, type_col
table(
"telecom_cable",
{
"communication": ["line", "cable"],
"construction:communication": ["line", "cable"],
},
"linestring",
)
table(
"telecom_building",
{
"building": ["data_center", "data_centre", "telephone_exchange"],
"telecom": ["data_center", "data_centre", "central_office", "exchange"],
"office": ["telecommunication"],
"man_made": ["telephone_office"],
},
["points", "polygons"],
columns=[type_col],
)
table(
"telecom_location",
{"telecom": ["connection_point", "distribution_point"]},
["points", "polygons"],
columns=[type_col],
)
table(
"mast",
{"man_made": ["mast", "tower", "communications_tower"]},
"point",
columns=[type_col],
)