Skip to content

Commit

Permalink
Beaver Activity curation update
Browse files Browse the repository at this point in the history
  • Loading branch information
ChloeSeeborg committed Oct 23, 2024
1 parent 4ba9011 commit 8782454
Show file tree
Hide file tree
Showing 6 changed files with 162 additions and 19 deletions.
4 changes: 2 additions & 2 deletions RaveBusinessLogic/V2/Beaver_Activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<Node label="Project Report" xpath="Outputs/HTMLFile" type="report" />
<Node label="Outputs" xpath="Outputs">
<Children collapsed="false">
<Node label="Beaver Dam Density (IGO)" xpath="Geopackage/Layers/Vector[@lyrName='igos']" type="point" id="dam_density_igo" symbology="dam_density_igo" filter="&quot;FCode&quot; in (46006, 55800, 33600)" />
<Node label="Beaver Dam Density (DGO)" xpath="Geopackage/Layers/Vector[@lyrName='dgos']" type="polygon" id="dam_density_dgo" symbology="dam_density_dgo" filter="&quot;FCode&quot; in (46006, 55800, 33600)" />
<Node label="Beaver Dam Density (IGO)" xpath="Geopackage/Layers/Vector[@lyrName='igos']" type="point" id="dam_density_igo" symbology="dam_density_igo_filtered" />
<Node label="Beaver Dam Density (DGO)" xpath="Geopackage/Layers/Vector[@lyrName='dgos']" type="polygon" id="dam_density_dgo" symbology="dam_density_dgo_filtered" />
<Node label="Beaver Dam Density (IGO; All)" xpath="Geopackage/Layers/Vector[@lyrName='igos']" type="point" id="dam_density_igo_all" symbology="dam_density_igo" />
<Node label="Beaver Dam Density (DGO; All)" xpath="Geopackage/Layers/Vector[@lyrName='dgos']" type="polygon" id="dam_density_dgo_all" symbology="dam_density_dgo" />
</Children>
Expand Down
17 changes: 9 additions & 8 deletions Symbology/web/Beaver_Activity/beaver_dams.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
{
"$schema": "https://xml.riverscapes.xyz/Symbology/web/vector.schema.json",
"legend": [
["rgb(242, 204, 78)", "Beaver Dam"]
["rgb(233, 182, 41)", "Beaver Dam"]
],
"layerStyles": [
{
"id": "dam-points-reproj-d7fdsb",
"type": "symbol",
"type": "circle",
"source": "composite",
"source-layer": "dam_points_reproj-d7fdsb",
"layout": {
"icon-size": 0.02,
"icon-image": "star-svgrepo-com",
"icon-allow-overlap": true
},
"paint": {}
"layout": {},
"paint": {
"circle-color": "rgb(233, 182, 41)",
"circle-stroke-width": 0.8,
"circle-stroke-color": "rgb(176, 110, 24)",
"circle-radius": 3
}
}
]
}
29 changes: 22 additions & 7 deletions Symbology/web/Beaver_Activity/dam_density_dgo.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
{
"$schema": "https://xml.riverscapes.xyz/Symbology/web/vector.schema.json",
"legend": [
["hsl(Item1COlorHERE)", "WebRave Legend Item1"],
["hsl(Item2COlorHERE)", "WebRave Legend Item2"]
["rgb(255, 255, 243)", "0 dams/km"],
["rgb(249, 249, 157)", "0.01 - 1 dams/km"],
["rgb(199, 234, 179)", "1 - 5 dams/km"],
["rgb(66, 199, 195)", "5 - 15 dams/km"],
["rgb(44, 127, 184)", "15 - 30 dams/km"],
["rgb(37, 52, 148)", "30 - 50 dams/km"],
["rgb(8, 21, 80)", "> 50 dams/km"]
],
"layerStyles": [
{
Expand All @@ -18,9 +23,9 @@
["get", "dam_density"],
0,
"rgb(255, 255, 243)",
0.01,
0.009,
"rgb(255, 255, 243)",
0.011,
0.01,
"rgb(249, 249, 157)",
1,
"rgb(249, 249, 157)",
Expand All @@ -42,8 +47,18 @@
"rgb(37, 52, 148)",
50.0001,
"rgb(8, 21, 80)",
70.9081554824198,
"rgb(8, 21, 80)"]}
1000,
"rgb(8, 21, 80)"
]
}
},
{
"id": "beaver-dgo-7qly80 copy",
"type": "line",
"source": "composite",
"source-layer": "beaver_dgo-7qly80",
"layout": {},
"paint": {"line-width": 0.1, "line-color": "rgb(35, 35, 35)"}
}
]
]
}
69 changes: 69 additions & 0 deletions Symbology/web/Beaver_Activity/dam_density_dgo_filtered.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"$schema": "https://xml.riverscapes.xyz/Symbology/web/vector.schema.json",
"legend": [
["rgb(255, 255, 243)", "0 dams/km"],
["rgb(249, 249, 157)", "0.01 - 1 dams/km"],
["rgb(199, 234, 179)", "1 - 5 dams/km"],
["rgb(66, 199, 195)", "5 - 15 dams/km"],
["rgb(44, 127, 184)", "15 - 30 dams/km"],
["rgb(37, 52, 148)", "30 - 50 dams/km"],
["rgb(8, 21, 80)", "> 50 dams/km"]
],
"layerStyles": [
{
"id": "dam-dgo-filtered-7bd7hq",
"type": "fill",
"source": "composite",
"source-layer": "dam_dgo_filtered-7bd7hq",
"layout": {},
"paint": {
"fill-color": [
"interpolate",
["linear"],
["get", "dam_density"],
0,
"rgb(255, 255, 243)",
0.009,
"rgb(255, 255, 243)",
0.01,
"rgb(249, 249, 157)",
1,
"rgb(249, 249, 157)",
1.0001,
"rgb(199, 234, 179)",
5,
"rgb(199, 234, 179)",
5.0001,
"rgb(66, 199, 195)",
15,
"rgb(66, 199, 195)",
15.0001,
"rgb(44, 127, 184)",
30,
"rgb(44, 127, 184)",
30.0001,
"rgb(37, 52, 148)",
50,
"rgb(37, 52, 148)",
50.0001,
"rgb(8, 21, 80)",
1000,
"rgb(8, 21, 80)"
],
"fill-opacity": ["match", ["get", "FCode"], [46006], 1, 0]
}
},
{
"id": "dam-dgo-filtered-7bd7hq copy",
"type": "line",
"source": "composite",
"source-layer": "dam_dgo_filtered-7bd7hq",
"layout": {},
"paint": {
"line-width": 0.1,
"line-color": "rgb(35, 35, 35)",
"line-opacity": ["match", ["get", "FCode"], [46006, 33600, 55800], 1, 0]
}
}
]
}
4 changes: 2 additions & 2 deletions Symbology/web/Beaver_Activity/dam_density_igo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
["rgb(199, 234, 179)", "1 - 5 dams/km"],
["rgb(66, 199, 195)", "5 - 15 dams/km"],
["rgb(44, 127, 184)", "15 - 30 dams/km"],
["rgb(37, 52, 148))", "30 - 50 dams/km"],
["rgb(37, 52, 148)", "30 - 50 dams/km"],
["rgb(8, 21, 80)", "> 50 dams/km"]
],
"layerStyles": [
Expand Down Expand Up @@ -50,7 +50,7 @@
1000,
"rgb(8, 21, 80)"
],
"circle-radius": 4
"circle-radius": 3
}
}
]
Expand Down
58 changes: 58 additions & 0 deletions Symbology/web/Beaver_Activity/dam_density_igo_filtered.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"$schema": "https://xml.riverscapes.xyz/Symbology/web/vector.schema.json",
"legend": [
["rgb(255, 255, 243)", "0 dams/km"],
["rgb(249, 249, 157)", "0.01 - 1 dams/km"],
["rgb(199, 234, 179)", "1 - 5 dams/km"],
["rgb(66, 199, 195)", "5 - 15 dams/km"],
["rgb(44, 127, 184)", "15 - 30 dams/km"],
["rgb(37, 52, 148)", "30 - 50 dams/km"],
["rgb(8, 21, 80)", "> 50 dams/km"]
],
"layerStyles": [
{
"id": "dam-igo-filtered-30emtk",
"type": "circle",
"source": "composite",
"source-layer": "dam_igo_filtered-30emtk",
"layout": {},
"paint": {
"circle-radius": 3,
"circle-color": [
"interpolate",
["linear"],
["get", "dam_density"],
0,
"rgb(255, 255, 243)",
0.009,
"rgb(255, 255, 243)",
0.01,
"rgb(249, 249, 157)",
1,
"rgb(249, 249, 157)",
1.0001,
"rgb(199, 234, 179)",
5,
"rgb(199, 234, 179)",
5.0001,
"rgb(66, 199, 195)",
15,
"rgb(66, 199, 195)",
15.0001,
"rgb(44, 127, 184)",
30,
"rgb(44, 127, 184)",
30.0001,
"rgb(37, 52, 148)",
50,
"rgb(37, 52, 148)",
50.0001,
"rgb(8, 21, 80)",
1000,
"rgb(8, 21, 80)"
],
"circle-opacity": ["match", ["get", "FCode"], [46006, 33600, 55800], 1, 0]
}
}
]
}

0 comments on commit 8782454

Please sign in to comment.