From 5b3e58458d9c081d7eb83cc3238413451858fafd Mon Sep 17 00:00:00 2001
From: Peter Powers <pmpowers@usgs.gov>
Date: Mon, 28 Feb 2022 07:59:57 -0700
Subject: [PATCH] broke up basin geojson

---
 site-data/basin/basins.geojson        | 121 --------------------------
 site-data/basin/bay-area.geojson      |  35 ++++++++
 site-data/basin/los-angeles.geojson   |  26 ++++++
 site-data/basin/puget-lowland.geojson |  33 +++++++
 site-data/basin/wasatch-front.geojson |  22 +++++
 site-data/margin/gulf-coast.csv       |   2 +-
 site-data/margin/gulf-coast.geojson   |   5 +-
 7 files changed, 120 insertions(+), 124 deletions(-)
 delete mode 100644 site-data/basin/basins.geojson
 create mode 100644 site-data/basin/bay-area.geojson
 create mode 100644 site-data/basin/los-angeles.geojson
 create mode 100644 site-data/basin/puget-lowland.geojson
 create mode 100644 site-data/basin/wasatch-front.geojson

diff --git a/site-data/basin/basins.geojson b/site-data/basin/basins.geojson
deleted file mode 100644
index a1c65c5..0000000
--- a/site-data/basin/basins.geojson
+++ /dev/null
@@ -1,121 +0,0 @@
-{
-  "type": "FeatureCollection",
-  "features": [
-    {
-      "type": "Feature",
-      "geometry": {
-        "type": "Polygon",
-        "coordinates": [[
-          [-119.66000, 34.28000],
-          [-119.97172, 34.43575],
-          [-119.76298, 34.51493],
-          [-119.39952, 34.70065],
-          [-119.19960, 34.79709],
-          [-118.64526, 34.70718],
-          [-117.98979, 34.45032],
-          [-117.74823, 34.11186],
-          [-117.49204, 33.91388],
-          [-117.39105, 33.26888],
-          [-118.17976, 33.49368],
-          [-119.66000, 34.28000]
-        ]]
-      },
-      "properties": {
-        "name": "Los Angeles Basin",
-        "id": "los-angeles",
-        "model": "cvms426m01",
-        "spacing": 0.01
-      }
-    },
-    {
-      "type": "Feature",
-      "geometry": {
-        "type": "Polygon",
-        "coordinates": [[
-          [-122.39297, 38.65911],
-          [-122.81110, 38.76355],
-          [-123.02000, 38.53000],
-          [-122.81000, 38.16000],
-          [-122.56000, 37.85000],
-          [-122.39000, 37.65000],
-          [-122.23715, 37.40869],
-          [-122.03196, 37.22989],
-          [-121.76000, 37.12000],
-          [-121.48242, 36.98324],
-          [-121.39167, 37.09146],
-          [-121.62174, 37.57534],
-          [-121.62937, 37.70359],
-          [-121.68977, 37.77571],
-          [-121.74419, 37.80390],
-          [-121.75000, 37.81000],
-          [-121.98000, 37.96000],
-          [-122.02880, 37.96976],
-          [-122.15871, 38.10929],
-          [-122.22391, 38.38692],
-          [-122.39297, 38.65911]
-        ]]
-      },
-      "properties": {
-        "name": "Bay Area",
-        "id": "bay-area",
-        "model": "bayarea",
-        "spacing": 0.01
-      }
-    },
-    {
-      "type": "Feature",
-      "geometry": {
-        "type": "Polygon",
-        "coordinates": [[
-          [ -112.15, 42.00 ],
-          [ -112.40, 42.00 ],
-          [ -112.60, 41.50 ],
-          [ -111.80, 39.95 ],
-          [ -111.60, 39.95 ],
-          [ -111.50, 40.00 ],
-          [ -111.50, 40.20 ],
-          [ -112.15, 42.00 ]
-        ]]
-      },
-      "properties": {
-        "name": "Wasatch Front",
-        "id": "wasatch-front",
-        "model": "Wasatch",
-        "spacing": 0.01
-      }
-    },
-    {
-      "type": "Feature",
-      "geometry": {
-        "type": "Polygon",
-        "coordinates": [[
-          [ -123.50, 48.20 ],
-          [ -123.50, 48.00 ],
-          [ -123.30, 47.95 ],
-          [ -123.05, 47.95 ],
-          [ -122.95, 47.85 ],
-          [ -122.95, 47.70 ],
-          [ -123.25, 47.40 ],
-          [ -123.25, 47.20 ],
-          [ -122.90, 46.95 ],
-          [ -122.60, 46.95 ],
-          [ -122.40, 47.05 ],
-          [ -122.30, 47.05 ],
-          [ -122.20, 47.00 ],
-          [ -121.90, 47.00 ],
-          [ -121.75, 47.20 ],
-          [ -121.75, 47.40 ],
-          [ -122.05, 48.20 ],
-          [ -122.60, 48.40 ],
-          [ -123.50, 48.20 ]
-        ]]
-      },
-      "properties": {
-        "name": "Puget Lowland",
-        "id": "puget-lowland",
-        "model": "Seattle",
-        "spacing": 0.01
-      }
-    }
-  ]
-}
diff --git a/site-data/basin/bay-area.geojson b/site-data/basin/bay-area.geojson
new file mode 100644
index 0000000..a18f13d
--- /dev/null
+++ b/site-data/basin/bay-area.geojson
@@ -0,0 +1,35 @@
+{
+  "type": "Feature",
+  "geometry": {
+    "type": "Polygon",
+    "coordinates": [[
+      [-122.39297, 38.65911],
+      [-122.81110, 38.76355],
+      [-123.02000, 38.53000],
+      [-122.81000, 38.16000],
+      [-122.56000, 37.85000],
+      [-122.39000, 37.65000],
+      [-122.23715, 37.40869],
+      [-122.03196, 37.22989],
+      [-121.76000, 37.12000],
+      [-121.48242, 36.98324],
+      [-121.39167, 37.09146],
+      [-121.62174, 37.57534],
+      [-121.62937, 37.70359],
+      [-121.68977, 37.77571],
+      [-121.74419, 37.80390],
+      [-121.75000, 37.81000],
+      [-121.98000, 37.96000],
+      [-122.02880, 37.96976],
+      [-122.15871, 38.10929],
+      [-122.22391, 38.38692],
+      [-122.39297, 38.65911]
+    ]]
+  },
+  "properties": {
+    "name": "San Francisco Bay Area",
+    "id": "bay-area",
+    "model": "bayarea",
+    "spacing": 0.01
+  }
+}
diff --git a/site-data/basin/los-angeles.geojson b/site-data/basin/los-angeles.geojson
new file mode 100644
index 0000000..fbbb71a
--- /dev/null
+++ b/site-data/basin/los-angeles.geojson
@@ -0,0 +1,26 @@
+{
+  "type": "Feature",
+  "geometry": {
+    "type": "Polygon",
+    "coordinates": [[
+      [-119.66000, 34.28000],
+      [-119.97172, 34.43575],
+      [-119.76298, 34.51493],
+      [-119.39952, 34.70065],
+      [-119.19960, 34.79709],
+      [-118.64526, 34.70718],
+      [-117.98979, 34.45032],
+      [-117.74823, 34.11186],
+      [-117.49204, 33.91388],
+      [-117.39105, 33.26888],
+      [-118.17976, 33.49368],
+      [-119.66000, 34.28000]
+    ]]
+  },
+  "properties": {
+    "name": "Los Angeles",
+    "id": "los-angeles",
+    "model": "cvms426m01",
+    "spacing": 0.01
+  }
+}
diff --git a/site-data/basin/puget-lowland.geojson b/site-data/basin/puget-lowland.geojson
new file mode 100644
index 0000000..51da7f8
--- /dev/null
+++ b/site-data/basin/puget-lowland.geojson
@@ -0,0 +1,33 @@
+{
+  "type": "Feature",
+  "geometry": {
+    "type": "Polygon",
+    "coordinates": [[
+      [ -123.50, 48.20 ],
+      [ -123.50, 48.00 ],
+      [ -123.30, 47.95 ],
+      [ -123.05, 47.95 ],
+      [ -122.95, 47.85 ],
+      [ -122.95, 47.70 ],
+      [ -123.25, 47.40 ],
+      [ -123.25, 47.20 ],
+      [ -122.90, 46.95 ],
+      [ -122.60, 46.95 ],
+      [ -122.40, 47.05 ],
+      [ -122.30, 47.05 ],
+      [ -122.20, 47.00 ],
+      [ -121.90, 47.00 ],
+      [ -121.75, 47.20 ],
+      [ -121.75, 47.40 ],
+      [ -122.05, 48.20 ],
+      [ -122.60, 48.40 ],
+      [ -123.50, 48.20 ]
+    ]]
+  },
+  "properties": {
+    "name": "Puget Lowland",
+    "id": "puget-lowland",
+    "model": "Seattle",
+    "spacing": 0.01
+  }
+}
diff --git a/site-data/basin/wasatch-front.geojson b/site-data/basin/wasatch-front.geojson
new file mode 100644
index 0000000..ec82b64
--- /dev/null
+++ b/site-data/basin/wasatch-front.geojson
@@ -0,0 +1,22 @@
+{
+  "type": "Feature",
+  "geometry": {
+    "type": "Polygon",
+    "coordinates": [[
+      [ -112.15, 42.00 ],
+      [ -112.40, 42.00 ],
+      [ -112.60, 41.50 ],
+      [ -111.80, 39.95 ],
+      [ -111.60, 39.95 ],
+      [ -111.50, 40.00 ],
+      [ -111.50, 40.20 ],
+      [ -112.15, 42.00 ]
+    ]]
+  },
+  "properties": {
+    "name": "Wasatch Front",
+    "id": "wasatch-front",
+    "model": "Wasatch",
+    "spacing": 0.01
+  }
+}
diff --git a/site-data/margin/gulf-coast.csv b/site-data/margin/gulf-coast.csv
index 79edc9b..dcafaee 100644
--- a/site-data/margin/gulf-coast.csv
+++ b/site-data/margin/gulf-coast.csv
@@ -1,6 +1,6 @@
 # Gulf coast sediment depth
 # UNITS: meters
-longitude,latitude,depth
+lon,lat,zsed
 -100.65,31.70,37.1
 -100.65,31.75,18.5
 -100.65,31.80,36.5
diff --git a/site-data/margin/gulf-coast.geojson b/site-data/margin/gulf-coast.geojson
index 1645e08..d24d983 100644
--- a/site-data/margin/gulf-coast.geojson
+++ b/site-data/margin/gulf-coast.geojson
@@ -24,8 +24,9 @@
     ]]
   },
   "properties": {
-    "title": "Gulf Coast Sediment Depth",
+    "name": "Gulf Coast Sediment Depth",
     "id": "gulf-coast",
-    "defaultModel": "CPADepthNSHM"
+    "model": "CPADepthNSHM",
+    "spacing": 0.05
   }
 }
-- 
GitLab