{
 "ocl_version": "0.1.0",
 "name": "Kaitoke Road",
 "slug": "kaitoke-road",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 46.14993673768879,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 882.0,
   "end_distance_m": 884.0,
   "start_elevation_m": 402.0548536301722,
   "end_elevation_m": 402.977852364926,
   "min_gradient_pct": -51.75670609773135,
   "suppressed_max_gradient_pct": 68.09495310143632,
   "suppressed_location_m": [
    1446.0,
    1448.0
   ],
   "suppressed_min_gradient_pct": -88.15177242035475,
   "suppressed_min_location_m": [
    102.0,
    104.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 41.152592787549715,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 881.0,
   "end_distance_m": 884.0,
   "start_elevation_m": 401.7432745812995,
   "end_elevation_m": 402.977852364926,
   "min_gradient_pct": -46.97105168989234,
   "suppressed_max_gradient_pct": 65.16893957902994,
   "suppressed_location_m": [
    1446.0,
    1449.0
   ],
   "suppressed_min_gradient_pct": -80.08223721114216,
   "suppressed_min_location_m": [
    101.0,
    104.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 32.320458929199276,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 880.0,
   "end_distance_m": 885.0,
   "start_elevation_m": 401.57890267606894,
   "end_elevation_m": 403.1949256225289,
   "min_gradient_pct": -33.19613577118275,
   "suppressed_max_gradient_pct": 57.880744479148234,
   "suppressed_location_m": [
    1446.0,
    1451.0
   ],
   "suppressed_min_gradient_pct": -69.26714440666501,
   "suppressed_min_location_m": [
    101.0,
    106.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 28.11175357484501,
   "diagnostic": false,
   "flags": [
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 11.0,
   "end_distance_m": 21.0,
   "start_elevation_m": 409.26562263863667,
   "end_elevation_m": 412.0767979961212,
   "min_gradient_pct": -25.0337560399538,
   "suppressed_max_gradient_pct": 37.141982517781,
   "suppressed_location_m": [
    1305.0,
    1315.0
   ],
   "suppressed_min_gradient_pct": -59.42659356973479,
   "suppressed_min_location_m": [
    101.0,
    111.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 24.5892779307286,
   "diagnostic": false,
   "flags": [
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded"
   ],
   "start_distance_m": 864.0,
   "end_distance_m": 884.0,
   "start_elevation_m": 398.05999677878026,
   "end_elevation_m": 402.977852364926,
   "min_gradient_pct": -19.55746660800571,
   "suppressed_max_gradient_pct": 30.493100606190637,
   "suppressed_location_m": [
    1299.0,
    1319.0
   ],
   "suppressed_min_gradient_pct": -41.78440866402582,
   "suppressed_min_location_m": [
    1454.0,
    1474.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 23.86319317511243,
   "diagnostic": false,
   "flags": [
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 864.0,
   "end_distance_m": 889.0,
   "start_elevation_m": 398.05999677878026,
   "end_elevation_m": 404.02579507255837,
   "min_gradient_pct": -18.3033251771335,
   "suppressed_max_gradient_pct": 28.622685434558207,
   "suppressed_location_m": [
    1292.0,
    1317.0
   ],
   "suppressed_min_gradient_pct": -34.73460420708375,
   "suppressed_min_location_m": [
    1454.0,
    1479.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 16.521813829636812,
   "diagnostic": false,
   "flags": [
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1322.0,
   "end_distance_m": 1372.0,
   "start_elevation_m": 426.3539712803409,
   "end_elevation_m": 434.6148781951593,
   "min_gradient_pct": -15.314668576718532,
   "suppressed_max_gradient_pct": 23.404298975574875,
   "suppressed_location_m": [
    1275.0,
    1325.0
   ],
   "suppressed_min_gradient_pct": -31.063147774194704,
   "suppressed_min_location_m": [
    101.0,
    151.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 9.377272406314944,
   "diagnostic": false,
   "flags": [
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded"
   ],
   "start_distance_m": 221.0,
   "end_distance_m": 321.0,
   "start_elevation_m": 389.4144411419963,
   "end_elevation_m": 398.79171354831124,
   "min_gradient_pct": -12.822779615582476,
   "suppressed_max_gradient_pct": 19.81809845394588,
   "suppressed_location_m": [
    1274.0,
    1374.0
   ],
   "suppressed_min_gradient_pct": -21.278447367037135,
   "suppressed_min_location_m": [
    99.0,
    199.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.414,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 132.0,
  "shape_class": "sustained"
 },
 "length_m": 1780.4795721115368,
 "start_elevation_m": 407.92755529181346,
 "end_elevation_m": 437.54474686874465,
 "endpoint_gain_m": 29.61719157693119,
 "overall_gradient_pct": 1.6634389992920315,
 "accumulated_ascent_m": 117.23755715201048,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 32.320458929199276,
   "start_distance_m": 880.0,
   "end_distance_m": 885.0,
   "midpoint_distance_m": 882.5,
   "start_elevation_m": 401.57890267606894,
   "end_elevation_m": 403.1949256225289,
   "start_xy": [
    1726858.3052675163,
    5622705.377335358
   ],
   "end_xy": [
    1726863.1873680567,
    5622706.456730705
   ]
  },
  "max_10m": {
   "gradient_pct": 28.11175357484501,
   "start_distance_m": 11.0,
   "end_distance_m": 21.0,
   "midpoint_distance_m": 16.0,
   "start_elevation_m": 409.26562263863667,
   "end_elevation_m": 412.0767979961212,
   "start_xy": [
    1726199.6439194826,
    5623003.449394735
   ],
   "end_xy": [
    1726206.232028103,
    5623010.972480857
   ]
  },
  "max_20m": {
   "gradient_pct": 24.5892779307286,
   "start_distance_m": 864.0,
   "end_distance_m": 884.0,
   "midpoint_distance_m": 874.0,
   "start_elevation_m": 398.05999677878026,
   "end_elevation_m": 402.977852364926,
   "start_xy": [
    1726842.6430793179,
    5622702.146729901
   ],
   "end_xy": [
    1726862.2109479485,
    5622706.240851635
   ]
  },
  "max_25m": {
   "gradient_pct": 23.86319317511243,
   "start_distance_m": 864.0,
   "end_distance_m": 889.0,
   "midpoint_distance_m": 876.5,
   "start_elevation_m": 398.05999677878026,
   "end_elevation_m": 404.02579507255837,
   "start_xy": [
    1726842.6430793179,
    5622702.146729901
   ],
   "end_xy": [
    1726867.0891267278,
    5622707.3377938615
   ]
  },
  "max_50m": {
   "gradient_pct": 16.521813829636812,
   "start_distance_m": 1322.0,
   "end_distance_m": 1372.0,
   "midpoint_distance_m": 1347.0,
   "start_elevation_m": 426.3539712803409,
   "end_elevation_m": 434.6148781951593,
   "start_xy": [
    1727240.6272213752,
    5622564.915324534
   ],
   "end_xy": [
    1727279.603229061,
    5622533.936041847
   ]
  },
  "max_100m": {
   "gradient_pct": 9.377272406314944,
   "start_distance_m": 221.0,
   "end_distance_m": 321.0,
   "midpoint_distance_m": 271.0,
   "start_elevation_m": 389.4144411419963,
   "end_elevation_m": 398.79171354831124,
   "start_xy": [
    1726355.1851059154,
    5623041.192106588
   ],
   "end_xy": [
    1726429.4866671828,
    5622975.720364856
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -33.19613577118275,
   "start_distance_m": 130.0,
   "end_distance_m": 135.0,
   "midpoint_distance_m": 132.5,
   "start_elevation_m": 401.4089433466118,
   "end_elevation_m": 399.74913655805267,
   "start_xy": [
    1726276.6825607575,
    5623078.478407304
   ],
   "end_xy": [
    1726281.4194793433,
    5623079.876307564
   ]
  },
  "min_10m": {
   "gradient_pct": -25.0337560399538,
   "start_distance_m": 125.0,
   "end_distance_m": 135.0,
   "midpoint_distance_m": 130.0,
   "start_elevation_m": 402.25251216204805,
   "end_elevation_m": 399.74913655805267,
   "start_xy": [
    1726272.5888336252,
    5623075.607623759
   ],
   "end_xy": [
    1726281.4194793433,
    5623079.876307564
   ]
  },
  "min_20m": {
   "gradient_pct": -19.55746660800571,
   "start_distance_m": 397.0,
   "end_distance_m": 417.0,
   "midpoint_distance_m": 407.0,
   "start_elevation_m": 391.93629671014287,
   "end_elevation_m": 388.0248033885417,
   "start_xy": [
    1726477.0977713303,
    5622921.574250553
   ],
   "end_xy": [
    1726483.2712320946,
    5622903.788338776
   ]
  },
  "min_25m": {
   "gradient_pct": -18.3033251771335,
   "start_distance_m": 393.0,
   "end_distance_m": 418.0,
   "midpoint_distance_m": 405.5,
   "start_elevation_m": 392.48176887026307,
   "end_elevation_m": 387.9059375759797,
   "start_xy": [
    1726477.1426430463,
    5622925.573998861
   ],
   "end_xy": [
    1726484.0650285622,
    5622903.180155277
   ]
  },
  "min_50m": {
   "gradient_pct": -15.314668576718532,
   "start_distance_m": 389.0,
   "end_distance_m": 439.0,
   "midpoint_distance_m": 414.0,
   "start_elevation_m": 392.77947941996774,
   "end_elevation_m": 385.1221451316085,
   "start_xy": [
    1726477.1875147624,
    5622929.573747169
   ],
   "end_xy": [
    1726502.5042537274,
    5622893.557058672
   ]
  },
  "min_100m": {
   "gradient_pct": -12.822779615582476,
   "start_distance_m": 356.0,
   "end_distance_m": 456.0,
   "midpoint_distance_m": 406.0,
   "start_elevation_m": 395.6684932548921,
   "end_elevation_m": 382.8457136393096,
   "start_xy": [
    1726455.5124577628,
    5622952.433452094
   ],
   "end_xy": [
    1726514.6198108739,
    5622881.639232717
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 46.14993673768879,
   "start_distance_m": 882.0,
   "end_distance_m": 884.0,
   "midpoint_distance_m": 883.0,
   "start_elevation_m": 402.0548536301722,
   "end_elevation_m": 402.977852364926,
   "start_xy": [
    1726860.2581077325,
    5622705.809093497
   ],
   "end_xy": [
    1726862.2109479485,
    5622706.240851635
   ]
  },
  "max_3m": {
   "gradient_pct": 41.152592787549715,
   "start_distance_m": 881.0,
   "end_distance_m": 884.0,
   "midpoint_distance_m": 882.5,
   "start_elevation_m": 401.7432745812995,
   "end_elevation_m": 402.977852364926,
   "start_xy": [
    1726859.2816876243,
    5622705.593214427
   ],
   "end_xy": [
    1726862.2109479485,
    5622706.240851635
   ]
  }
 },
 "diagnostic_note": "Windows <=3 m are at raster-noise scale (1-sigma raster noise alone is roughly +/-7 pp at 2 m and +/-5 pp at 3 m on a 1 m DTM). Diagnostic use only: never a headline or ranking value.",
 "quality_summary": {
  "structure_suppression": {
   "masked_fraction": 0.061,
   "windows_resited": [
    2.0,
    3.0,
    5.0
   ],
   "windows_unresolved": [],
   "minima_resited": [
    2.0,
    3.0,
    5.0,
    10.0,
    20.0,
    25.0,
    50.0,
    100.0
   ],
   "minima_unresolved": []
  },
  "texture_suppression": {
   "masked_fraction": 0.096,
   "windows_resited": [
    2.0,
    5.0,
    10.0,
    20.0,
    25.0,
    50.0,
    100.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 2,
   "windows_masked": [
    {
     "window_m": 25.0,
     "start_m": 1292.0,
     "end_m": 1317.0,
     "raw_pct": 28.62,
     "reason": "hump"
    },
    {
     "window_m": 20.0,
     "start_m": 1299.0,
     "end_m": 1319.0,
     "raw_pct": 30.49,
     "reason": "hump"
    },
    {
     "window_m": 10.0,
     "start_m": 1305.0,
     "end_m": 1315.0,
     "raw_pct": 37.14,
     "reason": "hump"
    },
    {
     "window_m": 5.0,
     "start_m": 1306.0,
     "end_m": 1311.0,
     "raw_pct": 43.68,
     "reason": "hump"
    },
    {
     "window_m": 25.0,
     "start_m": 1609.0,
     "end_m": 1634.0,
     "raw_pct": 25.46,
     "reason": "hump"
    },
    {
     "window_m": 20.0,
     "start_m": 1613.0,
     "end_m": 1633.0,
     "raw_pct": 25.83,
     "reason": "hump"
    },
    {
     "window_m": 10.0,
     "start_m": 1611.0,
     "end_m": 1621.0,
     "raw_pct": 29.33,
     "reason": "hump"
    },
    {
     "window_m": 5.0,
     "start_m": 1628.0,
     "end_m": 1633.0,
     "raw_pct": 37.7,
     "reason": "hump+short-step"
    }
   ],
   "advisory": [],
   "unresolved": []
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.221,
   "obstruction_max_height_m": 12.58,
   "flagged_windows_m": [
    2,
    3,
    5,
    10,
    25,
    50
   ]
  },
  "excluded_ranges_m": [
   [
    42.0,
    47.0
   ],
   [
    81.0,
    111.0
   ],
   [
    136.0,
    142.0
   ],
   [
    643.0,
    648.0
   ],
   [
    802.0,
    807.0
   ],
   [
    1141.0,
    1146.0
   ],
   [
    1290.0,
    1321.0
   ],
   [
    1439.0,
    1473.0
   ],
   [
    1481.0,
    1486.0
   ],
   [
    1607.0,
    1636.0
   ],
   [
    1683.0,
    1688.0
   ]
  ],
  "review": [],
  "extent": [
   "may_start_earlier",
   "descends_at_end"
  ],
  "leading_descent_m": 26.8,
  "suggested_base_cut_m": 468
 },
 "provenance": {
  "analysis_version": "0.1.0",
  "run_manifest": {
   "manifest_version": "1",
   "code_git_sha": "f5ccc1713da600fbea2ba1433fb64f96644949ee",
   "code_git_dirty": "false",
   "analysis_version": "0.1.0",
   "analysis_config_digest": "sha256:8c94015b54267da4",
   "python": "3.14.4",
   "numpy": "2.5.3",
   "rasterio": "1.5.1",
   "pyproj": "3.8.0",
   "laspy": "2.7.0",
   "shapely": "2.1.2",
   "pyosmium": "4.3.1",
   "libosmium": "2.23.1",
   "gdal": "3.12.4",
   "proj": "9.8.1",
   "run_id": "nz-n2",
   "road_pbf": "block-batch-nz-n2.osm.pbf",
   "region_key": "nz",
   "crs": "EPSG:2193",
   "elevation_provider_key": "nz-linz",
   "tile_index": "stac",
   "authority": "linz",
   "registry_pbf": "new-zealand-2026-09-26.osm.pbf",
   "tile_index_snapshot": "sha256:1ffe0b32a690b9c1"
  },
  "sample_interval_m": 1.0,
  "interpolation": "bilinear",
  "smoothing": "none",
  "gradient_windows_m": [
   5.0,
   10.0,
   20.0,
   25.0,
   50.0,
   100.0
  ],
  "diagnostic_windows_m": [
   2.0,
   3.0
  ],
  "elevation_crs": "EPSG:2193",
  "elevation_resolution_m": 1.0,
  "elevation_tiles": [
   "data/cache/nz/BJ30.tiff"
  ],
  "calculated_at": "2026-09-28T05:06:08+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-n2.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-n2",
  "elevation_provider": "LINZ nz-elevation",
  "elevation_licence": "CC BY 4.0 \u2014 Toit\u016b Te Whenua Land Information New Zealand \u2014 https://nz-elevation.s3.ap-southeast-2.amazonaws.com/LICENSE",
  "elevation_dataset": "New Zealand 1 m DEM/DSM national LiDAR mosaic \u2014 Toit\u016b Te Whenua Land Information New Zealand (LINZ), vertical datum NZVD2016 (LINZ documentation; not re-verified against a benchmark)",
  "elevation_tile_ids": [
   "BJ30"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "carriageway": {
   "stations": 78,
   "stations_resolved": 78,
   "width_median_m": 2.75,
   "width_p10_m": 1.25,
   "width_min_m": 1.0,
   "width_max_m": 10.5,
   "bounded_share": 0.551,
   "unbounded_share": 0.449,
   "confidence_median": 0.54,
   "width_median_bounded_m": 2.5,
   "window_m": [
    864.0,
    889.0
   ],
   "width_at_max25_m": 2.25,
   "window_stations": 7,
   "single_track": false,
   "single_track_rule": "PROVISIONAL (2026-09-15): width_p10_m <= 3.0 m with bounded_share >= 0.6; recorded, not a rule",
   "status": "ok",
   "source": "dtm",
   "station_m": 25.0,
   "window_station_m": 5.0,
   "halfwidth_m": 6.0,
   "step_m": 0.25,
   "level_tol_m": 0.12,
   "break_min_m": 0.3,
   "stations_failed": 0,
   "hedge_to_hedge": {
    "stations": 78,
    "stations_resolved": 78,
    "width_median_m": 2.5,
    "width_p10_m": 1.25,
    "width_min_m": 1.0,
    "width_max_m": 9.75,
    "bounded_share": 0.962,
    "unbounded_share": 0.038,
    "confidence_median": 1.0,
    "width_median_bounded_m": 2.5,
    "window_m": [
     864.0,
     889.0
    ],
    "width_at_max25_m": 3.0,
    "window_stations": 7,
    "status": "ok",
    "source": "dsm",
    "station_m": 25.0,
    "window_station_m": 5.0,
    "halfwidth_m": 6.0,
    "step_m": 0.25,
    "level_tol_m": 0.5,
    "break_min_m": 0.3,
    "stations_failed": 0
   }
  },
  "license": "ODbL-1.0",
  "license_url": "https://howsteep.org/licensing"
 },
 "area": {
  "place": "Taranaki",
  "county": "Taranaki",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}