Skip to content

Commit

Permalink
Add Pipeline Substation preset (#640)
Browse files Browse the repository at this point in the history
* Add Pipeline Substation preset
* Move pipeline=* presets to their own directory
* Added unsearchable preset for pipeline=*
* Add substation_pipeline field
  • Loading branch information
arch0345 committed Nov 15, 2022
1 parent 222508a commit 9cbea3f
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 0 deletions.
5 changes: 5 additions & 0 deletions data/fields/pipeline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"key": "pipeline",
"type": "typeCombo",
"label": "Type"
}
20 changes: 20 additions & 0 deletions data/fields/substation_pipeline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"key": "substation",
"type": "typeCombo",
"label": "Type",
"strings": {
"options": {
"transmission": "Transmission",
"distribution": "Regional Distribution",
"minor_distribution": "Local Distribution",
"industrial": "Industrial",
"compression": "Compression",
"measurement": "Measurement",
"valve": "Valve",
"valve_group": "Valve Group",
"inspection_gauge": "Inspection Gauge",
"field_gathering": "Field Gathering"
}
},
"autoSuggestions": false
}
18 changes: 18 additions & 0 deletions data/presets/_pipeline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"icon": "iD-pipeline-line",
"fields": [
"pipeline",
"operator"
],
"geometry": [
"point",
"vertex",
"line",
"area"
],
"tags": {
"natural": "*"
},
"searchable": false,
"name": "Pipeline Feature"
}
22 changes: 22 additions & 0 deletions data/presets/pipeline/substation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"icon": "temaki-powered_pump",
"fields": [
"name",
"substation_pipeline",
"operator",
"building",
"substance",
"ref"
],
"moreFields": [
"address"
],
"geometry": [
"area",
"point"
],
"tags": {
"pipeline": "substation"
},
"name": "Pipeline Substation"
}
File renamed without changes.

0 comments on commit 9cbea3f

Please sign in to comment.