Skip to content

Commit

Permalink
more brat web
Browse files Browse the repository at this point in the history
  • Loading branch information
jtgilbert committed Nov 15, 2024
1 parent 969b84d commit 901cde2
Show file tree
Hide file tree
Showing 14 changed files with 458 additions and 39 deletions.
41 changes: 41 additions & 0 deletions Symbology/web/Riverscapes_BRAT/iHyd_SP2.json
Original file line number Diff line number Diff line change
@@ -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%)"
]
}
}
]
}
36 changes: 36 additions & 0 deletions Symbology/web/Riverscapes_BRAT/iHyd_SPLow.json
Original file line number Diff line number Diff line change
@@ -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%)"
]
}
}
]
}
71 changes: 71 additions & 0 deletions Symbology/web/Riverscapes_BRAT/limitation_igo.json
Original file line number Diff line number Diff line change
@@ -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
]
}
}
]
}
67 changes: 67 additions & 0 deletions Symbology/web/Riverscapes_BRAT/oCC_EX_filtered_igo.json
Original file line number Diff line number Diff line change
@@ -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
]
}
}
]
}
60 changes: 60 additions & 0 deletions Symbology/web/Riverscapes_BRAT/oCC_EX_igo.json
Original file line number Diff line number Diff line change
@@ -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%)"
]
}
}
]
}
67 changes: 67 additions & 0 deletions Symbology/web/Riverscapes_BRAT/oCC_HPE_filtered_igo.json
Original file line number Diff line number Diff line change
@@ -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
]
}
}
]
}
Loading

0 comments on commit 901cde2

Please sign in to comment.