From 889d4dfe906ff2b2b070109f06388e695d07ca12 Mon Sep 17 00:00:00 2001
From: Peter Powers <pmpowers@usgs.gov>
Date: Mon, 2 Oct 2017 12:35:52 -0600
Subject: [PATCH] hawaii sites files

---
 etc/nshm/sites-hawaii.csv                     |  27 ++
 etc/nshm/sites-hawaii.geojson                 | 291 ++++++++++++++++++
 etc/nshm/sites-nshmp.csv                      |  26 ++
 etc/nshm/sites-nshmp.geojson                  | 286 +++++++++++++++++
 .../nshmp/internal/NshmpSiteFiles.java        |   1 +
 5 files changed, 631 insertions(+)
 create mode 100644 etc/nshm/sites-hawaii.csv
 create mode 100644 etc/nshm/sites-hawaii.geojson

diff --git a/etc/nshm/sites-hawaii.csv b/etc/nshm/sites-hawaii.csv
new file mode 100644
index 000000000..72161cbfb
--- /dev/null
+++ b/etc/nshm/sites-hawaii.csv
@@ -0,0 +1,27 @@
+name,                            lon,    lat
+Barbers Point HI,            -158.10,  21.30
+Barking Sands HI,            -159.75,  22.05
+Bradshaw Airfield HI,        -155.55,  19.75
+Diamond Head HI,             -157.80,  21.25
+Haleakala Crater HI,         -156.25,  20.70
+Hanapepe HI,                 -159.60,  21.90
+Hilo HI,                     -155.05,  19.70
+Honolulu HI,                 -157.85,  21.30
+Kaheawa Wind HI,             -156.55,  20.80
+Kahului HI,                  -156.50,  20.90
+Kailua Kona HI,              -156.00,  19.65
+Kaneohe HI,                  -157.80,  21.40
+Kaunakakai HI,               -157.00,  21.10
+Kilauea HI,                  -155.25,  19.40
+Laie HI,                     -157.95,  21.65
+Lanai City HI,               -156.95,  20.80
+Lihue HI,                    -159.35,  21.95
+Marine Corps Base HI,        -157.75,  21.45
+Mauna Kea HI,                -155.45,  19.80
+Ocean View HI,               -155.75,  19.10
+Pearl Harbor HI,             -157.95,  21.35
+Puuwai HI,                   -160.20,  21.90
+Wahiawa HI,                  -158.00,  21.50
+Waianae HI,                  -158.20,  21.45
+Waimea HI,                   -155.70,  20.00
+Waipahu HI,                  -158.00,  21.40
diff --git a/etc/nshm/sites-hawaii.geojson b/etc/nshm/sites-hawaii.geojson
new file mode 100644
index 000000000..9a4eba103
--- /dev/null
+++ b/etc/nshm/sites-hawaii.geojson
@@ -0,0 +1,291 @@
+{
+  "type": "FeatureCollection",
+  "features": [
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-158.1, 21.3]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Barbers Point HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-159.75, 22.05]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Barking Sands HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-155.55, 19.75]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Bradshaw Airfield HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-157.8, 21.25]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Diamond Head HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-156.25, 20.7]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Haleakala Crater HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-159.6, 21.9]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Hanapepe HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-155.05, 19.7]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Hilo HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-157.85, 21.3]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Honolulu HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-156.55, 20.8]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Kaheawa Wind HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-156.5, 20.9]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Kahului HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-156.0, 19.65]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Kailua Kona HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-157.8, 21.4]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Kaneohe HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-157.0, 21.1]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Kaunakakai HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-155.25, 19.4]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Kilauea HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-157.95, 21.65]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Laie HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-156.95, 20.8]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Lanai City HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-159.35, 21.95]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Lihue HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-157.75, 21.45]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Marine Corps Base HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-155.45, 19.8]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Mauna Kea HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-155.75, 19.1]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Ocean View HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-157.95, 21.35]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Pearl Harbor HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-160.2, 21.9]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Puuwai HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-158.0, 21.5]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Wahiawa HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-158.2, 21.45]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Waianae HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-155.7, 20.0]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Waimea HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-158.0, 21.4]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Waipahu HI"
+      }
+    }
+  ]
+}
diff --git a/etc/nshm/sites-nshmp.csv b/etc/nshm/sites-nshmp.csv
index 78fcb66d7..1cb6a25d0 100644
--- a/etc/nshm/sites-nshmp.csv
+++ b/etc/nshm/sites-nshmp.csv
@@ -85,6 +85,32 @@ Miami FL,                     -80.20,  25.75
 Atlanta GA,                   -84.40,  33.75
 Lincolnton GA,                -82.50,  33.80
 Savannah GA,                  -81.10,  32.10
+Barbers Point HI,            -158.10,  21.30
+Barking Sands HI,            -159.75,  22.05
+Bradshaw Airfield HI,        -155.55,  19.75
+Diamond Head HI,             -157.80,  21.25
+Haleakala Crater HI,         -156.25,  20.70
+Hanapepe HI,                 -159.60,  21.90
+Hilo HI,                     -155.05,  19.70
+Honolulu HI,                 -157.85,  21.30
+Kaheawa Wind HI,             -156.55,  20.80
+Kahului HI,                  -156.50,  20.90
+Kailua Kona HI,              -156.00,  19.65
+Kaneohe HI,                  -157.80,  21.40
+Kaunakakai HI,               -157.00,  21.10
+Kilauea HI,                  -155.25,  19.40
+Laie HI,                     -157.95,  21.65
+Lanai City HI,               -156.95,  20.80
+Lihue HI,                    -159.35,  21.95
+Marine Corps Base HI,        -157.75,  21.45
+Mauna Kea HI,                -155.45,  19.80
+Ocean View HI,               -155.75,  19.10
+Pearl Harbor HI,             -157.95,  21.35
+Puuwai HI,                   -160.20,  21.90
+Wahiawa HI,                  -158.00,  21.50
+Waianae HI,                  -158.20,  21.45
+Waimea HI,                   -155.70,  20.00
+Waipahu HI,                  -158.00,  21.40
 Des Moines IA,                -93.60,  41.60
 Boise ID,                    -116.20,  43.60
 Idaho National Lab ID,       -112.85,  43.60
diff --git a/etc/nshm/sites-nshmp.geojson b/etc/nshm/sites-nshmp.geojson
index 9a6865d0a..d93382893 100644
--- a/etc/nshm/sites-nshmp.geojson
+++ b/etc/nshm/sites-nshmp.geojson
@@ -947,6 +947,292 @@
         "title": "Savannah GA"
       }
     },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-158.1, 21.3]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Barbers Point HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-159.75, 22.05]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Barking Sands HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-155.55, 19.75]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Bradshaw Airfield HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-157.8, 21.25]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Diamond Head HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-156.25, 20.7]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Haleakala Crater HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-159.6, 21.9]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Hanapepe HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-155.05, 19.7]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Hilo HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-157.85, 21.3]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Honolulu HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-156.55, 20.8]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Kaheawa Wind HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-156.5, 20.9]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Kahului HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-156.0, 19.65]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Kailua Kona HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-157.8, 21.4]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Kaneohe HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-157.0, 21.1]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Kaunakakai HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-155.25, 19.4]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Kilauea HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-157.95, 21.65]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Laie HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-156.95, 20.8]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Lanai City HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-159.35, 21.95]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Lihue HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-157.75, 21.45]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Marine Corps Base HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-155.45, 19.8]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Mauna Kea HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-155.75, 19.1]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Ocean View HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-157.95, 21.35]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Pearl Harbor HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-160.2, 21.9]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Puuwai HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-158.0, 21.5]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Wahiawa HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-158.2, 21.45]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Waianae HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-155.7, 20.0]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Waimea HI"
+      }
+    },
+    {
+      "type": "Feature",
+      "geometry": {
+        "type": "Point",
+        "coordinates": [-158.0, 21.4]
+      },
+      "properties": {
+        "marker-size": "small",
+        "title": "Waipahu HI"
+      }
+    },
     {
       "type": "Feature",
       "geometry": {
diff --git a/src/gov/usgs/earthquake/nshmp/internal/NshmpSiteFiles.java b/src/gov/usgs/earthquake/nshmp/internal/NshmpSiteFiles.java
index f26707c04..a3dda5ea7 100644
--- a/src/gov/usgs/earthquake/nshmp/internal/NshmpSiteFiles.java
+++ b/src/gov/usgs/earthquake/nshmp/internal/NshmpSiteFiles.java
@@ -238,6 +238,7 @@ final class NshmpSiteFiles {
     writeNshmpSites("wus", NshmpSite.wus());
     writeNshmpSites("nrc", NshmpSite.nrc());
     writeNshmpSites("alaska", NshmpSite.alaska());
+    writeNshmpSites("hawaii", NshmpSite.hawaii());
     writeSites("nehrp", NshmpSite.nehrp(), DEC2_FMT);
   }
 
-- 
GitLab