Skip to content

Commit 9cbea3f

Browse files
authored
Add Pipeline Substation preset (#640)
* Add Pipeline Substation preset * Move pipeline=* presets to their own directory * Added unsearchable preset for pipeline=* * Add substation_pipeline field
1 parent 222508a commit 9cbea3f

File tree

5 files changed

+65
-0
lines changed

5 files changed

+65
-0
lines changed

data/fields/pipeline.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"key": "pipeline",
3+
"type": "typeCombo",
4+
"label": "Type"
5+
}

data/fields/substation_pipeline.json

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"key": "substation",
3+
"type": "typeCombo",
4+
"label": "Type",
5+
"strings": {
6+
"options": {
7+
"transmission": "Transmission",
8+
"distribution": "Regional Distribution",
9+
"minor_distribution": "Local Distribution",
10+
"industrial": "Industrial",
11+
"compression": "Compression",
12+
"measurement": "Measurement",
13+
"valve": "Valve",
14+
"valve_group": "Valve Group",
15+
"inspection_gauge": "Inspection Gauge",
16+
"field_gathering": "Field Gathering"
17+
}
18+
},
19+
"autoSuggestions": false
20+
}

data/presets/_pipeline.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"icon": "iD-pipeline-line",
3+
"fields": [
4+
"pipeline",
5+
"operator"
6+
],
7+
"geometry": [
8+
"point",
9+
"vertex",
10+
"line",
11+
"area"
12+
],
13+
"tags": {
14+
"natural": "*"
15+
},
16+
"searchable": false,
17+
"name": "Pipeline Feature"
18+
}

data/presets/pipeline/substation.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"icon": "temaki-powered_pump",
3+
"fields": [
4+
"name",
5+
"substation_pipeline",
6+
"operator",
7+
"building",
8+
"substance",
9+
"ref"
10+
],
11+
"moreFields": [
12+
"address"
13+
],
14+
"geometry": [
15+
"area",
16+
"point"
17+
],
18+
"tags": {
19+
"pipeline": "substation"
20+
},
21+
"name": "Pipeline Substation"
22+
}
File renamed without changes.

0 commit comments

Comments
 (0)