{
  "$comment": "ODbL §4.6(b) derivation method for CHRTland. Generated from the builder by tools/chrtland-build/methodology.mjs — do not hand-edit; run the generator.",
  "product": "CHRTland",
  "licence": {
    "source_licence": "Open Database License (ODbL) v1.0",
    "source_attribution": "© OpenStreetMap contributors",
    "what_this_page_is": "ODbL §4.6 requires anyone publicly using a Produced Work made from a Derivative Database to offer either the database itself, or the alterations made to it, or the method of making them. CHRT discharges that by §4.6(b): this is the method, published publicly, without authentication and free of charge.",
    "why_method_not_dump": "A clipped extract is many gigabytes, costs egress, and is stale on every rebuild, while §4.6(b) treats the method as equivalent. A build artifact can be supplied on request; there is no duty to host a standing dump.",
    "tiles_are_a_produced_work": "Rendered tiles are a Produced Work, not a Derivative Database, so CHRT's tiles are not themselves ODbL-licensed. The share-alike reach binds the OSM-derived database only, and never CHRT's chart data.",
    "no_authentication": "This page and the repository it points at are public and unauthenticated. ODbL §4.7(a) and §4.8 forbid restricting the licensed rights, and §4.7(b) permits restricted access only alongside an equally accessible free copy — so an API-key route would be additive, never a substitute."
  },
  "source": {
    "dataset": "Protomaps basemap (OpenStreetMap-derived)",
    "planet_archive": "https://build.protomaps.com/20260814.pmtiles",
    "planet_build_date": "2026-08-14",
    "note": "Pinned to a dated planet build so any rebuild is reproducible. The per-region extract records the archive's own attribution string and OSM replication timestamp into provenance.json at build time; the builder refuses to run if the archive carries no attribution.",
    "extraction": "pmtiles extract, per region bounding box, to maxzoom 14 — a few megabytes out of the planet, so no planet copy is hosted or processed."
  },
  "layers": {
    "read": [
      {
        "layer": "earth",
        "read": true,
        "use": "The land polygon. Inside chart coverage it is read for MEASUREMENT ONLY: the build reports how far it disagrees with the ENC's charted land, and stops there — the chart's shoreline has priority, and an intersection would give OSM a veto over charted land (removed 2026-08-17). OUTSIDE every chart's coverage it is the land itself, from 2026-11-21: where no chart covers the ground (a land-only harbour-grid square NOAA never issued), CHRTland paints OSM land with every OSM water polygon cut out, and only inside the US (TIGER/Line state polygons with their state waters, plus the Minor Outlying Islands, plus water within 30 km of them that lies more than 30 km from any foreign country, for US rocks past the state-water line; it stops at the border), so land cover, relief and contours continue where there is land. No OSM shoreline is drawn, and none of it can reach ground any chart covers."
      },
      {
        "layer": "landuse",
        "read": true,
        "use": "Land cover, reduced to four classes (below)."
      },
      {
        "layer": "roads",
        "read": true,
        "use": "Two road classes (below)."
      },
      {
        "layer": "water",
        "read": true,
        "use": "Inland water — lakes, ponds and rivers — for `land_water`, and ONLY on ground the chart itself depicts as land. Read from 2026-09-06.\n\nThis layer was deliberately unread until then, on the reasoning that never opening it made \"the ENC owns all water\" structural rather than careful. That reasoning was sound and its cost was finally measured: a chart shows the water it has SURVEYED FOR NAVIGATION, so an inland pond is absent from the ENC and — because CHRT_BASE clips its own inland water to the region outside bands-4-6 coverage — was absent from CHRT entirely. Charted land was drawn with no lakes in it at all. The Blue Hills box holds four LNDARE polygons and zero LAKARE.\n\nThe guarantee is carried by geometry instead of by abstinence, and it is stronger than the old one because it is checked: every polygon is clipped to the CHRTland footprint, which is `LNDARE ∩ coverage` already holed by the chart's own LAKARE/RIVERS/CANALS/LOKBSN — so this can neither paint the sea nor cross the coverage boundary. `ocean` is not an admitted kind. And any polygon that mostly coincides with water the chart already charts is dropped WHOLE rather than drawn beside it, so the hydrographic office keeps sole authorship of every water it depicts, and no second offset shoreline is ever drawn against one of its own. From 2026-11-22 the part of such a polygon the chart does not chart is kept when it is a body of its own: more than 30 m from the chart's water, at least 30 m wide, and at least 2,000 m² judged whole. It is then drawn up to the chart's shoreline. A thin offset ring never qualifies. Gated by `water.test.mjs` and `water-remainder.test.mjs`.\n\nFrom 2026-11-21 every water POLYGON in the frame, of every kind, ocean included, is also cut out of the OSM land CHRTland paints outside chart coverage, so that land can never be painted over water OSM maps."
      },
      {
        "layer": "pois",
        "read": true,
        "use": "Two kinds only, by explicit filter: `peak` (named summits with their elevation) and `marina` (CHRTpoi). No other kind is read, and the build asserts it. Everything else in this layer — including upstream marine features such as 'Lightship Nantucket (LV-112)' in the Boston extract — is discarded."
      },
      {
        "layer": "places",
        "read": true,
        "use": "Settlement ranking. `population_rank` is taken from here because the ENC cannot rank a settlement — Boston is CATBUA 1, the same class as a hamlet — so a chart alone cannot tell a city from a suburb. The NAME may still come from the ENC; what this layer supplies is prominence."
      }
    ],
    "not_read": [
      {
        "layer": "landcover",
        "read": false,
        "why": "Published at z0–7 only; CHRTland tiles z8–14, so it contributes nothing. Measured: 3 features at z6, 2 at z7, 0 at z8."
      },
      {
        "layer": "buildings",
        "read": false,
        "why": "Building footprints are municipal detail no chart carries."
      },
      {
        "layer": "boundaries",
        "read": false,
        "why": "Administrative boundaries are not land cover."
      }
    ],
    "correction_2026_08_16": "This page previously declared THREE layers read and listed `places` and `pois` as not read. Both were wrong: `places` has always supplied settlement ranking, and `pois` now supplies named peaks and marinas. Under-declaring which OSM layers a Derivative Database draws from is precisely what a §4.6(b) method statement must not do, so it is corrected here and the layer list is now generated from the builder rather than hand-listed.",
    "marine_features_note": "This layer also carries upstream marine features — the Boston extract contains 'Lightship Nantucket (LV-112)'. Only the two kinds above are read; no third-party buoy, light, depth or other navigational feature is admitted. Marinas are the one deliberate exception to CHRT's chart data being hydrographic-office data, taken because NOAA does not populate the names (measured over Bar Harbor: HRBFAC 5 features with 0 OBJNAMs, MORFAC 4 with 1). They are clipped or nudged to land, carried under their own kind, and never presented as chart data.",
    "seamark_note": "The Protomaps basemap schema carries only rendering attributes (kind, kind_detail, name, min_zoom, sort_rank); raw OSM tags such as seamark:* do not survive planetiler's schema mapping, so there is no seamark tag present to filter. Verified across all nine layers of a Boston-frame extract of the pinned planet, 2026-08-16, and again per feature on 2026-08-17: every marina in the Bar Harbor extract carries exactly four properties — mvt_id, kind, min_zoom, name — and nothing else. Upstream marine features do appear in the pois layer, which CHRTland reads for two kinds only; see the layer entry above.",
    "seamark_note_correction_2026_08_17": "This note used to end 'the pois layer, which CHRTland never reads'. That was true when it was written and has been contradicted by the layer table on this same page since the day peaks and marinas were admitted. The protection is the kind filter, asserted at build time — not an unopened layer. Recorded rather than quietly edited, because a compliance page that contradicts itself is worse than one admitting a narrower guarantee."
  },
  "filters": {
    "landuse": {
      "kept_classes": {
        "wood": [
          "wood",
          "forest",
          "scrub",
          "park",
          "nature_reserve"
        ],
        "wetland": [
          "wetland"
        ],
        "urban": [
          "residential",
          "commercial",
          "industrial"
        ],
        "sand": [
          "beach",
          "sand"
        ]
      },
      "kept_kind_count": 11,
      "dropped": {
        "grass, park, garden, village_green, recreation_ground, dog_park, playground, pitch": "Urban parcels. Tinting them green paints a city as woodland — false, not merely unhelpful.",
        "nature_reserve": "A designation, not a surface. A reserve boundary covers wood, rock and village alike, and would double-tint the wood already drawn beneath it.",
        "pier": "A structure over water, not land cover.",
        "farmland, meadow, grassland, allotments": "Cleared land. The engraved convention shows wooded against cleared, and cleared is the untinted ground.",
        "school, university, college, kindergarten, hospital, cemetery, military, aerodrome, railway, platform, pedestrian, golf_course, zoo, dam, other, bare_rock": "Municipal and institutional detail no nautical chart has carried."
      },
      "geometry": "Polygons only. Stray points and linestrings from tile-edge clipping are discarded.",
      "size_gate": "Each polygon carries the lowest zoom at which it covers 16 screen pixels, and is not drawn below it — so sub-pixel parcels are never rendered as texture the chart does not have."
    },
    "roads": {
      "kept_kinds": [
        "highway",
        "major_road"
      ],
      "dropped": "Every other road class, including residential streets, service roads, tracks and paths.",
      "rationale": "A full road network turns a chart into a road atlas. What is kept is what a mariner can see from seaward and orient by."
    },
    "earth": {
      "kept": "Only the land outside every chart's coverage (CATCOV=1 M_COVR at any band, from any source) and inside the US (TIGER/Line states with their state waters ∪ the Minor Outlying Islands ∪ water within 30 km of them that lies more than 30 km from any foreign country — it stops at the border), with every OSM water polygon and every charted water body cut out. Inside coverage nothing: it is read there to measure the disagreement with the ENC's charted land and reported in the build log."
    }
  },
  "clip": {
    "footprint": "⋃_b [ (LNDARE_b ∪ SLCONS_b where WATLEV=2) \\ ( ⋃_{b' > b} (DEPARE ∪ DRGARE ∪ UNSARE)_b' ∪ ( ⋃_{b' ≥ b} (LAKARE ∪ RIVERS ∪ CANALS ∪ LOKBSN)_b' \\ ISLE_b ) ) ], with USACE Inland ENC's DEPARE ∪ DRGARE ∪ UNSARE as band 7; ∪ ( ( OSM earth ∩ JURISDICTION ) \\ ( COVERAGE ∪ OSM water ∪ charted water ) ) on the national grid windows, where COVERAGE is every CATCOV=1 M_COVR at any band; and on those windows the whole footprint, charted land included, ∩ ( US (US Census TIGER/Line state polygons ∪ NE's UM unit ∪ the water within 30 km of them that is more than 30 km from any foreign country in Natural Earth) ∪ the window's band ≥ 3 CATCOV=1 M_COVR )",
    "meaning": "Inside chart coverage, the ENC's own charted land, at best scale: for any ground, the finest usage band that charts skin there decides, so the land base cannot paint land over water a better-scaled chart charts as water, or over an inland water body the same chart draws inside the land. Outside every chart's coverage, OSM's land with OSM's water cut out (from 2026-11-21): land is not chart data, and the safety claim lives on the water, which stays hatched as uncharted. On the national windows CHRTland covers the US and, inside coastal-or-finer chart coverage (usage bands 3 to 6), the charted land of any country: foreign land such a chart depicts gets CHRTland's detail on the chart's own land (from 2026-11-27). Foreign land outside that coverage, or charted only at overview or general scale, gets none. Every layer above, `land_base` included, is clipped to this before tiling (the earlier separate tan fill on foreign land is retired).",
    "inland_water": "Sea water clips STRICTLY FINER bands; inland water clips its OWN band too, and the two band rules must never be merged. A lake is water inside the land AT ITS OWN SCALE — one surveyor, one cell, one band, a coastline drawn round the outside and a pond within it — so a strictly-finer rule finds nothing to subtract wherever the lake is charted at the finest band, which is where lakes are. Rendered at Boston Harbor z12.5 and masked to CHRTland's own land_base, the sea-only clip left 6,210 of 281,848 charted-land pixels (2.20%) painted blue, every patch LAKARE at band 5. Coarser inland water still subtracts nothing: nationally it lies over 1,393 island-sized LNDARE polygons, so an all-bands rule would delete 1,393 islands. ISLE_b is the band-b skin lying ENTIRELY inside band-b inland water — an island in a lake whose LAKARE was never given an interior ring for it, 35 of them nationally — and it is cut back out of the subtrahend before the difference. SWPARE is deliberately NOT an inland class: a swept area is seabed certified clear to a depth, not a water body, and admitting it would give a sea feature the same-band veto the sea rule exists to refuse.",
    "best_scale": "Only a finer band's WATER FEATURES may take ground away, never a finer band's COVERAGE (M_COVR). A DEPARE polygon is a positive assertion that this ground is water; an M_COVR polygon is not an assertion about the ground at all — a harbour cell's coverage spans inland ground it never charts. Clipping by coverage removed 18.3% of Boston's charted land (23.220 km²: Winthrop, East Boston, Hull, Charlestown, Quincy) and is never done. Always-dry shoreline construction (SLCONS, WATLEV=2 — 400 of 6,609 national polygon features, 1.19 km²) is land, because piers and wharves are frequently charted that way.",
    "usace_water": "The land is NOAA's charted land, but USACE Inland ENC water also takes ground away from it. Its DEPARE, DRGARE and UNSARE inside each region count as band 7, finer than every NOAA band, because the finest official chart decides whether a place is water. NOAA's coarse cells chart parts of the navigable inland system as land; 94% of the Lower Mississippi's USACE depth area at Baton Rouge lay under CHRTland before this rule. Only those three classes are read: they partition a USACE cell's ground, so they can never sit on USACE's own land. USACE's land, its coverage and its inland water classes are not read.",
    "source": "Inside coverage, derived from the ENC alone. Protomaps `earth` is not intersected in: the chart's shoreline has priority, and an intersection is the one operator that cannot express a priority — it lets the lower authority delete from the higher one. Measured at Bar Harbor before the change: charted land 186.41 km², footprint 185.59 km², so OSM was removing 0.82 km² of land the ENC charts.",
    "treatment": "Hard clip, no buffer. A COALNE-derived coastal buffer was built and measured at 2/5/10 km and rejected: it cannot remove the straight inland cell edge it was designed for, and costs +31% outline complexity for an artifact it never removes.",
    "projection": "Computed in the region's UTM zone, then exported as WGS84.",
    "measured": "On the Mount Desert test box: coverage union 8,076 km², LNDARE 3,539 km², and LNDARE ∩ coverage 3,539 km² — 100%. All charted land already lies inside band-3+ coverage, so the clip needs no invented buffer. The best-scale clip removes 52,362 km² nationally (2.04% of the 2,562,301 km² of LNDARE in the 962 one-degree cells that hold both charted land and charted water), concentrated in deltas, marsh and navigable rivers a coarse band charts as land and a finer one charts as water."
  },
  "output": {
    "archive": "PMTiles, one per region, served from R2",
    "source_layers": [
      "land_base",
      "land_cover",
      "land_contour",
      "land_road",
      "land_town",
      "land_summit",
      "land_poi",
      "land_edge",
      "land_water",
      "land_shore"
    ],
    "namespacing": "Every layer is namespaced land_*, never an S-57 class name, and the build fails if any S-57 class or ENC-derived layer reaches the archive. `land_poi` is additionally checked per feature: a CHRTpoi kind may never be an S-57 class name either, so a marina can never be read as a charted mooring or harbour facility.",
    "edge_note": "`land_edge` is declared and ships empty from 2026-11-21. It carried the coverage boundary for a soft fade; with land painted on both sides of that boundary, every CHRTland edge is now the hard end of its fill.",
    "water_note": "`land_water` carries inland water — lakes, ponds and rivers — taken from the OSM `water` layer, for the ground the chart depicts as land. It exists because a chart shows only the water it has surveyed for navigation, so an inland pond inside charted land was drawn by nothing. It is OSM's assertion and is drawn in the same rough-water colour the uncharted side of the coverage boundary uses — deliberately never a charted blue. Any polygon that mostly coincides with water the chart itself charts is dropped whole rather than drawn beside it, so the hydrographic office keeps sole authorship of every water it depicts. Only the part the chart does not chart, where it is a body of its own (more than 30 m from the chart's water, at least 30 m wide and 2,000 m² judged whole), is kept.",
    "shore_note": "`land_shore` is the shoreline of `land_water`: OSM's own water boundary where that water is drawn, as lines, so it is never stroked along a cut — a window or tile edge, the US border, or where it meets the chart's own water. It is drawn like CHRT_BASE's uncharted lake shores, so an uncharted shore reads the same on both sides of the coverage boundary.",
    "poi_note": "`land_poi` carries CHRTpoi — named marinas taken from the OSM `pois` layer. It is the one shipped layer that is neither hydrographic-office data nor a physical measurement, and it is therefore the layer to which the ODbL share-alike obligation most directly attaches. Each feature is nudged to land where land is within 100 m, and its label may be moved a further 28 m to find room, so a placed position is accurate to about 128 m and is never a berth. A marina is NEVER DROPPED (ADR 0023 rule 10a): where no land can hold the name it stays at its own position and its label is allowed over water, marked `over_water`. The mark drawn beside the name is attached to the LABEL rather than the position.",
    "relief_note": "Terrain relief and contours derive from USGS 3DEP, which is US federal public domain (17 U.S.C. § 105). Wherever 3DEP has no elevation (foreign land inside band ≥ 3 NOAA chart coverage, and the squares 3DEP never published), the relief shading comes from Copernicus DEM GLO-30, which is licensed rather than public domain and requires the notice below on adapted data; contours are never drawn from it, because it is a surface model (vegetation and buildings included), so they end where 3DEP does. 3DEP keeps every pixel it has. Where the two meet, GLO-30 is lowered by the offset measured against 3DEP: per pixel within 60 m of the switch, a 150 m low-pass of it beyond, fading to nothing over 1 km. Neither carries an ODbL obligation; both are listed here only so the provenance of the whole product is legible in one place.",
    "relief_attribution": "produced using Copernicus WorldDEM-30 © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA; all rights reserved",
    "relief_liability": "The organisations in charge of the Copernicus programme by law or by delegation do not incur any liability for any use of the Copernicus WorldDEM-30"
  },
  "repository": {
    "url": "https://github.com/chrt-co/maps",
    "note": "The public repository holding the extract config, filter lists and clip query. Verified publicly readable WITHOUT authentication (GitHub reports visibility: public; checked with no token, since an authenticated check would pass on a private repo and prove nothing). ODbL §4.7(b) requires the free copy to be equally accessible, so an authenticated mirror would not substitute. Still to populate: the extract config and clip query themselves, and the CI sync from tools/chrtland-build."
  }
}
