forked from openinframap/openinframap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
petroleum.py
53 lines (48 loc) · 1.01 KB
/
petroleum.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
from funcs import table, type_col, str_col
table(
"marker",
{"pipeline": ["marker"], "power": ["marker"], "marker": ["__any__"]},
"point",
columns=[type_col],
)
table(
"pipeline",
{"man_made": ["pipeline"], "construction:man_made": ["pipeline"]},
"linestring",
columns=[
str_col("substance"),
str_col("type"),
str_col("construction:man_made", "construction"),
],
)
table(
"petroleum_site",
{
"industrial": [
"oil",
"fracking",
"oil_storage",
"hydrocarbons",
"oil sands",
"oil_sands",
"gas",
"natural_gas",
"wellsite",
"well_cluster",
]
},
"polygon",
columns=[type_col],
)
table(
"pipeline_feature",
{"pipeline": ["valve", "substation", "flare"]},
"point",
columns=[type_col],
)
table(
"petroleum_well",
{"man_made": ["petroleum_well", "oil_well"]},
"point",
columns=[type_col],
)