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

No fault names displayed #53

Closed marshallrobinson closed 3 years ago

marshallrobinson commented 3 years ago

From @emkleb:

Hi GIS/web wizards and witches-

I noticed this AM that the fault names are not displaying in the pop-up for the faults layer on the hazards app (see image below).

image (4)

I'm sure no one else has noticed but me. Wanted to relay the bug.

marshallrobinson commented 3 years ago

From @jjhi11,

Should that one have a name? I see names for the wasatch and west eagle hill faults showing up. If there is no value in the data for fault name it doesn't show in the popup.

marshallrobinson commented 3 years ago

From @marthajensen,

I looked at the data - FaultNum 2265 is named "Granite Creek fault zone." See below (sorry the pic is so huge - my choice was either way too small or way too big)

image (5)

marshallrobinson commented 3 years ago

From @jjhi11,

Any reason we weren't using this field in the quaternary faults and folds app popup? I built out the new hazards app with the same functionality as that app hence there being no faultName field in this popup.

marshallrobinson commented 3 years ago

From @emkleb,

Hi Jay-

We should have been having the names pop-up, and I know I have seen then before in the app. Was there a recent update of the app, and this didn't make it through?

Note that there are four fields that are consider "name" fields (from the Q-faults schema I am working on updating): *Fault Name (not a field) — Subdivided into a four column hierarchy (FaultZone, FaultName, SectionName, and StrandName) based on the U.S. Geological Survey Quaternary Fault and Fold Database of the United States system of assigning fault numbers and letters to Quaternary faults (http://earthquake.usgs.gov/hazards/qfaults/). Complete, accepted fault name with no abbreviations. Not all faults will have all four fields filled out, but there must be at least one filled out with a CITABLE name (ie. the name and fault description is published somewhere else).

FaultZone(Text data type)

Fault zone name, applied to faults comprising two or more named sections. Please take note of the correct letter case used previously, or see UGS Circular 105 for the correct letter case and naming conventions.

Example: Wasatch fault zone, East Cache fault zone

FaultName(Text data type)

Fault name, applied to faults that are not subdivided into named sections (equivalent to faults in the Q fault database that have an assigned fault number, but no letter). Please take note of the correct letter case used previously, or see UGS Circular 105 for the correct letter case and naming conventions.

SectionName (Text data type)

Fault zone section name, applied to named subdivisions of a fault zone (equivalent to faults in the Q fault database that have a letter appended to the fault number). Please take note of the correct letter case used previously, or see UGS Circular 105 for the correct letter case and naming conventions.

StrandName(Text data type)

Named subdivision of a section of a fault zone, formal or informal.

Thanks

marshallrobinson commented 3 years ago

From @jjhi11,

Got it. Thanks. I'll be adding the code now.

marshallrobinson commented 3 years ago

commit 0fdbebe319f3c12b2514bac7dfa5baea16f9f354 fixes it.