Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

revert to using identifier flag in config #2144

Benjamin Kingba4e8708eca4
diff --git a/config/default/common/config/wv.json/layers/vector/GRUMP_Settlements_v1.01_STD.json b/config/default/common/config/wv.json/layers/vector/GRUMP_Settlements_v1.01_STD.json
index 7ddc1f7d2..671c47aa6 100644
--- a/config/default/common/config/wv.json/layers/vector/GRUMP_Settlements_v1.01_STD.json
+++ b/config/default/common/config/wv.json/layers/vector/GRUMP_Settlements_v1.01_STD.json
@@ -11,6 +11,7 @@
"layergroup": [
"vector"
],
+ "uniqueIdenitifier": "Latlongid",
"inactive": true,
"vectorStyle": {
"id": "GRUMP_Settlements_v1.01_STD"
diff --git a/config/default/common/config/wv.json/layers/vector/GRanD_Dams_v1.01_STD.json b/config/default/common/config/wv.json/layers/vector/GRanD_Dams_v1.01_STD.json
index bdf72e2f2..eaafb3933 100644
--- a/config/default/common/config/wv.json/layers/vector/GRanD_Dams_v1.01_STD.json
+++ b/config/default/common/config/wv.json/layers/vector/GRanD_Dams_v1.01_STD.json
@@ -11,6 +11,7 @@
"layergroup": [
"vector"
],
+ "uniqueIdenitifier": "GRAND_ID",
"inactive": true,
"vectorStyle": {
"id": "GRanD_Dams_v1.01_STD"
diff --git a/config/default/common/config/wv.json/layers/vector/GRanD_Reservoirs_v1.01_STD.json b/config/default/common/config/wv.json/layers/vector/GRanD_Reservoirs_v1.01_STD.json
index 80fc40c2a..13ee1a913 100644
--- a/config/default/common/config/wv.json/layers/vector/GRanD_Reservoirs_v1.01_STD.json
+++ b/config/default/common/config/wv.json/layers/vector/GRanD_Reservoirs_v1.01_STD.json
@@ -11,6 +11,7 @@
"layergroup": [
"vector"
],
+ "uniqueIdenitifier": "GRAND_ID",
"inactive": true,
"vectorStyle": {
"id": "GRanD_Reservoirs_v1.01_STD"
diff --git a/config/default/common/config/wv.json/layers/vector/Nuclear_Power_Plant_Locations_v1_STD.json b/config/default/common/config/wv.json/layers/vector/Nuclear_Power_Plant_Locations_v1_STD.json
index 34dbabcba..1927df00b 100644
--- a/config/default/common/config/wv.json/layers/vector/Nuclear_Power_Plant_Locations_v1_STD.json
+++ b/config/default/common/config/wv.json/layers/vector/Nuclear_Power_Plant_Locations_v1_STD.json
@@ -12,6 +12,7 @@
"vector"
],
"inactive": true,
+ "uniqueIdenitifier": "Plant",
"vectorStyle": {
"id": "Nuclear_Power_Plant_Locations_v1_STD"
},
diff --git a/config/default/common/vectorstyles/GRUMP_Settlements_v1.01_STD.json b/config/default/common/vectorstyles/GRUMP_Settlements_v1.01_STD.json
index e851cba33..fd68eae83 100644
--- a/config/default/common/vectorstyles/GRUMP_Settlements_v1.01_STD.json
+++ b/config/default/common/vectorstyles/GRUMP_Settlements_v1.01_STD.json
@@ -17,31 +17,55 @@
"source-description": "Default",
"type": "circle",
"paint": {
- "circle-radius": {
- "base": 1,
- "stops": [
+ "circle-radius": [
+ "case",
+ [
+ ">=",
[
- 12,
- 1
+ "get",
+ "ES00POP"
],
+ 500000
+ ],
+ 1,
+ [
+ ">=",
[
- 21,
- 2
+ "get",
+ "ES00POP"
],
+ 100000
+ ],
+ 2,
+ [
+ ">=",
[
- 22,
- 2.5
+ "get",
+ "ES00POP"
],
+ 50000
+ ],
+ 2.5,
+ [
+ ">=",
[
- 23,
- 4
+ "get",
+ "ES00POP"
],
+ 25000
+ ],
+ 4,
+ [
+ ">=",
[
- 24,
- 5
- ]
- ]
- },
+ "get",
+ "ES00POP"
+ ],
+ 1
+ ],
+ 5,
+ 1
+ ],
"circle-color": "rgb(103, 236, 0)",
"circle-stroke-color": "rgba(0,0,0,0.7)",
"circle-opacity": 0.7,
diff --git a/config/default/common/vectorstyles/GRanD_Dams_v1.01_STD.json b/config/default/common/vectorstyles/GRanD_Dams_v1.01_STD.json
index 2524cb4ba..fc285350f 100644
--- a/config/default/common/vectorstyles/GRanD_Dams_v1.01_STD.json
+++ b/config/default/common/vectorstyles/GRanD_Dams_v1.01_STD.json
@@ -17,64 +17,7 @@
"source-description": "Default",
"type": "circle",
"paint": {
- "circle-radius": {
- "base": 2,
- "stops": [
- [
- 12,
- 1
- ],
- [
- 22,
- 7
- ]
- ]
- },
- "circle-stroke-color": "rgb(255, 255, 255)",
- "circle-stroke-width": [
- "case",
- [
- "==",
- [
- "get",
- "selected"
- ],
- "true"
- ],
- 2,
- [
- "==",
- [
- "get",
- "selected"
- ],
- "false"
- ],
- 0,
- 0
- ],
- "circle-opacity": [
- "case",
- [
- "==",
- [
- "get",
- "selected"
- ],
- "true"
- ],
- 0.5,
- [
- "==",
- [
- "get",
- "selected"
- ],
- "false"
- ],
- 1,
- 1
- ],
+ "circle-radius": 1,
"circle-color": [
"case",
[
diff --git a/config/default/common/vectorstyles/GRanD_Reservoirs_v1.01_STD.json b/config/default/common/vectorstyles/GRanD_Reservoirs_v1.01_STD.json
index ec7aaa98b..ab8513ba0 100644
--- a/config/default/common/vectorstyles/GRanD_Reservoirs_v1.01_STD.json
+++ b/config/default/common/vectorstyles/GRanD_Reservoirs_v1.01_STD.json
@@ -18,50 +18,8 @@
"type": "fill",
"paint": {
"fill-color": "rgb(0, 77, 168)",
- "fill-opacity": [
- "case",
- [
- "==",
- [
- "get",
- "selected"
- ],
- "true"
- ],
- 0.5,
- [
- "==",
- [
- "get",
- "selected"
- ],
- "false"
- ],
- 1,
- 1
- ],
- "fill-outline-color": [
- "case",
- [
- "==",
- [
- "get",
- "selected"
- ],
- "true"
- ],
- "rgb(255, 255, 255)",
- [
- "==",
- [
- "get",
- "selected"
- ],
- "false"
- ],
- "rgb(0, 77, 168)",
- "rgb(0, 77, 168)"
- ]
+ "fill-opacity": 1,
+ "fill-outline-color": "rgb(0, 77, 168)"
}
}
]