Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Add build for default+custom vectors, add custom vector stylesheets

ZachTRice643b76800246
diff --git a/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_All_v6_NRT.json b/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_All_v6_NRT.json
index 4a8cfdf72..76a2c171e 100644
--- a/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_All_v6_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_All_v6_NRT.json
@@ -11,7 +11,10 @@
"layergroup": [
"vector"
],
- "inactive": true
+ "inactive": true,
+ "vectorStyle": {
+ "id": "MODIS_Aqua_Thermal_Anomalies_All_v6_NRT"
+ }
}
}
}
diff --git a/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_Day_v6_NRT.json b/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_Day_v6_NRT.json
index c62b3b620..70886a4bb 100644
--- a/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_Day_v6_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_Day_v6_NRT.json
@@ -11,7 +11,10 @@
"layergroup": [
"vector"
],
- "inactive": true
+ "inactive": true,
+ "vectorStyle": {
+ "id": "MODIS_Aqua_Thermal_Anomalies_Day_v6_NRT"
+ }
}
}
}
diff --git a/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_Night_v6_NRT.json b/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_Night_v6_NRT.json
index 27e49e64e..183386499 100644
--- a/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_Night_v6_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_Night_v6_NRT.json
@@ -11,7 +11,10 @@
"layergroup": [
"vector"
],
- "inactive": true
+ "inactive": true,
+ "vectorStyle": {
+ "id": "MODIS_Aqua_Thermal_Anomalies_Night_v6_NRT"
+ }
}
}
}
diff --git a/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_All_v6_NRT.json b/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_All_v6_NRT.json
index ef1b37f68..ddff58740 100644
--- a/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_All_v6_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_All_v6_NRT.json
@@ -11,7 +11,10 @@
"layergroup": [
"vector"
],
- "inactive": true
+ "inactive": true,
+ "vectorStyle": {
+ "id": "MODIS_Combined_Thermal_Anomalies_All_v6_NRT"
+ }
}
}
}
diff --git a/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_Day_v6_NRT.json b/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_Day_v6_NRT.json
index 149e2f32f..25fe87c4a 100644
--- a/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_Day_v6_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_Day_v6_NRT.json
@@ -11,7 +11,10 @@
"layergroup": [
"vector"
],
- "inactive": true
+ "inactive": true,
+ "vectorStyle": {
+ "id": "MODIS_Combined_Thermal_Anomalies_Day_v6_NRT"
+ }
}
}
}
diff --git a/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_Night_v6_NRT.json b/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_Night_v6_NRT.json
index 2c9b968e6..ce9b01867 100644
--- a/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_Night_v6_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_Night_v6_NRT.json
@@ -11,7 +11,10 @@
"layergroup": [
"vector"
],
- "inactive": true
+ "inactive": true,
+ "vectorStyle": {
+ "id": "MODIS_Combined_Thermal_Anomalies_Night_v6_NRT"
+ }
}
}
}
diff --git a/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_All_v6_NRT.json b/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_All_v6_NRT.json
index b6612ccbf..4e12da976 100644
--- a/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_All_v6_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_All_v6_NRT.json
@@ -11,7 +11,10 @@
"layergroup": [
"vector"
],
- "inactive": true
+ "inactive": true,
+ "vectorStyle": {
+ "id": "MODIS_Terra_Thermal_Anomalies_All_v6_NRT"
+ }
}
}
}
diff --git a/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_Day_v6_NRT.json b/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_Day_v6_NRT.json
index 9ede965e2..ac31406f3 100644
--- a/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_Day_v6_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_Day_v6_NRT.json
@@ -11,7 +11,10 @@
"layergroup": [
"vector"
],
- "inactive": true
+ "inactive": true,
+ "vectorStyle": {
+ "id": "MODIS_Terra_Thermal_Anomalies_Day_v6_NRT"
+ }
}
}
}
diff --git a/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_Night_v6_NRT.json b/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_Night_v6_NRT.json
index 3cb7bbf31..41398029f 100644
--- a/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_Night_v6_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_Night_v6_NRT.json
@@ -11,7 +11,10 @@
"layergroup": [
"vector"
],
- "inactive": true
+ "inactive": true,
+ "vectorStyle": {
+ "id": "MODIS_Terra_Thermal_Anomalies_Night_v6_NRT"
+ }
}
}
}
diff --git a/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_All_v1_NRT.json b/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_All_v1_NRT.json
index f2618e076..4a8f1d5d9 100644
--- a/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_All_v1_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_All_v1_NRT.json
@@ -11,7 +11,10 @@
"layergroup": [
"vector"
],
- "inactive": true
+ "inactive": true,
+ "vectorStyle": {
+ "id": "VIIRS_SNPP_Thermal_Anomalies_375m_All_v1_NRT"
+ }
}
}
}
diff --git a/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_Day_v1_NRT.json b/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_Day_v1_NRT.json
index 3268c51ce..ec5efc2f9 100644
--- a/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_Day_v1_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_Day_v1_NRT.json
@@ -11,7 +11,10 @@
"layergroup": [
"vector"
],
- "inactive": true
+ "inactive": true,
+ "vectorStyle": {
+ "id": "VIIRS_SNPP_Thermal_Anomalies_375m_Day_v1_NRT"
+ }
}
}
}
diff --git a/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_Night_v1_NRT.json b/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_Night_v1_NRT.json
index a2331b166..8a637bd28 100644
--- a/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_Night_v1_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_Night_v1_NRT.json
@@ -11,7 +11,10 @@
"layergroup": [
"vector"
],
- "inactive": true
+ "inactive": true,
+ "vectorStyle": {
+ "id": "VIIRS_SNPP_Thermal_Anomalies_375m_Night_v1_NRT"
+ }
}
}
}
diff --git a/config/default/common/vectorstyles/MODIS_Aqua_Thermal_Anomalies_All_v6_NRT.json b/config/default/common/vectorstyles/MODIS_Aqua_Thermal_Anomalies_All_v6_NRT.json
new file mode 100644
index 000000000..d6c0d20b3
--- /dev/null
+++ b/config/default/common/vectorstyles/MODIS_Aqua_Thermal_Anomalies_All_v6_NRT.json
@@ -0,0 +1,81 @@
+{
+ "version": 8,
+ "name": "FIRMS",
+ "sources": {
+ "MODIS_Aqua_Thermal_Anomalies_All_v6_NRT": {
+ "type": "vector",
+ "tiles": [
+ "https://sit.gibs.earthdata.nasa.gov/wmts/epsg4326/nrt/MODIS_Aqua_Thermal_Anomalies_All_v6_NRT/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.mvt"
+ ]
+ }
+ },
+ "layers": [
+ {
+ "id": "MODIS_Fire_Points_Confidence",
+ "source": "MODIS_Aqua_Thermal_Anomalies_All_v6_NRT",
+ "source-layer": "FIRMS_Aqua_A_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "CONFIDENCE"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "CONFIDENCE"], 50],
+ ["<=", ["get", "CONFIDENCE"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "CONFIDENCE"], 75],
+ ["<=", ["get", "CONFIDENCE"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "MODIS_Fire_Points_FRP",
+ "source": "MODIS_Aqua_Thermal_Anomalies_All_v6_NRT",
+ "source-layer": "FIRMS_Aqua_A_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "FRP"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 50],
+ ["<=", ["get", "FRP"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 75],
+ ["<=", ["get", "FRP"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "default_style",
+ "source": "MODIS_Aqua_Thermal_Anomalies_All_v6_NRT",
+ "source-layer": "FIRMS_Aqua_A_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": "#FF0000"
+ }
+ }
+ ]
+}
diff --git a/config/default/common/vectorstyles/MODIS_Aqua_Thermal_Anomalies_Day_v6_NRT.json b/config/default/common/vectorstyles/MODIS_Aqua_Thermal_Anomalies_Day_v6_NRT.json
new file mode 100644
index 000000000..e2670daf0
--- /dev/null
+++ b/config/default/common/vectorstyles/MODIS_Aqua_Thermal_Anomalies_Day_v6_NRT.json
@@ -0,0 +1,81 @@
+{
+ "version": 8,
+ "name": "FIRMS",
+ "sources": {
+ "MODIS_Aqua_Thermal_Anomalies_Day_v6_NRT": {
+ "type": "vector",
+ "tiles": [
+ "https://sit.gibs.earthdata.nasa.gov/wmts/epsg4326/nrt/MODIS_Aqua_Thermal_Anomalies_Day_v6_NRT/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.mvt"
+ ]
+ }
+ },
+ "layers": [
+ {
+ "id": "MODIS_Fire_Points_Confidence",
+ "source": "MODIS_Aqua_Thermal_Anomalies_Day_v6_NRT",
+ "source-layer": "FIRMS_Aqua_D_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "CONFIDENCE"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "CONFIDENCE"], 50],
+ ["<=", ["get", "CONFIDENCE"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "CONFIDENCE"], 75],
+ ["<=", ["get", "CONFIDENCE"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "MODIS_Fire_Points_FRP",
+ "source": "MODIS_Aqua_Thermal_Anomalies_Day_v6_NRT",
+ "source-layer": "FIRMS_Aqua_D_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "FRP"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 50],
+ ["<=", ["get", "FRP"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 75],
+ ["<=", ["get", "FRP"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "default_style",
+ "source": "MODIS_Aqua_Thermal_Anomalies_Day_v6_NRT",
+ "source-layer": "FIRMS_Aqua_D_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": "#FF0000"
+ }
+ }
+ ]
+}
diff --git a/config/default/common/vectorstyles/MODIS_Aqua_Thermal_Anomalies_Night_v6_NRT.json b/config/default/common/vectorstyles/MODIS_Aqua_Thermal_Anomalies_Night_v6_NRT.json
new file mode 100644
index 000000000..c67ceb1cb
--- /dev/null
+++ b/config/default/common/vectorstyles/MODIS_Aqua_Thermal_Anomalies_Night_v6_NRT.json
@@ -0,0 +1,81 @@
+{
+ "version": 8,
+ "name": "FIRMS",
+ "sources": {
+ "MODIS_Aqua_Thermal_Anomalies_Night_v6_NRT": {
+ "type": "vector",
+ "tiles": [
+ "https://sit.gibs.earthdata.nasa.gov/wmts/epsg4326/nrt/MODIS_Aqua_Thermal_Anomalies_Night_v6_NRT/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.mvt"
+ ]
+ }
+ },
+ "layers": [
+ {
+ "id": "MODIS_Fire_Points_Confidence",
+ "source": "MODIS_Aqua_Thermal_Anomalies_Night_v6_NRT",
+ "source-layer": "FIRMS_Aqua_N_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "CONFIDENCE"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "CONFIDENCE"], 50],
+ ["<=", ["get", "CONFIDENCE"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "CONFIDENCE"], 75],
+ ["<=", ["get", "CONFIDENCE"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "MODIS_Fire_Points_FRP",
+ "source": "MODIS_Aqua_Thermal_Anomalies_Night_v6_NRT",
+ "source-layer": "FIRMS_Aqua_N_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "FRP"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 50],
+ ["<=", ["get", "FRP"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 75],
+ ["<=", ["get", "FRP"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "default_style",
+ "source": "MODIS_Aqua_Thermal_Anomalies_Night_v6_NRT",
+ "source-layer": "FIRMS_Aqua_N_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": "#FF0000"
+ }
+ }
+ ]
+}
diff --git a/config/default/common/vectorstyles/MODIS_Combined_Thermal_Anomalies_All_v6_NRT.json b/config/default/common/vectorstyles/MODIS_Combined_Thermal_Anomalies_All_v6_NRT.json
new file mode 100644
index 000000000..9c2d886cc
--- /dev/null
+++ b/config/default/common/vectorstyles/MODIS_Combined_Thermal_Anomalies_All_v6_NRT.json
@@ -0,0 +1,81 @@
+{
+ "version": 8,
+ "name": "FIRMS",
+ "sources": {
+ "MODIS_Combined_Thermal_Anomalies_All_v6_NRT": {
+ "type": "vector",
+ "tiles": [
+ "https://sit.gibs.earthdata.nasa.gov/wmts/epsg4326/nrt/MODIS_Combined_Thermal_Anomalies_All_v6_NRT/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.mvt"
+ ]
+ }
+ },
+ "layers": [
+ {
+ "id": "MODIS_Fire_Points_Confidence",
+ "source": "MODIS_Combined_Thermal_Anomalies_All_v6_NRT",
+ "source-layer": "FIRMS_AquaTerra_A_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "CONFIDENCE"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "CONFIDENCE"], 50],
+ ["<=", ["get", "CONFIDENCE"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "CONFIDENCE"], 75],
+ ["<=", ["get", "CONFIDENCE"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "MODIS_Fire_Points_FRP",
+ "source": "MODIS_Combined_Thermal_Anomalies_All_v6_NRT",
+ "source-layer": "FIRMS_AquaTerra_A_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "FRP"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 50],
+ ["<=", ["get", "FRP"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 75],
+ ["<=", ["get", "FRP"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "default_style",
+ "source": "MODIS_Combined_Thermal_Anomalies_All_v6_NRT",
+ "source-layer": "FIRMS_AquaTerra_A_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": "#FF0000"
+ }
+ }
+ ]
+}
diff --git a/config/default/common/vectorstyles/MODIS_Combined_Thermal_Anomalies_Day_v6_NRT.json b/config/default/common/vectorstyles/MODIS_Combined_Thermal_Anomalies_Day_v6_NRT.json
new file mode 100644
index 000000000..1f163f43f
--- /dev/null
+++ b/config/default/common/vectorstyles/MODIS_Combined_Thermal_Anomalies_Day_v6_NRT.json
@@ -0,0 +1,81 @@
+{
+ "version": 8,
+ "name": "FIRMS",
+ "sources": {
+ "MODIS_Combined_Thermal_Anomalies_Day_v6_NRT": {
+ "type": "vector",
+ "tiles": [
+ "https://sit.gibs.earthdata.nasa.gov/wmts/epsg4326/nrt/MODIS_Combined_Thermal_Anomalies_Day_v6_NRT/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.mvt"
+ ]
+ }
+ },
+ "layers": [
+ {
+ "id": "MODIS_Fire_Points_Confidence",
+ "source": "MODIS_Combined_Thermal_Anomalies_Day_v6_NRT",
+ "source-layer": "FIRMS_AquaTerra_D_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "CONFIDENCE"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "CONFIDENCE"], 50],
+ ["<=", ["get", "CONFIDENCE"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "CONFIDENCE"], 75],
+ ["<=", ["get", "CONFIDENCE"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "MODIS_Fire_Points_FRP",
+ "source": "MODIS_Combined_Thermal_Anomalies_Day_v6_NRT",
+ "source-layer": "FIRMS_AquaTerra_D_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "FRP"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 50],
+ ["<=", ["get", "FRP"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 75],
+ ["<=", ["get", "FRP"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "default_style",
+ "source": "MODIS_Combined_Thermal_Anomalies_Day_v6_NRT",
+ "source-layer": "FIRMS_AquaTerra_D_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": "#FF0000"
+ }
+ }
+ ]
+}
diff --git a/config/default/common/vectorstyles/MODIS_Combined_Thermal_Anomalies_Night_v6_NRT.json b/config/default/common/vectorstyles/MODIS_Combined_Thermal_Anomalies_Night_v6_NRT.json
new file mode 100644
index 000000000..ef3c703dc
--- /dev/null
+++ b/config/default/common/vectorstyles/MODIS_Combined_Thermal_Anomalies_Night_v6_NRT.json
@@ -0,0 +1,81 @@
+{
+ "version": 8,
+ "name": "FIRMS",
+ "sources": {
+ "MODIS_Combined_Thermal_Anomalies_Night_v6_NRT": {
+ "type": "vector",
+ "tiles": [
+ "https://sit.gibs.earthdata.nasa.gov/wmts/epsg4326/nrt/MODIS_Combined_Thermal_Anomalies_Night_v6_NRT/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.mvt"
+ ]
+ }
+ },
+ "layers": [
+ {
+ "id": "MODIS_Fire_Points_Confidence",
+ "source": "MODIS_Combined_Thermal_Anomalies_Night_v6_NRT",
+ "source-layer": "FIRMS_AquaTerra_N_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "CONFIDENCE"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "CONFIDENCE"], 50],
+ ["<=", ["get", "CONFIDENCE"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "CONFIDENCE"], 75],
+ ["<=", ["get", "CONFIDENCE"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "MODIS_Fire_Points_FRP",
+ "source": "MODIS_Combined_Thermal_Anomalies_Night_v6_NRT",
+ "source-layer": "FIRMS_AquaTerra_N_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "FRP"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 50],
+ ["<=", ["get", "FRP"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 75],
+ ["<=", ["get", "FRP"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "default_style",
+ "source": "MODIS_Combined_Thermal_Anomalies_Night_v6_NRT",
+ "source-layer": "FIRMS_AquaTerra_N_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": "#FF0000"
+ }
+ }
+ ]
+}
diff --git a/config/default/common/vectorstyles/MODIS_Terra_Thermal_Anomalies_All_v6_NRT.json b/config/default/common/vectorstyles/MODIS_Terra_Thermal_Anomalies_All_v6_NRT.json
new file mode 100644
index 000000000..ff66acc58
--- /dev/null
+++ b/config/default/common/vectorstyles/MODIS_Terra_Thermal_Anomalies_All_v6_NRT.json
@@ -0,0 +1,81 @@
+{
+ "version": 8,
+ "name": "FIRMS",
+ "sources": {
+ "MODIS_Terra_Thermal_Anomalies_All_v6_NRT": {
+ "type": "vector",
+ "tiles": [
+ "https://sit.gibs.earthdata.nasa.gov/wmts/epsg4326/nrt/MODIS_Terra_Thermal_Anomalies_All_v6_NRT/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.mvt"
+ ]
+ }
+ },
+ "layers": [
+ {
+ "id": "MODIS_Fire_Points_Confidence",
+ "source": "MODIS_Terra_Thermal_Anomalies_All_v6_NRT",
+ "source-layer": "FIRMS_Terra_A_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "CONFIDENCE"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "CONFIDENCE"], 50],
+ ["<=", ["get", "CONFIDENCE"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "CONFIDENCE"], 75],
+ ["<=", ["get", "CONFIDENCE"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "MODIS_Fire_Points_FRP",
+ "source": "MODIS_Terra_Thermal_Anomalies_All_v6_NRT",
+ "source-layer": "FIRMS_Terra_A_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "FRP"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 50],
+ ["<=", ["get", "FRP"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 75],
+ ["<=", ["get", "FRP"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "default_style",
+ "source": "MODIS_Terra_Thermal_Anomalies_All_v6_NRT",
+ "source-layer": "FIRMS_Terra_A_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": "#FF0000"
+ }
+ }
+ ]
+}
diff --git a/config/default/common/vectorstyles/MODIS_Terra_Thermal_Anomalies_Day_v6_NRT.json b/config/default/common/vectorstyles/MODIS_Terra_Thermal_Anomalies_Day_v6_NRT.json
new file mode 100644
index 000000000..25ed0da7c
--- /dev/null
+++ b/config/default/common/vectorstyles/MODIS_Terra_Thermal_Anomalies_Day_v6_NRT.json
@@ -0,0 +1,81 @@
+{
+ "version": 8,
+ "name": "FIRMS",
+ "sources": {
+ "MODIS_Terra_Thermal_Anomalies_Day_v6_NRT": {
+ "type": "vector",
+ "tiles": [
+ "https://sit.gibs.earthdata.nasa.gov/wmts/epsg4326/nrt/MODIS_Terra_Thermal_Anomalies_Day_v6_NRT/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.mvt"
+ ]
+ }
+ },
+ "layers": [
+ {
+ "id": "MODIS_Fire_Points_Confidence",
+ "source": "MODIS_Terra_Thermal_Anomalies_Day_v6_NRT",
+ "source-layer": "FIRMS_Terra_D_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "CONFIDENCE"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "CONFIDENCE"], 50],
+ ["<=", ["get", "CONFIDENCE"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "CONFIDENCE"], 75],
+ ["<=", ["get", "CONFIDENCE"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "MODIS_Fire_Points_FRP",
+ "source": "MODIS_Terra_Thermal_Anomalies_Day_v6_NRT",
+ "source-layer": "FIRMS_Terra_D_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "FRP"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 50],
+ ["<=", ["get", "FRP"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 75],
+ ["<=", ["get", "FRP"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "default_style",
+ "source": "MODIS_Terra_Thermal_Anomalies_Day_v6_NRT",
+ "source-layer": "FIRMS_Terra_D_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": "#FF0000"
+ }
+ }
+ ]
+}
diff --git a/config/default/common/vectorstyles/MODIS_Terra_Thermal_Anomalies_Night_v6_NRT.json b/config/default/common/vectorstyles/MODIS_Terra_Thermal_Anomalies_Night_v6_NRT.json
new file mode 100644
index 000000000..d9143490a
--- /dev/null
+++ b/config/default/common/vectorstyles/MODIS_Terra_Thermal_Anomalies_Night_v6_NRT.json
@@ -0,0 +1,81 @@
+{
+ "version": 8,
+ "name": "FIRMS",
+ "sources": {
+ "MODIS_Terra_Thermal_Anomalies_Night_v6_NRT": {
+ "type": "vector",
+ "tiles": [
+ "https://sit.gibs.earthdata.nasa.gov/wmts/epsg4326/nrt/MODIS_Terra_Thermal_Anomalies_Night_v6_NRT/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.mvt"
+ ]
+ }
+ },
+ "layers": [
+ {
+ "id": "MODIS_Fire_Points_Confidence",
+ "source": "MODIS_Terra_Thermal_Anomalies_Night_v6_NRT",
+ "source-layer": "FIRMS_Terra_N_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "CONFIDENCE"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "CONFIDENCE"], 50],
+ ["<=", ["get", "CONFIDENCE"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "CONFIDENCE"], 75],
+ ["<=", ["get", "CONFIDENCE"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "MODIS_Fire_Points_FRP",
+ "source": "MODIS_Terra_Thermal_Anomalies_Night_v6_NRT",
+ "source-layer": "FIRMS_Terra_N_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "FRP"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 50],
+ ["<=", ["get", "FRP"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 75],
+ ["<=", ["get", "FRP"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "default_style",
+ "source": "MODIS_Terra_Thermal_Anomalies_Night_v6_NRT",
+ "source-layer": "FIRMS_Terra_N_LL_v6_NRT_20181226",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": "#FF0000"
+ }
+ }
+ ]
+}
diff --git a/config/default/common/vectorstyles/VIIRS_SNPP_Thermal_Anomalies_375m_All_v1_NRT.json b/config/default/common/vectorstyles/VIIRS_SNPP_Thermal_Anomalies_375m_All_v1_NRT.json
new file mode 100644
index 000000000..9a587287c
--- /dev/null
+++ b/config/default/common/vectorstyles/VIIRS_SNPP_Thermal_Anomalies_375m_All_v1_NRT.json
@@ -0,0 +1,73 @@
+{
+ "version": 8,
+ "name": "FIRMS",
+ "sources": {
+ "VIIRS_SNPP_Thermal_Anomalies_375m_All_v1_NRT": {
+ "type": "vector",
+ "tiles": [
+ "https://sit.gibs.earthdata.nasa.gov/wmts/epsg4326/nrt/VIIRS_SNPP_Thermal_Anomalies_375m_All_v1_NRT/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.mvt"
+ ]
+ }
+ },
+ "layers": [
+ {
+ "id": "MODIS_Fire_Points_Confidence",
+ "source": "VIIRS_SNPP_Thermal_Anomalies_375m_All_v1_NRT",
+ "source-layer": "FIRMS_SNPP_IA_LL_v1_NRT_20181117",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["==", ["get", "CONFIDENCE"], "low"], "rgba(55,255,0,1)",
+ ["==", ["get", "CONFIDENCE"], "nominal"], "rgba(255,128,0,1)",
+ ["==", ["get", "CONFIDENCE"], "high"], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "MODIS_Fire_Points_FRP",
+ "source": "VIIRS_SNPP_Thermal_Anomalies_375m_All_v1_NRT",
+ "source-layer": "FIRMS_SNPP_IA_LL_v1_NRT_20181117",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "FRP"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 50],
+ ["<=", ["get", "FRP"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 75],
+ ["<=", ["get", "FRP"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "default_style",
+ "source": "VIIRS_SNPP_Thermal_Anomalies_375m_All_v1_NRT",
+ "source-layer": "FIRMS_SNPP_IA_LL_v1_NRT_20181117",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": "#FF0000"
+ }
+ }
+ ]
+}
diff --git a/config/default/common/vectorstyles/VIIRS_SNPP_Thermal_Anomalies_375m_Day_v1_NRT.json b/config/default/common/vectorstyles/VIIRS_SNPP_Thermal_Anomalies_375m_Day_v1_NRT.json
new file mode 100644
index 000000000..370fe8e14
--- /dev/null
+++ b/config/default/common/vectorstyles/VIIRS_SNPP_Thermal_Anomalies_375m_Day_v1_NRT.json
@@ -0,0 +1,73 @@
+{
+ "version": 8,
+ "name": "FIRMS",
+ "sources": {
+ "VIIRS_SNPP_Thermal_Anomalies_375m_Day_v1_NRT": {
+ "type": "vector",
+ "tiles": [
+ "https://sit.gibs.earthdata.nasa.gov/wmts/epsg4326/nrt/VIIRS_SNPP_Thermal_Anomalies_375m_Day_v1_NRT/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.mvt"
+ ]
+ }
+ },
+ "layers": [
+ {
+ "id": "MODIS_Fire_Points_Confidence",
+ "source": "VIIRS_SNPP_Thermal_Anomalies_375m_Day_v1_NRT",
+ "source-layer": "FIRMS_SNPP_ID_LL_v1_NRT_20181117",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["==", ["get", "CONFIDENCE"], "low"], "rgba(55,255,0,1)",
+ ["==", ["get", "CONFIDENCE"], "nominal"], "rgba(255,128,0,1)",
+ ["==", ["get", "CONFIDENCE"], "high"], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "MODIS_Fire_Points_FRP",
+ "source": "VIIRS_SNPP_Thermal_Anomalies_375m_Day_v1_NRT",
+ "source-layer": "FIRMS_SNPP_ID_LL_v1_NRT_20181117",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "FRP"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 50],
+ ["<=", ["get", "FRP"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 75],
+ ["<=", ["get", "FRP"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "default_style",
+ "source": "VIIRS_SNPP_Thermal_Anomalies_375m_Day_v1_NRT",
+ "source-layer": "FIRMS_SNPP_ID_LL_v1_NRT_20181117",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": "#FF0000"
+ }
+ }
+ ]
+}
diff --git a/config/default/common/vectorstyles/VIIRS_SNPP_Thermal_Anomalies_375m_Night_v1_NRT.json b/config/default/common/vectorstyles/VIIRS_SNPP_Thermal_Anomalies_375m_Night_v1_NRT.json
new file mode 100644
index 000000000..ddedbe6df
--- /dev/null
+++ b/config/default/common/vectorstyles/VIIRS_SNPP_Thermal_Anomalies_375m_Night_v1_NRT.json
@@ -0,0 +1,73 @@
+{
+ "version": 8,
+ "name": "FIRMS",
+ "sources": {
+ "VIIRS_SNPP_Thermal_Anomalies_375m_Night_v1_NRT": {
+ "type": "vector",
+ "tiles": [
+ "https://sit.gibs.earthdata.nasa.gov/wmts/epsg4326/nrt/VIIRS_SNPP_Thermal_Anomalies_375m_Night_v1_NRT/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.mvt"
+ ]
+ }
+ },
+ "layers": [
+ {
+ "id": "MODIS_Fire_Points_Confidence",
+ "source": "VIIRS_SNPP_Thermal_Anomalies_375m_Night_v1_NRT",
+ "source-layer": "FIRMS_SNPP_IN_LL_v1_NRT_20181117",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["==", ["get", "CONFIDENCE"], "low"], "rgba(55,255,0,1)",
+ ["==", ["get", "CONFIDENCE"], "nominal"], "rgba(255,128,0,1)",
+ ["==", ["get", "CONFIDENCE"], "high"], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "MODIS_Fire_Points_FRP",
+ "source": "VIIRS_SNPP_Thermal_Anomalies_375m_Night_v1_NRT",
+ "source-layer": "FIRMS_SNPP_IN_LL_v1_NRT_20181117",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": [
+ "case",
+ ["<=", ["get", "FRP"], 50], "rgba(255,0,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 50],
+ ["<=", ["get", "FRP"], 75]
+ ], "rgba(255,128,0,1)",
+ [
+ "all",
+ [">", ["get", "FRP"], 75],
+ ["<=", ["get", "FRP"], 100]
+ ], "rgba(55,255,0,1)",
+ "rgba(255,255,255,0.4)"
+ ]
+ }
+ },
+ {
+ "id": "default_style",
+ "source": "VIIRS_SNPP_Thermal_Anomalies_375m_Night_v1_NRT",
+ "source-layer": "FIRMS_SNPP_IN_LL_v1_NRT_20181117",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [[12, 1], [22, 10]]
+ },
+ "circle-color": "#FF0000"
+ }
+ }
+ ]
+}
diff --git a/config/default/release/config.json b/config/default/release/config.json
index 9a7005461..943363ecf 100644
--- a/config/default/release/config.json
+++ b/config/default/release/config.json
@@ -1,12 +1,12 @@
{
"wv-options-fetch": [
{
- "from": "https://sit.gibs.earthdata.nasa.gov/wmts/epsg4326/nrt/wmts.cgi?request=GetCapabilities",
- "to": "gibs-geographic.xml"
+ "from": "http://cache1-sit.gibs.earthdata.nasa.gov/wmts/epsg4326/nrt/wmts.cgi?request=GetCapabilities",
+ "to": "gibs-geographic-nrt.xml"
},
{
- "from": "https://sit.gibs.earthdata.nasa.gov/wmts/epsg3413/nrt/wmts.cgi?request=GetCapabilities",
- "to": "gibs-arctic.xml"
+ "from": "http://cache1-sit.gibs.earthdata.nasa.gov/wmts/epsg4326/std/wmts.cgi?request=GetCapabilities",
+ "to": "gibs-geographic-std.xml"
},
{
"from": "https://sit.gibs.earthdata.nasa.gov/wmts/epsg3031/nrt/wmts.cgi?request=GetCapabilities",
@@ -16,22 +16,36 @@
"wv-options-wmts": [
{
"source": "GIBS:geographic",
- "from": "gibs-geographic.xml",
- "to": "gibs-geographic.json",
+ "from": "gibs-geographic-nrt.xml",
+ "to": "gibs-geographic-nrt.json",
"projection": "geographic",
"maxResolution": 0.5625
},
+ {
+ "source": "GIBS:geographic",
+ "from": "gibs-geographic-std.xml",
+ "to": "gibs-geographic-std.json",
+ "projection": "geographic",
+ "maxResolution": 0.5625
+ },
+ {
+ "source": "GIBS:arctic",
+ "from": "gibs-arctic-std.xml",
+ "to": "gibs-arctic-std.json",
+ "projection": "arctic",
+ "maxResolution": 8192.0
+ },
{
"source": "GIBS:arctic",
- "from": "gibs-arctic.xml",
- "to": "gibs-arctic.json",
+ "from": "gibs-arctic-std.xml",
+ "to": "gibs-arctic-std.json",
"projection": "arctic",
"maxResolution": 8192.0
},
{
"source": "GIBS:antarctic",
- "from": "gibs-antarctic.xml",
- "to": "gibs-antarctic.json",
+ "from": "gibs-antarctic-std.xml",
+ "to": "gibs-antarctic-std.json",
"projection": "antarctic",
"maxResolution": 8192.0
}
diff --git a/web/index.html b/web/index.html
index 291db1b8e..1cf5abed9 100644
--- a/web/index.html
+++ b/web/index.html
@@ -53,7 +53,8 @@ Licensed under the NASA Open Source Agreement, Version 1.3 (http://opensource.gs
<div id="wv-tour" class="wv-tour"></div>
<div id="wv-alerts" class="wv-alerts"></div>
<div class="backdrop"></div>
- <div style="position:absolute;display:block;top:0;left:50%;right:50%;width:150px;height:40px;background-color:#fff;">
+ <div style="position:absolute;display:block;top:0;left:50%;right:50%;width:200px;height:48px;background-color:#fff;">
+ <input id="confidenceCheckbox"type="checkbox" name="confidenceColors" value="confidence"> Use Confidence Styles?<br>
<input id="frpCheckbox"type="checkbox" name="frpColors" value="frp"> Use FRP Styles?<br>
</div>
</body>
diff --git a/web/js/map/layerbuilder.js b/web/js/map/layerbuilder.js
index 545c8b269..b3ae1b397 100644
--- a/web/js/map/layerbuilder.js
+++ b/web/js/map/layerbuilder.js
@@ -604,21 +604,23 @@ export function mapLayerBuilder(models, config, cache, mapUi, store) {
source: sourceOptions
});
- // TODO: Check performance of fetch here and move somewhere else if needed / do some cachinng magic
- fetch('../../config/vectorstyles/FIRMS_MODIS_MAPBOX_STYLE.json').then(function(response) {
- response.json().then(function(glStyle) {
- $(document).ready(function() {
- $(document).on('change', document.getElementById('frpCheckbox'), function(e) {
- if (document.getElementById('frpCheckbox').checked === true) {
- stylefunction(layer, glStyle, 'MODIS_Fire_Points_FRP');
- } else {
- stylefunction(layer, glStyle, 'MODIS_Fire_Points_Confidence');
- }
- });
+ if (config.vectorStyles && def.vectorStyle.id) {
+ var vectorStyles = config.vectorStyles.rendered;
+ var vectorStyle = def.vectorStyle.id;
+ var glStyle = vectorStyles[vectorStyle];
+ stylefunction(layer, glStyle, 'default_style');
+ $(document).ready(function() {
+ $(document).on('change', document.getElementById('frpCheckbox'), function(e) {
+ if (document.getElementById('frpCheckbox').checked === true) {
+ stylefunction(layer, glStyle, 'MODIS_Fire_Points_FRP');
+ } else if (document.getElementById('confidenceCheckbox').checked === true) {
+ stylefunction(layer, glStyle, 'MODIS_Fire_Points_Confidence');
+ } else {
+ stylefunction(layer, glStyle, 'default_style');
+ }
});
- stylefunction(layer, glStyle, 'MODIS_Fire_Points_Confidence');
});
- });
+ }
return layer;
};