UGS-GIO / geohaz

UGS Geologic Hazards Portal web application that compiles a large data set of geologic hazards data and displays it on an interactive web map
https://geology.utah.gov/apps/hazards
2 stars 0 forks source link

Shallow Bedrock Potential symbolized with two "Hard" categories #9

Closed marthajensen closed 4 years ago

marthajensen commented 4 years ago

The Problem Soil and Rock Hazards - Shallow Bedrock Potential has two "Hard" categories in the Legend of the application. See below:

image

The MXD feeding the application is symbolizing two values for the Hard category, both Hsbp and HDsbp. See screenshot below:

image

The fill color recipes (RGB) for the categories are as follows: Hard: 168-56-0 Soft: 255-170-0 Buried: 233-255-190 Deep: 190-255-232

All had a 0.4 black (0-0-0) stroke on them

jjhi11 commented 4 years ago

Fixed with a custom renderer in the code.

marthajensen commented 4 years ago

Jess fixed the Shallow Bedrock Potential in the mxd - it was symbolized on two attributes - one of which no longer exists in the attribute table

map.js the var rendererBedrockPot (line 668), label "Hard" - the value (on line 673) needs to be changed to just "Hsbp"

"HDsbp" needs to be removed from the value field (on line 673)