From 901cde254667ad1e8951b9cd29b8840a88b834d6 Mon Sep 17 00:00:00 2001 From: Jordan Gilbert Date: Fri, 15 Nov 2024 15:10:28 -0700 Subject: [PATCH] more brat web --- Symbology/web/Riverscapes_BRAT/iHyd_SP2.json | 41 +++++++++++ .../web/Riverscapes_BRAT/iHyd_SPLow.json | 36 ++++++++++ .../web/Riverscapes_BRAT/limitation_igo.json | 71 +++++++++++++++++++ .../Riverscapes_BRAT/oCC_EX_filtered_igo.json | 67 +++++++++++++++++ .../web/Riverscapes_BRAT/oCC_EX_igo.json | 60 ++++++++++++++++ .../oCC_HPE_filtered_igo.json | 67 +++++++++++++++++ .../web/Riverscapes_BRAT/oCC_HPE_igo.json | 60 ++++++++++++++++ .../web/Riverscapes_BRAT/opportunity.json | 11 ++- .../web/Riverscapes_BRAT/opportunity_igo.json | 45 ++++++++++++ Symbology/web/Riverscapes_BRAT/risk_igo.json | 0 Symbology/web/Shared/flow_lines.json | 24 ------- Symbology/web/Shared/nhdephemeral.json | 2 +- Symbology/web/Shared/nhdintermittent.json | 3 +- Symbology/web/Shared/nhdperrenial.json | 10 +-- 14 files changed, 458 insertions(+), 39 deletions(-) create mode 100644 Symbology/web/Riverscapes_BRAT/iHyd_SP2.json create mode 100644 Symbology/web/Riverscapes_BRAT/iHyd_SPLow.json create mode 100644 Symbology/web/Riverscapes_BRAT/limitation_igo.json create mode 100644 Symbology/web/Riverscapes_BRAT/oCC_EX_filtered_igo.json create mode 100644 Symbology/web/Riverscapes_BRAT/oCC_EX_igo.json create mode 100644 Symbology/web/Riverscapes_BRAT/oCC_HPE_filtered_igo.json create mode 100644 Symbology/web/Riverscapes_BRAT/oCC_HPE_igo.json create mode 100644 Symbology/web/Riverscapes_BRAT/opportunity_igo.json create mode 100644 Symbology/web/Riverscapes_BRAT/risk_igo.json diff --git a/Symbology/web/Riverscapes_BRAT/iHyd_SP2.json b/Symbology/web/Riverscapes_BRAT/iHyd_SP2.json new file mode 100644 index 00000000..c3908607 --- /dev/null +++ b/Symbology/web/Riverscapes_BRAT/iHyd_SP2.json @@ -0,0 +1,41 @@ +{ + "$schema": "https://xml.riverscapes.net/Symbology/web/vector.schema.json", + "legend": [ + ["hsl(100, 100%, 33%)", "0 - 1100 Dam Persists"], + ["hsl(73, 100%, 44%)", "1100 - 1400 Potential Dam Breach"], + ["hsl(40, 100%, 50%)", "1400 - 2200 Potential Dam Blowout"], + ["hsl(0, 100%, 50%)",">2200 Dam Blowout"] + ], + "layerStyles": [ + { + "id": "High Flow Stream Power - watts", + "type": "line", + "source": "composite", + "source-layer": "BRAT_results-4wzuaw", + "layout": {}, + "paint": { + "line-color": [ + "interpolate", + ["linear"], + ["get", "SP2"], + 0, + "hsl(100, 100%, 33%)", + 1100, + "hsl(100, 100%, 33%)", + 1100.0001, + "hsl(73, 100%, 44%)", + 1400, + "hsl(73, 100%, 44%)", + 1400.0001, + "hsl(40, 100%, 50%)", + 2200, + "hsl(40, 100%, 50%)", + 2200.0001, + "hsl(0, 100%, 50%)", + 101367, + "hsl(0, 100%, 50%)" + ] + } + } + ] + } \ No newline at end of file diff --git a/Symbology/web/Riverscapes_BRAT/iHyd_SPLow.json b/Symbology/web/Riverscapes_BRAT/iHyd_SPLow.json new file mode 100644 index 00000000..0781b48b --- /dev/null +++ b/Symbology/web/Riverscapes_BRAT/iHyd_SPLow.json @@ -0,0 +1,36 @@ +{ + "$schema": "https://xml.riverscapes.net/Symbology/web/vector.schema.json", + "legend": [ + ["hsl(100, 100%, 33%)", "0 - 160 Can Build Dam"], + ["hsl(60, 100%, 48%)", "160 - 185 Probably Can Build Dam"], + ["hsl(0, 100%, 48%)",">185 Cannot Build Dam"] + ], + "layerStyles": [ + { + "id": "Base Flow Stream Power - watts", + "type": "line", + "source": "composite", + "source-layer": "BRAT_results-4wzuaw", + "layout": {}, + "paint": { + "line-color": [ + "interpolate", + ["linear"], + ["get", "SPLow"], + 0, + "hsl(100, 100%, 33%)", + 160, + "hsl(100, 100%, 33%)", + 160.0001, + "hsl(60, 100%, 48%)", + 185, + "hsl(60, 100%, 48%)", + 185.0001, + "hsl(0, 100%, 48%)", + 2259, + "hsl(0, 100%, 48%)" + ] + } + } + ] + } \ No newline at end of file diff --git a/Symbology/web/Riverscapes_BRAT/limitation_igo.json b/Symbology/web/Riverscapes_BRAT/limitation_igo.json new file mode 100644 index 00000000..9db37c4b --- /dev/null +++ b/Symbology/web/Riverscapes_BRAT/limitation_igo.json @@ -0,0 +1,71 @@ +{ + "$schema": "https://xml.riverscapes.net/Symbology/web/vector.schema.json", + "legend": [ + ["hsl(52, 100%, 45%)", "Anthropogenically Limited"], + ["hsl(194, 100%, 50%)","Stream Power Limited"], + ["hsl(0, 100%, 48%)", "Slope Limited"], + ["hsl(314, 100%, 73%)","Potential Reservoir or Land Use Change"], + ["hsl(100, 100%, 23%)", "Naturally Vegetation Limited"], + ["hsl(32, 100%, 52%)", "Stream Size Limited"], + ["hsl(0, 0%, 65%)", "Dam Building Possible"], + ["hsl(0, 0%, 0%)", "Other"] + ], + "layerStyles": [ + { + "id": "Unsuitable or Limited Opportunities", + "type": "circle", + "source": "composite", + "source-layer": "BRAT_results-4wzuaw", + "layout": {}, + "paint": { + "circle-radius": [ + "interpolate", + [ + "linear" + ], + [ + "zoom" + ], + 10, + 1, + 11, + 2, + 13.55, + 3, + 15, + 4, + 22, + 5 + ], + "circle-color": [ + "match", + ["get", "Limitation"], + ["Dam Building Possible"], + "hsl(0, 0%, 65%)", + ["Naturally Vegetation Limited"], + "hsl(100, 100%, 23%)", + ["Anthropogenically Limited"], + "hsl(52, 100%, 45%)", + ["Slope Limited"], + "hsl(0, 100%, 48%)", + ["Potential Reservoir or Land Use Change"], + "hsl(314, 100%, 73%)", + ["Stream Power Limited"], + "hsl(194, 100%, 50%)", + ["Stream Size Limited"], + "hsl(32, 100%, 52%)", + ["Other"], + "hsl(0, 0%, 0%)", + "#000000" + ], + "circle-opacity": [ + "match", + ["get", "ReachCode"], + [46006, 33600, 55800], + 1, + 0 + ] + } + } + ] + } \ No newline at end of file diff --git a/Symbology/web/Riverscapes_BRAT/oCC_EX_filtered_igo.json b/Symbology/web/Riverscapes_BRAT/oCC_EX_filtered_igo.json new file mode 100644 index 00000000..f0bd96a0 --- /dev/null +++ b/Symbology/web/Riverscapes_BRAT/oCC_EX_filtered_igo.json @@ -0,0 +1,67 @@ +{ + "$schema": "https://xml.riverscapes.net/Symbology/web/vector.schema.json", + "legend": [ + ["hsl(0, 100%, 48%)", "None: 0 dams"], + ["hsl(40, 100%, 50%)", "Rare: 0-1 dams/km (0-2 dams/mi)"], + ["hsl(60, 100%, 48%)","Occasional: 1-5 dams/km (2-8 dams/mi)"], + ["hsl(100, 99%, 45%)","Frequent: 5-15 dams/km (8-24 dams/mi)"], + ["hsl(216, 100%, 45%)","Pervasive: >15 dams/km (>24 dams/mi)"] + ], + "layerStyles": [ + { + "id": "Existing Dam Capacity ", + "type": "circle", + "source": "composite", + "source-layer": "oCC_EX-bmdfb2", + "layout": {}, + "paint": { + "circle-radius": [ + "interpolate", + [ + "linear" + ], + [ + "zoom" + ], + 10, + 1, + 11, + 2, + 13.55, + 3, + 15, + 4, + 22, + 5 + ], + "circle-color": [ + "interpolate", + ["linear"], + ["get", "oCC_EX"], + "hsl(0, 100%, 48%)", + 0.0, + "hsl(40, 100%, 50%)", + 1, + "hsl(40, 100%, 50%)", + 1.000001, + "hsl(60, 100%, 48%)", + 5, + "hsl(60, 100%, 48%)", + 5.000001, + "hsl(100, 99%, 45%)", + 15, + "hsl(100, 99%, 45%)", + 15.000001, + "hsl(216, 100%, 45%)" + ], + "circle-opacity": [ + "match", + ["get", "ReachCode"], + [46006, 33600, 55800], + 1, + 0 + ] + } + } + ] + } \ No newline at end of file diff --git a/Symbology/web/Riverscapes_BRAT/oCC_EX_igo.json b/Symbology/web/Riverscapes_BRAT/oCC_EX_igo.json new file mode 100644 index 00000000..b9351d0d --- /dev/null +++ b/Symbology/web/Riverscapes_BRAT/oCC_EX_igo.json @@ -0,0 +1,60 @@ +{ + "$schema": "https://xml.riverscapes.net/Symbology/web/vector.schema.json", + "legend": [ + ["hsl(0, 100%, 48%)", "None: 0 dams"], + ["hsl(40, 100%, 50%)", "Rare: 0-1 dams/km (0-2 dams/mi)"], + ["hsl(60, 100%, 48%)","Occasional: 1-5 dams/km (2-8 dams/mi)"], + ["hsl(100, 99%, 45%)","Frequent: 5-15 dams/km (8-24 dams/mi)"], + ["hsl(216, 100%, 45%)","Pervasive: >15 dams/km (>24 dams/mi)"] + ], + "layerStyles": [ + { + "id": "Existing Dam Capacity ", + "type": "circle", + "source": "composite", + "source-layer": "oCC_EX-bmdfb2", + "layout": {}, + "paint": { + "circle-radius": [ + "interpolate", + [ + "linear" + ], + [ + "zoom" + ], + 10, + 1, + 11, + 2, + 13.55, + 3, + 15, + 4, + 22, + 5 + ], + "circle-color": [ + "interpolate", + ["linear"], + ["get", "oCC_EX"], + "hsl(0, 100%, 48%)", + 0.0, + "hsl(40, 100%, 50%)", + 1, + "hsl(40, 100%, 50%)", + 1.000001, + "hsl(60, 100%, 48%)", + 5, + "hsl(60, 100%, 48%)", + 5.000001, + "hsl(100, 99%, 45%)", + 15, + "hsl(100, 99%, 45%)", + 15.000001, + "hsl(216, 100%, 45%)" + ] + } + } + ] + } \ No newline at end of file diff --git a/Symbology/web/Riverscapes_BRAT/oCC_HPE_filtered_igo.json b/Symbology/web/Riverscapes_BRAT/oCC_HPE_filtered_igo.json new file mode 100644 index 00000000..ab35bebd --- /dev/null +++ b/Symbology/web/Riverscapes_BRAT/oCC_HPE_filtered_igo.json @@ -0,0 +1,67 @@ +{ + "$schema": "https://xml.riverscapes.net/Symbology/web/vector.schema.json", + "legend": [ + ["hsl(0, 100%, 48%)", "None: 0 dams"], + ["hsl(40, 100%, 50%)", "Rare: 0-1 dams/km (0-2 dams/mi)"], + ["hsl(60, 100%, 48%)","Occasional: 1-5 dams/km (2-8 dams/mi)"], + ["hsl(100, 99%, 45%)","Frequent: 5-15 dams/km (8-24 dams/mi)"], + ["hsl(216, 100%, 45%)","Pervasive: >15 dams/km (>24 dams/mi)"] + ], + "layerStyles": [ + { + "id": "Historic Dam Capacity ", + "type": "circle", + "source": "composite", + "source-layer": "oCC_EX-bmdfb2", + "layout": {}, + "paint": { + "circle-radius": [ + "interpolate", + [ + "linear" + ], + [ + "zoom" + ], + 10, + 1, + 11, + 2, + 13.55, + 3, + 15, + 4, + 22, + 5 + ], + "circle-color": [ + "interpolate", + ["linear"], + ["get", "oCC_HPE"], + "hsl(0, 100%, 48%)", + 0.0, + "hsl(40, 100%, 50%)", + 1, + "hsl(40, 100%, 50%)", + 1.000001, + "hsl(60, 100%, 48%)", + 5, + "hsl(60, 100%, 48%)", + 5.000001, + "hsl(100, 99%, 45%)", + 15, + "hsl(100, 99%, 45%)", + 15.000001, + "hsl(216, 100%, 45%)" + ], + "circle-opacity": [ + "match", + ["get", "ReachCode"], + [46006, 33600, 55800], + 1, + 0 + ] + } + } + ] + } \ No newline at end of file diff --git a/Symbology/web/Riverscapes_BRAT/oCC_HPE_igo.json b/Symbology/web/Riverscapes_BRAT/oCC_HPE_igo.json new file mode 100644 index 00000000..eeab7cf4 --- /dev/null +++ b/Symbology/web/Riverscapes_BRAT/oCC_HPE_igo.json @@ -0,0 +1,60 @@ +{ + "$schema": "https://xml.riverscapes.net/Symbology/web/vector.schema.json", + "legend": [ + ["hsl(0, 100%, 48%)", "None: 0 dams"], + ["hsl(40, 100%, 50%)", "Rare: 0-1 dams/km (0-2 dams/mi)"], + ["hsl(60, 100%, 48%)","Occasional: 1-5 dams/km (2-8 dams/mi)"], + ["hsl(100, 99%, 45%)","Frequent: 5-15 dams/km (8-24 dams/mi)"], + ["hsl(216, 100%, 45%)","Pervasive: >15 dams/km (>24 dams/mi)"] + ], + "layerStyles": [ + { + "id": "Historic Dam Capacity ", + "type": "circle", + "source": "composite", + "source-layer": "oCC_EX-bmdfb2", + "layout": {}, + "paint": { + "circle-radius": [ + "interpolate", + [ + "linear" + ], + [ + "zoom" + ], + 10, + 1, + 11, + 2, + 13.55, + 3, + 15, + 4, + 22, + 5 + ], + "circle-color": [ + "interpolate", + ["linear"], + ["get", "oCC_HPE"], + "hsl(0, 100%, 48%)", + 0.0, + "hsl(40, 100%, 50%)", + 1, + "hsl(40, 100%, 50%)", + 1.000001, + "hsl(60, 100%, 48%)", + 5, + "hsl(60, 100%, 48%)", + 5.000001, + "hsl(100, 99%, 45%)", + 15, + "hsl(100, 99%, 45%)", + 15.000001, + "hsl(216, 100%, 45%)" + ] + } + } + ] + } \ No newline at end of file diff --git a/Symbology/web/Riverscapes_BRAT/opportunity.json b/Symbology/web/Riverscapes_BRAT/opportunity.json index 436d5296..9512b485 100644 --- a/Symbology/web/Riverscapes_BRAT/opportunity.json +++ b/Symbology/web/Riverscapes_BRAT/opportunity.json @@ -31,10 +31,15 @@ "hsl(240, 86%, 48%)", ["Natural or Anthropogenic Limitations"], "hsl(0, 0%, 73%)", - "#000000" + "hsl(0, 0%, 0%)" ], - "line-width": ["match", ["get", "ReachCode"], [46003], 0.5, 1, [46007], 0.5, 1] + "line-width": [ + "match", + ["get", "ReachCode"], + [46003, 46007], + 0.75, + 1.25] } - } + } ] } \ No newline at end of file diff --git a/Symbology/web/Riverscapes_BRAT/opportunity_igo.json b/Symbology/web/Riverscapes_BRAT/opportunity_igo.json new file mode 100644 index 00000000..032a268b --- /dev/null +++ b/Symbology/web/Riverscapes_BRAT/opportunity_igo.json @@ -0,0 +1,45 @@ +{ + "$schema": "https://xml.riverscapes.net/Symbology/web/vector.schema.json", + "legend": [ + ["hsl(120, 100%, 33%)", "Conservation/Appropriate for Translocation"], + ["hsl(194, 100%, 50%)", "Encourage Beaver Expansion/Colonization"], + ["hsl(53, 100%, 45%)","Appropriate for Beaver Mimicry"], + ["hsl(24, 36%, 39%)", "Address Resource Limitations"], + ["hsl(240, 86%, 48%)", "Potential Floodpain/Side Channel Opportunities"], + ["hsl(0, 0%, 73%)", "Natural or Anthropogenic Limitations"] + ], + "layerStyles": [ + { + "id": "Restoration or Conservation Opportunities", + "type": "circle", + "source": "composite", + "source-layer": "BRAT_results-4wzuaw", + "layout": {}, + "paint": { + "circle-color": [ + "match", + ["get", "Opportunity"], + ["Conservation/Appropriate for Translocation"], + "hsl(120, 100%, 33%)", + ["Encourage Beaver Expansion/Colonization"], + "hsl(194, 100%, 50%)", + ["Appropriate for Beaver Mimicry"], + "hsl(53, 100%, 45%)", + ["Address Resource Limitations"], + "hsl(24, 36%, 39%)", + ["Potential Floodpain/Side Channel Opportunities"], + "hsl(240, 86%, 48%)", + ["Natural or Anthropogenic Limitations"], + "hsl(0, 0%, 73%)", + "hsl(0, 0%, 0%)" + ], + "circle_radius": [ + "match", + ["get", "ReachCode"], + [46003, 46007], + 1.5, + 2] + } + } + ] + } \ No newline at end of file diff --git a/Symbology/web/Riverscapes_BRAT/risk_igo.json b/Symbology/web/Riverscapes_BRAT/risk_igo.json new file mode 100644 index 00000000..e69de29b diff --git a/Symbology/web/Shared/flow_lines.json b/Symbology/web/Shared/flow_lines.json index 5c16e2a8..866f5592 100644 --- a/Symbology/web/Shared/flow_lines.json +++ b/Symbology/web/Shared/flow_lines.json @@ -18,16 +18,6 @@ "layout": {}, "paint": { "line-color": [ - "match", - ["get", "fcode"], - [46006], - "hsl(213, 100%, 33%)", - [33600], - "hsl(180, 75%, 79%)", - [33400], - "hsl(40, 100%, 50%)", - [55800], - "hsl(351, 55%, 58%)", "match", ["get", "FCode"], [46006], @@ -50,12 +40,6 @@ "layout": {}, "paint": { "line-color": [ - "match", - ["get", "fcode"], - [46003], - "hsl(80, 100%, 50%)", - [46007], - "hsl(40, 100%, 45%)", "match", ["get", "FCode"], [46003], @@ -76,10 +60,6 @@ "paint": { "line-dasharray": [2, 2], "line-color": [ - "match", - ["get", "fcode"], - [42800, 42801, 42802, 42807, 42813], - "#000000", "match", ["get", "FCode"], [42800, 42801, 42802, 42807, 42813], @@ -97,10 +77,6 @@ "layout": {}, "paint": { "line-color": [ - "match", - ["get", "fcode"], - [42800, 42801, 42802, 42807, 42813], - "#000000", "match", ["get", "FCode"], [42800, 42801, 42802, 42807, 42813], diff --git a/Symbology/web/Shared/nhdephemeral.json b/Symbology/web/Shared/nhdephemeral.json index 0e9c3971..a1839a5f 100644 --- a/Symbology/web/Shared/nhdephemeral.json +++ b/Symbology/web/Shared/nhdephemeral.json @@ -9,7 +9,7 @@ "type": "line", "source": "composite", "source-layer": "intermittent-126k30", - "filter": ["match", ["get", "fcode"], [46007], true, false, "match", ["get", "FCode"], [46007], true, false], + "filter": ["match", ["get", "FCode"], [46007], true, false], "layout": {}, "paint": { "line-dasharray": [3, 1, 1, 1, 1, 1], diff --git a/Symbology/web/Shared/nhdintermittent.json b/Symbology/web/Shared/nhdintermittent.json index 76047e8b..b8ea9f14 100644 --- a/Symbology/web/Shared/nhdintermittent.json +++ b/Symbology/web/Shared/nhdintermittent.json @@ -9,8 +9,7 @@ "type": "line", "source": "composite", "source-layer": "intermittent-126k30", - "filter": ["match", ["get", "fcode"], [46003], true, false, - "match", ["get", "FCode"], [46003], true, false], + "filter": ["match", ["get", "FCode"], [46003], true, false], "layout": {}, "paint": { "line-color": "hsl(194, 100%, 73%)", diff --git a/Symbology/web/Shared/nhdperrenial.json b/Symbology/web/Shared/nhdperrenial.json index e4571e7e..b59c70d1 100644 --- a/Symbology/web/Shared/nhdperrenial.json +++ b/Symbology/web/Shared/nhdperrenial.json @@ -14,14 +14,6 @@ "layout": {}, "paint": { "line-color": [ - "match", - ["get", "fcode"], - [46006], - "hsl(213, 100%, 33%)", - [33400], - "hsl(213, 100%, 33%)", - [55800], - "hsl(220, 100%, 23%)", "match", ["get", "FCode"], [46006], @@ -32,7 +24,7 @@ "hsl(220, 100%, 23%)", "hsla(0, 0%, 0%, 0)" ], - "line-width": ["match", ["get", "fcode"], [33400], 0.5, 1] + "line-width": ["match", ["get", "FCode"], [33400], 0.5, 1] } } ]