{
 "ocl_version": "0.1.0",
 "name": "Tukutapu Road",
 "slug": "tukutapu-road",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 48.9640877174935,
   "diagnostic": true,
   "flags": [
    "structure_excluded_min",
    "no_bench_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 534.0,
   "end_distance_m": 536.0,
   "start_elevation_m": 266.9367638141151,
   "end_elevation_m": 267.916045568465,
   "min_gradient_pct": -28.750956254572202,
   "suppressed_max_gradient_pct": 53.64924521418857,
   "suppressed_location_m": [
    714.0,
    716.0
   ],
   "suppressed_min_gradient_pct": -54.09095164430937,
   "suppressed_min_location_m": [
    1405.0,
    1407.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 43.138845052232,
   "diagnostic": true,
   "flags": [
    "structure_excluded_min",
    "no_bench_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 533.0,
   "end_distance_m": 536.0,
   "start_elevation_m": 266.62188021689803,
   "end_elevation_m": 267.916045568465,
   "min_gradient_pct": -24.077872676694295,
   "suppressed_max_gradient_pct": 50.71657335230005,
   "suppressed_location_m": [
    713.0,
    716.0
   ],
   "suppressed_min_gradient_pct": -29.679723092580918,
   "suppressed_min_location_m": [
    1405.0,
    1408.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 33.450271711169535,
   "diagnostic": false,
   "flags": [
    "structure_excluded_min",
    "no_bench_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 834.0,
   "end_distance_m": 839.0,
   "start_elevation_m": 304.953621198254,
   "end_elevation_m": 306.62613478381246,
   "min_gradient_pct": -14.40347625874665,
   "suppressed_max_gradient_pct": 48.36931979438418,
   "suppressed_location_m": [
    711.0,
    716.0
   ],
   "suppressed_min_gradient_pct": -18.856890564787818,
   "suppressed_min_location_m": [
    1402.0,
    1407.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 26.424068433499883,
   "diagnostic": false,
   "flags": [
    "no_bench_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1284.0,
   "end_distance_m": 1294.0,
   "start_elevation_m": 361.1915924590677,
   "end_elevation_m": 363.8339993024177,
   "min_gradient_pct": -8.677905838571576,
   "suppressed_max_gradient_pct": 38.85976647997097,
   "suppressed_location_m": [
    707.0,
    717.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 21.404380907917187,
   "diagnostic": false,
   "flags": [
    "no_bench_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1286.0,
   "end_distance_m": 1306.0,
   "start_elevation_m": 361.6621596933705,
   "end_elevation_m": 365.9430358749539,
   "min_gradient_pct": -7.5209446819201276,
   "suppressed_max_gradient_pct": 24.836084633922724,
   "suppressed_location_m": [
    699.0,
    719.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 20.7496334273269,
   "diagnostic": false,
   "flags": [
    "no_bench_excluded",
    "suppression_unstable",
    "canopy_or_structure"
   ],
   "start_distance_m": 1284.0,
   "end_distance_m": 1309.0,
   "start_elevation_m": 361.1915924590677,
   "end_elevation_m": 366.3790008158994,
   "min_gradient_pct": -6.865410677659838,
   "suppressed_max_gradient_pct": 22.44601544093166,
   "suppressed_location_m": [
    694.0,
    719.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 19.223899594046998,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1152.0,
   "end_distance_m": 1202.0,
   "start_elevation_m": 338.985765560306,
   "end_elevation_m": 348.5977153573295,
   "min_gradient_pct": -5.968753449317887
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 18.62664221065711,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1147.0,
   "end_distance_m": 1247.0,
   "start_elevation_m": 338.11406438690375,
   "end_elevation_m": 356.74070659756086,
   "min_gradient_pct": -4.576892440741631
  }
 ],
 "shape": {
  "ascent_concentration": 0.326,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 165.0,
  "shape_class": "sustained"
 },
 "length_m": 1822.9999999999943,
 "start_elevation_m": 236.45714455986135,
 "end_elevation_m": 418.86296678342325,
 "endpoint_gain_m": 182.4058222235619,
 "overall_gradient_pct": 10.005804839471336,
 "accumulated_ascent_m": 196.79670502530274,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 33.450271711169535,
   "start_distance_m": 834.0,
   "end_distance_m": 839.0,
   "midpoint_distance_m": 836.5,
   "start_elevation_m": 304.953621198254,
   "end_elevation_m": 306.62613478381246,
   "start_xy": [
    1962549.9656976063,
    5682256.680392451
   ],
   "end_xy": [
    1962553.1916271702,
    5682260.500520517
   ]
  },
  "max_10m": {
   "gradient_pct": 26.424068433499883,
   "start_distance_m": 1284.0,
   "end_distance_m": 1294.0,
   "midpoint_distance_m": 1289.0,
   "start_elevation_m": 361.1915924590677,
   "end_elevation_m": 363.8339993024177,
   "start_xy": [
    1962741.4587969603,
    5682650.858346828
   ],
   "end_xy": [
    1962745.7478664026,
    5682659.891833603
   ]
  },
  "max_20m": {
   "gradient_pct": 21.404380907917187,
   "start_distance_m": 1286.0,
   "end_distance_m": 1306.0,
   "midpoint_distance_m": 1296.0,
   "start_elevation_m": 361.6621596933705,
   "end_elevation_m": 365.9430358749539,
   "start_xy": [
    1962742.3166108488,
    5682652.665044183
   ],
   "end_xy": [
    1962750.8947497334,
    5682670.732017733
   ]
  },
  "max_25m": {
   "gradient_pct": 20.7496334273269,
   "start_distance_m": 1284.0,
   "end_distance_m": 1309.0,
   "midpoint_distance_m": 1296.5,
   "start_elevation_m": 361.1915924590677,
   "end_elevation_m": 366.3790008158994,
   "start_xy": [
    1962741.4587969603,
    5682650.858346828
   ],
   "end_xy": [
    1962752.181470566,
    5682673.442063766
   ]
  },
  "max_50m": {
   "gradient_pct": 19.223899594046998,
   "start_distance_m": 1152.0,
   "end_distance_m": 1202.0,
   "midpoint_distance_m": 1177.0,
   "start_elevation_m": 338.985765560306,
   "end_elevation_m": 348.5977153573295,
   "start_xy": [
    1962717.8583747356,
    5682522.148205148
   ],
   "end_xy": [
    1962722.8538202622,
    5682571.895835739
   ]
  },
  "max_100m": {
   "gradient_pct": 18.62664221065711,
   "start_distance_m": 1147.0,
   "end_distance_m": 1247.0,
   "midpoint_distance_m": 1197.0,
   "start_elevation_m": 338.11406438690375,
   "end_elevation_m": 356.74070659756086,
   "start_xy": [
    1962717.43803378,
    5682517.165905128
   ],
   "end_xy": [
    1962728.6929114035,
    5682616.513424106
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -14.40347625874665,
   "start_distance_m": 1276.0,
   "end_distance_m": 1281.0,
   "midpoint_distance_m": 1278.5,
   "start_elevation_m": 361.57139837236696,
   "end_elevation_m": 360.8512245594296,
   "start_xy": [
    1962738.0275414065,
    5682643.631557408
   ],
   "end_xy": [
    1962740.1720761277,
    5682648.148300795
   ]
  },
  "min_10m": {
   "gradient_pct": -8.677905838571576,
   "start_distance_m": 175.0,
   "end_distance_m": 185.0,
   "midpoint_distance_m": 180.0,
   "start_elevation_m": 234.35999491172896,
   "end_elevation_m": 233.4922043278718,
   "start_xy": [
    1962536.0982242515,
    5681761.009187418
   ],
   "end_xy": [
    1962537.358740257,
    5681770.92942428
   ]
  },
  "min_20m": {
   "gradient_pct": -7.5209446819201276,
   "start_distance_m": 127.0,
   "end_distance_m": 147.0,
   "midpoint_distance_m": 137.0,
   "start_elevation_m": 235.87436862553665,
   "end_elevation_m": 234.37017968915262,
   "start_xy": [
    1962537.6755470247,
    5681713.143005069
   ],
   "end_xy": [
    1962536.4540757851,
    5681733.105670422
   ]
  },
  "min_25m": {
   "gradient_pct": -6.865410677659838,
   "start_distance_m": 128.0,
   "end_distance_m": 153.0,
   "midpoint_distance_m": 140.5,
   "start_elevation_m": 235.8740251068287,
   "end_elevation_m": 234.15767243741374,
   "start_xy": [
    1962537.6144734628,
    5681714.141138337
   ],
   "end_xy": [
    1962536.0876344133,
    5681739.094470029
   ]
  },
  "min_50m": {
   "gradient_pct": -5.968753449317887,
   "start_distance_m": 110.0,
   "end_distance_m": 160.0,
   "midpoint_distance_m": 135.0,
   "start_elevation_m": 236.77225530063635,
   "end_elevation_m": 233.7878785759774,
   "start_xy": [
    1962538.7137975784,
    5681696.174739518
   ],
   "end_xy": [
    1962535.6601194793,
    5681746.081402902
   ]
  },
  "min_100m": {
   "gradient_pct": -4.576892440741631,
   "start_distance_m": 67.0,
   "end_distance_m": 167.0,
   "midpoint_distance_m": 117.0,
   "start_elevation_m": 238.26879220684643,
   "end_elevation_m": 233.6918997661048,
   "start_xy": [
    1962543.7953534338,
    5681653.4763310505
   ],
   "end_xy": [
    1962535.2326045453,
    5681753.068335775
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 48.9640877174935,
   "start_distance_m": 534.0,
   "end_distance_m": 536.0,
   "midpoint_distance_m": 535.0,
   "start_elevation_m": 266.9367638141151,
   "end_elevation_m": 267.916045568465,
   "start_xy": [
    1962382.0875086498,
    5682043.654487874
   ],
   "end_xy": [
    1962380.8784537818,
    5682045.247656518
   ]
  },
  "max_3m": {
   "gradient_pct": 43.138845052232,
   "start_distance_m": 533.0,
   "end_distance_m": 536.0,
   "midpoint_distance_m": 534.5,
   "start_elevation_m": 266.62188021689803,
   "end_elevation_m": 267.916045568465,
   "start_xy": [
    1962382.6920360837,
    5682042.857903553
   ],
   "end_xy": [
    1962380.8784537818,
    5682045.247656518
   ]
  }
 },
 "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.009,
   "windows_resited": [],
   "windows_unresolved": [],
   "minima_resited": [
    2.0,
    3.0,
    5.0
   ],
   "minima_unresolved": []
  },
  "no_bench_suppression": {
   "masked_fraction": 0.076,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    10.0,
    20.0,
    25.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 0,
   "windows_masked": [],
   "advisory": [],
   "unresolved": [],
   "unstable": [
    {
     "window_m": 25.0,
     "start_m": 1284.0,
     "end_m": 1309.0,
     "raw_pct": 20.75,
     "reason": "hump",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "hump",
      "",
      ""
     ]
    }
   ]
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.456,
   "obstruction_max_height_m": 31.79,
   "flagged_windows_m": [
    2,
    3,
    5,
    10,
    20,
    25
   ]
  },
  "excluded_ranges_m": [
   [
    561.0,
    566.0
   ],
   [
    710.0,
    800.0
   ],
   [
    840.0,
    870.0
   ],
   [
    1403.0,
    1412.0
   ]
  ],
  "review": [],
  "extent": []
 },
 "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-n5",
   "road_pbf": "block-batch-nz-n5.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:5991b43afbe40ae2"
  },
  "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/BH40.tiff"
  ],
  "calculated_at": "2026-09-28T06:17:15+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-n5.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-n5",
  "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": [
   "BH40"
  ],
  "route_summit_trim_m": 1529.0,
  "route_summit_trim_loss_m": 104.4,
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "suppression_unstable_alternative": {
   "window_m": 25.0,
   "measured_pct": 20.75,
   "measured_at_m": 1284.0,
   "alternative_pct": 19.61,
   "alternative_at_m": 1163.0,
   "delta_pp": 1.14,
   "reason": "hump",
   "perturbation_hits": 1,
   "perturbations": 3
  },
  "suppression_unstable": [
   25.0
  ],
  "carriageway": {
   "stations": 79,
   "stations_resolved": 79,
   "width_median_m": 4.25,
   "width_p10_m": 2.2,
   "width_min_m": 1.0,
   "width_max_m": 11.0,
   "bounded_share": 0.405,
   "unbounded_share": 0.595,
   "confidence_median": 0.0,
   "width_median_bounded_m": 3.75,
   "window_m": [
    1284.0,
    1309.0
   ],
   "width_at_max25_m": 2.5,
   "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": 79,
    "stations_resolved": 79,
    "width_median_m": 2.25,
    "width_p10_m": 0.75,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.987,
    "unbounded_share": 0.013,
    "confidence_median": 1.0,
    "width_median_bounded_m": 2.25,
    "window_m": [
     1284.0,
     1309.0
    ],
    "width_at_max25_m": 2.25,
    "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": "Hawke's Bay",
  "county": "Hawke's Bay",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}