diff --git a/src/main/java/gov/usgs/earthquake/nshmp/calc/Site.java b/src/main/java/gov/usgs/earthquake/nshmp/calc/Site.java index c316c8a3651a7ee0d1f3afa935478035a13a4770..7eccc41782af76c8bf18647d175cc024ab33cc49 100644 --- a/src/main/java/gov/usgs/earthquake/nshmp/calc/Site.java +++ b/src/main/java/gov/usgs/earthquake/nshmp/calc/Site.java @@ -30,6 +30,7 @@ import gov.usgs.earthquake.nshmp.NamedLocation; import gov.usgs.earthquake.nshmp.geo.Location; import gov.usgs.earthquake.nshmp.geo.json.Feature; import gov.usgs.earthquake.nshmp.geo.json.Properties; +import gov.usgs.earthquake.nshmp.geo.json.Properties.Style; import gov.usgs.earthquake.nshmp.gmm.GroundMotionModel; /** @@ -287,7 +288,7 @@ public class Site { * parsers in Sites. */ Builder geoJsonProperties(Properties props) { - props.getString(Key.NAME).ifPresent(this::name); + props.getString(Style.TITLE.toString()).ifPresent(this::name); props.getDouble(Key.VS30).ifPresent(this::vs30); props.getBoolean(Key.VS_INF).ifPresent(this::vsInferred); props.getDouble(Key.Z1P0).ifPresent(this::z1p0);