Skip to content

Commit

Permalink
testing allowing for FCode or fcode
Browse files Browse the repository at this point in the history
  • Loading branch information
jtgilbert authored and philipbaileynar committed Dec 19, 2024
1 parent aecccdf commit de1ca51
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 3 deletions.
20 changes: 20 additions & 0 deletions Symbology/web/Shared/flow_lines.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@
"hsl(40, 100%, 50%)",
[55800],
"hsl(351, 55%, 58%)",
["get", "fcode"],
[46006],
"hsl(213, 100%, 33%)",
[33600],
"hsl(180, 75%, 79%)",
[33400],
"hsl(40, 100%, 50%)",
[55800],
"hsl(351, 55%, 58%)",
"hsla(0, 0%, 0%, 0)"
]
}
Expand All @@ -46,6 +55,11 @@
"hsl(80, 100%, 50%)",
[46007],
"hsl(40, 100%, 45%)",
["get", "fcode"],
[46003],
"hsl(80, 100%, 50%)",
[46007],
"hsl(40, 100%, 45%)",
"hsla(0, 0%, 0%, 0)"
],
"line-dasharray": [1, 2]
Expand All @@ -64,6 +78,9 @@
["get", "FCode"],
[42800, 42801, 42802, 42807, 42813],
"#000000",
["get", "fcode"],
[42800, 42801, 42802, 42807, 42813],
"#000000",
"hsla(0, 0%, 0%, 0)"
],
"line-width": 2
Expand All @@ -81,6 +98,9 @@
["get", "FCode"],
[42800, 42801, 42802, 42807, 42813],
"#000000",
["get", "fcode"],
[42800, 42801, 42802, 42807, 42813],
"#000000",
"hsla(0, 0%, 0%, 0)"
],
"line-width": 2,
Expand Down
2 changes: 1 addition & 1 deletion Symbology/web/Shared/nhdephemeral.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "line",
"source": "composite",
"source-layer": "intermittent-126k30",
"filter": ["match", ["get", "FCode"], [46007], true, false],
"filter": ["match", ["get", "FCode"], [46007], ["get", "fcode"], [46007], true, false],
"layout": {},
"paint": {
"line-dasharray": [3, 1, 1, 1, 1, 1],
Expand Down
2 changes: 1 addition & 1 deletion Symbology/web/Shared/nhdintermittent.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "line",
"source": "composite",
"source-layer": "intermittent-126k30",
"filter": ["match", ["get", "FCode"], [46003], true, false],
"filter": ["match", ["get", "FCode"], [46003], ["get", "fcode"], [46003], true, false],
"layout": {},
"paint": {
"line-color": "hsl(194, 100%, 73%)",
Expand Down
9 changes: 8 additions & 1 deletion Symbology/web/Shared/nhdperrenial.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,16 @@
"hsl(213, 100%, 33%)",
[55800],
"hsl(220, 100%, 23%)",
["get", "fcode"],
[46006],
"hsl(213, 100%, 33%)",
[33400],
"hsl(213, 100%, 33%)",
[55800],
"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, "match", ["get", "fcode"], [33400], 0.5, 1, 0]
}
}
]
Expand Down

0 comments on commit de1ca51

Please sign in to comment.