{
  "type": "Collection",
  "stac_version": "1.1.0",
  "stac_extensions": [
    "https://stac-extensions.github.io/table/v1.2.0/schema.json",
    "https://stac-extensions.github.io/scientific/v1.0.0/schema.json"
  ],
  "id": "hawaii-coral-reefs",
  "title": "Coral Reefs from NOAA Nautical Charts (Main Hawaiian Islands)",
  "description": "Coral reefs in the marine waters around the main Hawaiian Islands (Kauaʻi, Oʻahu, Molokaʻi, Lānaʻi, Maui and Hawaiʻi), as drawn on NOAA nautical charts. The Hawaii Statewide GIS Program digitized every reef shown on the NOAA raster nautical charts of 2002, chart by chart, and merged them into one statewide layer, completed December 2002. The data holds 474 reef polygons covering about 33,355 acres. Converted to cloud-native formats (GeoParquet, PMTiles and H3 hex) with H3 indexing at resolution 10 (about 0.015 square kilometres per cell), with parents at resolutions 9, 8 and 0.\n\nThese are chart features, mapped for navigation: they show reefs a mariner needs to know about, at the scale of each chart, and are not a habitat or benthic survey. Live coral cover and condition are not recorded. The source carries this caution: the data are not to be used for navigation, and were not reviewed or authenticated by NOAA's Office of Coast Survey. Coverage is the main Hawaiian Islands only. The Northwestern Hawaiian Islands are not included. For a global coral reef layer, see the UNEP-WCMC Global Distribution of Coral Reefs collection.\n\nProvenance. Source: NOAA Raster Nautical Charts, 2002, digitized by the Hawaii Statewide GIS Program (Office of Planning and Sustainable Development, State of Hawaii), which maintains the layer as layer 7 of its CoastalMarine map service. In June 2024 the program removed fields left over from a 2016 database conversion. Upstream publishes no edition label. The layer was retrieved from the map service on 2026-10-14. The service response is kept unmodified at s3://public-hawaii/raw/coral-reefs-service-response.geojson, 2,527,148 bytes, sha256 d42b995ce1c37dab2a06f6a7e1cbec624132b9ad728bc737db96ae02823dca9c, together with the layer definition and the program's metadata document. One source field, id, was not carried over: it is 0 on every row.\n\nLicence: public domain. The State of Hawaii states that the contents are public domain and exempt from its Terms of Use restrictions, with no warranty of positional or thematic accuracy. Credit: NOAA Raster Nautical Charts, 2002; Hawaii Statewide GIS Program.",
  "license": "public-domain",
  "keywords": [
    "coral reefs",
    "reefs",
    "nautical charts",
    "NOAA",
    "marine",
    "coastal",
    "Hawaii",
    "main Hawaiian Islands",
    "United States"
  ],
  "providers": [
    {
      "name": "NOAA Office of Coast Survey (Raster Nautical Charts)",
      "roles": [
        "producer"
      ],
      "url": "https://nauticalcharts.noaa.gov/"
    },
    {
      "name": "Hawaii Statewide GIS Program, Office of Planning and Sustainable Development",
      "roles": [
        "processor",
        "licensor"
      ],
      "url": "https://planning.hawaii.gov/gis/"
    },
    {
      "name": "Boettiger Lab",
      "roles": [
        "processor",
        "host"
      ],
      "url": "https://github.com/boettiger-lab"
    }
  ],
  "sci:citation": "NOAA Raster Nautical Charts, 2002; Hawaii Statewide GIS Program, Office of Planning and Sustainable Development, State of Hawaii. Coral Reefs (Nautical Charts), CoastalMarine map service layer 7. Retrieved 2026-10-14 from https://geodata.hawaii.gov/arcgis/rest/services/CoastalMarine/MapServer/7",
  "created": "2026-10-14T02:38:33Z",
  "updated": "2026-10-14T02:40:03Z",
  "extent": {
    "spatial": {
      "bbox": [
        [
          -159.78876389,
          18.96662909,
          -155.01463308,
          22.23112327
        ]
      ]
    },
    "temporal": {
      "interval": [
        [
          "2002-01-01T00:00:00Z",
          "2002-12-31T00:00:00Z"
        ]
      ]
    }
  },
  "links": [
    {
      "rel": "self",
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/coral-reefs/stac-collection.json",
      "type": "application/json"
    },
    {
      "rel": "root",
      "href": "https://s3-west.nrp-nautilus.io/public-data/stac/catalog.json",
      "type": "application/json"
    },
    {
      "rel": "parent",
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/stac-collection.json",
      "type": "application/json"
    },
    {
      "rel": "describedby",
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/coral-reefs/README.md",
      "type": "text/markdown"
    },
    {
      "rel": "about",
      "href": "https://geoportal.hawaii.gov/datasets/9229d814438349948c99b5e61a084418_7/about",
      "type": "text/html",
      "title": "Coral Reefs (Hawaii Statewide GIS Program geoportal)"
    },
    {
      "rel": "describedby",
      "href": "https://files.hawaii.gov/dbedt/op/gis/data/coralreefs_nc.pdf",
      "type": "application/pdf",
      "title": "Hawaii Statewide GIS Program metadata: Coral Reefs (Nautical Charts)"
    },
    {
      "rel": "via",
      "href": "https://geodata.hawaii.gov/arcgis/rest/services/CoastalMarine/MapServer/7",
      "title": "CoastalMarine map service, layer 7"
    },
    {
      "rel": "license",
      "href": "https://portal.ehawaii.gov/page/terms-of-use/",
      "type": "text/html",
      "title": "State of Hawaii Terms of Use (contents public domain)"
    },
    {
      "rel": "pmtiles",
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/coral-reefs.pmtiles",
      "type": "application/vnd.pmtiles",
      "title": "PMTiles vector tiles for web map display",
      "pmtiles:layers": [
        "coral-reefs"
      ]
    },
    {
      "rel": "agents",
      "href": "./AGENTS.md",
      "type": "text/markdown",
      "title": "Agent guide"
    }
  ],
  "assets": {
    "coral-reefs-parquet": {
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/coral-reefs.parquet",
      "type": "application/vnd.apache.parquet",
      "title": "GeoParquet: all 474 coral reef polygons",
      "description": "One row per reef polygon, with its acreage, source chart and chart annotation.",
      "roles": [
        "data"
      ],
      "created": "2026-10-14T02:38:33Z",
      "table:columns": [
        {
          "name": "_cng_fid",
          "type": "int64"
        },
        {
          "name": "OGC_FID",
          "type": "int64"
        },
        {
          "name": "objectid",
          "type": "int32"
        },
        {
          "name": "acres",
          "type": "double"
        },
        {
          "name": "chart1",
          "type": "string"
        },
        {
          "name": "chart2",
          "type": "string"
        },
        {
          "name": "notes",
          "type": "string"
        },
        {
          "name": "sourcethm",
          "type": "string"
        },
        {
          "name": "geom",
          "type": "geometry"
        }
      ]
    },
    "coral-reefs-pmtiles": {
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/coral-reefs.pmtiles",
      "type": "application/vnd.pmtiles",
      "title": "PMTiles vector tiles for web map display",
      "description": "Vector tiles for MapLibre GL JS. The source layer is coral-reefs.",
      "roles": [
        "visual"
      ],
      "created": "2026-10-14T02:38:59Z",
      "vector:layers": [
        "coral-reefs"
      ],
      "table:columns": [
        {
          "name": "_cng_fid",
          "type": "int64"
        },
        {
          "name": "OGC_FID",
          "type": "int64"
        },
        {
          "name": "objectid",
          "type": "int32"
        },
        {
          "name": "acres",
          "type": "double"
        },
        {
          "name": "chart1",
          "type": "string"
        },
        {
          "name": "chart2",
          "type": "string"
        },
        {
          "name": "notes",
          "type": "string"
        },
        {
          "name": "sourcethm",
          "type": "string"
        }
      ]
    },
    "coral-reefs-hex": {
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/coral-reefs/hex/h0=*/data_0.parquet",
      "type": "application/vnd.apache.parquet",
      "title": "H3 hexagonal index (native resolution 10) of the coral reefs",
      "description": "One row per reef polygon and H3 cell pair at native resolution 10 (about 0.015 square kilometres per cell), with parents h9 and h8 and h0 as the hive partition key. 8,028 rows covering all 474 polygons. The attributes of each polygon, including acres, are repeated on every hex cell the polygon covers, so acres must be deduplicated by _cng_fid before it is summed:\n\n```sql\n-- correct: one acreage value per reef polygon\nSELECT sourcethm, SUM(acres) FROM (\n  SELECT DISTINCT _cng_fid, sourcethm, acres\n  FROM read_parquet('s3://public-hawaii/coral-reefs/hex/h0=*/data_0.parquet'))\nGROUP BY sourcethm\n-- wrong: SUM(acres) over hex rows multiplies each polygon by its cell count\n```\n\nReef counts behave the same way: use COUNT(DISTINCT _cng_fid), not COUNT(*). For the area of a footprint measured from the cells themselves, see the H3 guide. h10, h9 and h8 have no null values.",
      "roles": [
        "data"
      ],
      "created": "2026-10-14T02:40:03Z",
      "h3:native_resolution": 10,
      "h3:parent_resolutions": [
        9,
        8,
        0
      ],
      "table:columns": [
        {
          "name": "_cng_fid",
          "type": "int64"
        },
        {
          "name": "OGC_FID",
          "type": "int64"
        },
        {
          "name": "objectid",
          "type": "int32"
        },
        {
          "name": "acres",
          "type": "double"
        },
        {
          "name": "chart1",
          "type": "string"
        },
        {
          "name": "chart2",
          "type": "string"
        },
        {
          "name": "notes",
          "type": "string"
        },
        {
          "name": "sourcethm",
          "type": "string"
        },
        {
          "name": "h10",
          "type": "uint64"
        },
        {
          "name": "h9",
          "type": "uint64"
        },
        {
          "name": "h8",
          "type": "uint64"
        },
        {
          "name": "h0",
          "type": "int64"
        }
      ]
    },
    "style-coral-reefs": {
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/coral-reefs/styles/coral-reefs.json",
      "type": "application/vnd.mapbox.style+json",
      "title": "PMTiles vector tiles for web map display",
      "description": "Each polygon is a reef drawn on a nautical chart; the chart annotation is blank on 457 of 474 reefs, so there is no variable to colour by.",
      "roles": [
        "style",
        "default"
      ]
    },
    "thumbnail": {
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/coral-reefs/thumbnail.png",
      "type": "image/png",
      "roles": [
        "thumbnail"
      ],
      "title": "Thumbnail",
      "description": "Preview drawn from the collection's default style style-coral-reefs."
    }
  },
  "table:columns": [
    {
      "name": "_cng_fid",
      "type": "int64",
      "description": "Unique row identifier assigned at conversion, one per reef polygon. Use COUNT(DISTINCT _cng_fid) to count reefs."
    },
    {
      "name": "OGC_FID",
      "type": "int64",
      "description": "Row number assigned by GDAL when the source was read. Carries no meaning of its own."
    },
    {
      "name": "objectid",
      "type": "int32",
      "description": "Feature identifier in the Hawaii Statewide GIS Program service, unique per reef polygon."
    },
    {
      "name": "acres",
      "type": "double",
      "description": "Area of the reef polygon in acres, as recorded by the source. Ranges from 0 to 3,190 acres and sums to about 33,355 acres over all 474 polygons. One polygon records 0 acres."
    },
    {
      "name": "chart1",
      "type": "string",
      "description": "NOAA nautical chart the reef was digitized from, coded as chart number and panel: 19351_1 = NOAA chart 19351, panel 1.",
      "values": [
        "19320_1",
        "19322_3",
        "19324_1",
        "19327_1",
        "19327_3",
        "19329_1",
        "19331_1",
        "19332_1",
        "19340_1",
        "19341_1",
        "19342_1",
        "19342_2",
        "19347_1",
        "19347_2",
        "19350_1",
        "19351_1",
        "19351_2",
        "19353_1",
        "19357_1",
        "19358_1",
        "19361_1",
        "19364_1",
        "19369_1",
        "19380_1",
        "19381_1",
        "19382_1",
        "19383_1",
        "19385_1",
        "19386_1"
      ]
    },
    {
      "name": "chart2",
      "type": "string",
      "description": "Second NOAA chart the reef was digitized from, for reefs that span two charts, coded as chart number and panel: 19358_1 = NOAA chart 19358, panel 1. Empty string = no second chart (419 of the 474 polygons).",
      "values": [
        "",
        "19327_3",
        "19331_1",
        "19332_1",
        "19342_1",
        "19347_1",
        "19350_1",
        "19351_1",
        "19351_2",
        "19357_1",
        "19358_1",
        "19361_1",
        "19364_1",
        "19369_1",
        "19380_1",
        "19385_1",
        "19386_1"
      ]
    },
    {
      "name": "notes",
      "type": "string",
      "description": "Chart annotation for the reef, as printed on the nautical chart. Empty string = no annotation (457 polygons). Values: '', 'Bare at Low Water', 'Coral Reef  Extremely Shoal', 'Coral Reef Awash', 'Coral Reef Breakers', 'Coral Reef Extremely Shoal', 'Foul with Rocks and Coral Heads', 'Foul with Submerged Coral', 'Rocks and Submerged Coral', 'Submerged Coral', 'Submerged Reef'. Two spellings of Coral Reef Extremely Shoal occur, one with a double space, as in the source.",
      "values": [
        "",
        "Bare at Low Water",
        "Coral Reef  Extremely Shoal",
        "Coral Reef Awash",
        "Coral Reef Breakers",
        "Coral Reef Extremely Shoal",
        "Foul with Rocks and Coral Heads",
        "Foul with Submerged Coral",
        "Rocks and Submerged Coral",
        "Submerged Coral",
        "Submerged Reef"
      ]
    },
    {
      "name": "sourcethm",
      "type": "string",
      "description": "Island-level shapefile the reef came from before the statewide merge. Values: Coral reefs_hawa=Hawaiʻi, Coral reefs_kaua=Kauaʻi, Coral reefs_lana=Lānaʻi, Coral reefs_maui=Maui, Coral reefs_molo=Molokaʻi, Coral reefs_oahu=Oʻahu",
      "values": [
        "Coral reefs_hawa",
        "Coral reefs_kaua",
        "Coral reefs_lana",
        "Coral reefs_maui",
        "Coral reefs_molo",
        "Coral reefs_oahu"
      ]
    },
    {
      "name": "geom",
      "type": "geometry",
      "description": "Reef polygon boundary, EPSG:4326."
    },
    {
      "name": "h10",
      "type": "uint64",
      "description": "H3 cell ID at resolution 10, the native resolution of this hex asset."
    },
    {
      "name": "h9",
      "type": "uint64",
      "description": "H3 cell ID at resolution 9."
    },
    {
      "name": "h8",
      "type": "uint64",
      "description": "H3 cell ID at resolution 8, the catalog's universal join key."
    },
    {
      "name": "h0",
      "type": "int64",
      "description": "H3 cell ID at resolution 0, used as the partition key for hive-partitioned reads."
    }
  ]
}
