{
 "ocl_version": "0.1.0",
 "name": "Mahaki Settlement Road",
 "slug": "mahaki-settlement-road",
 "confidence": "U",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 49.27232388428848,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "no_bench_excluded_min"
   ],
   "start_distance_m": 1220.0,
   "end_distance_m": 1222.0,
   "start_elevation_m": 157.56711166817445,
   "end_elevation_m": 158.55255814586022,
   "min_gradient_pct": -38.7567920530401,
   "suppressed_max_gradient_pct": 100.2956508653881,
   "suppressed_location_m": [
    811.0,
    813.0
   ],
   "suppressed_min_gradient_pct": -83.71214733202521,
   "suppressed_min_location_m": [
    935.0,
    937.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 45.80858297836414,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "no_bench_excluded_min"
   ],
   "start_distance_m": 1220.0,
   "end_distance_m": 1223.0,
   "start_elevation_m": 157.56711166817445,
   "end_elevation_m": 158.94136915752537,
   "min_gradient_pct": -37.23480868362875,
   "suppressed_max_gradient_pct": 94.50028544400386,
   "suppressed_location_m": [
    810.0,
    813.0
   ],
   "suppressed_min_gradient_pct": -82.16535461153285,
   "suppressed_min_location_m": [
    934.0,
    937.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 37.93953495763162,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "no_bench_excluded_min",
    "texture_excluded"
   ],
   "start_distance_m": 492.0,
   "end_distance_m": 497.0,
   "start_elevation_m": 83.30450368296852,
   "end_elevation_m": 85.2014804308501,
   "min_gradient_pct": -33.41632471387044,
   "suppressed_max_gradient_pct": 79.3517485593668,
   "suppressed_location_m": [
    1172.0,
    1177.0
   ],
   "suppressed_min_gradient_pct": -78.54171609127178,
   "suppressed_min_location_m": [
    933.0,
    938.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 25.46572383482726,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1009.0,
   "end_distance_m": 1019.0,
   "start_elevation_m": 147.64904454832987,
   "end_elevation_m": 150.1956169318126,
   "min_gradient_pct": -30.067435240519558,
   "suppressed_max_gradient_pct": 74.29717765426375,
   "suppressed_location_m": [
    948.0,
    958.0
   ],
   "suppressed_min_gradient_pct": -66.47708417860798,
   "suppressed_min_location_m": [
    929.0,
    939.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 22.732999188599976,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded_min",
    "texture_excluded"
   ],
   "start_distance_m": 633.0,
   "end_distance_m": 653.0,
   "start_elevation_m": 95.21031179283753,
   "end_elevation_m": 99.75691163055752,
   "min_gradient_pct": -27.007746416705487,
   "suppressed_max_gradient_pct": 69.03459392957984,
   "suppressed_location_m": [
    943.0,
    963.0
   ],
   "suppressed_min_gradient_pct": -37.41988075083903,
   "suppressed_min_location_m": [
    921.0,
    941.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 21.559892209349755,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded_min",
    "texture_excluded"
   ],
   "start_distance_m": 632.0,
   "end_distance_m": 657.0,
   "start_elevation_m": 94.97272448990921,
   "end_elevation_m": 100.36269754224665,
   "min_gradient_pct": -24.721051611125517,
   "suppressed_max_gradient_pct": 66.69329206636132,
   "suppressed_location_m": [
    943.0,
    968.0
   ],
   "suppressed_min_gradient_pct": -28.75445617170868,
   "suppressed_min_location_m": [
    916.0,
    941.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 18.305866887478828,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "texture_excluded"
   ],
   "start_distance_m": 1529.0,
   "end_distance_m": 1579.0,
   "start_elevation_m": 178.5738471880431,
   "end_elevation_m": 187.7267806317825,
   "min_gradient_pct": -23.3752425091875,
   "suppressed_max_gradient_pct": 42.39312991003334,
   "suppressed_location_m": [
    940.0,
    990.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 12.791358830254213,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 2560.0,
   "end_distance_m": 2660.0,
   "start_elevation_m": 189.12014965199646,
   "end_elevation_m": 201.91150848225067,
   "min_gradient_pct": -14.494063821991036,
   "suppressed_max_gradient_pct": 27.293709924476232,
   "suppressed_location_m": [
    941.0,
    1041.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.471,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 93.0,
  "shape_class": "stepped"
 },
 "length_m": 2985.9999999999636,
 "start_elevation_m": 70.48037633987765,
 "end_elevation_m": 208.8294041406067,
 "endpoint_gain_m": 138.34902780072906,
 "overall_gradient_pct": 4.633256121926682,
 "accumulated_ascent_m": 247.67775430884458,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 37.93953495763162,
   "start_distance_m": 492.0,
   "end_distance_m": 497.0,
   "midpoint_distance_m": 494.5,
   "start_elevation_m": 83.30450368296852,
   "end_elevation_m": 85.2014804308501,
   "start_xy": [
    2011970.3993026058,
    5735904.210238444
   ],
   "end_xy": [
    2011966.5715866084,
    5735900.993315963
   ]
  },
  "max_10m": {
   "gradient_pct": 25.46572383482726,
   "start_distance_m": 1009.0,
   "end_distance_m": 1019.0,
   "midpoint_distance_m": 1014.0,
   "start_elevation_m": 147.64904454832987,
   "end_elevation_m": 150.1956169318126,
   "start_xy": [
    2011611.722049901,
    5735874.608533132
   ],
   "end_xy": [
    2011613.9370665771,
    5735864.856933205
   ]
  },
  "max_20m": {
   "gradient_pct": 22.732999188599976,
   "start_distance_m": 633.0,
   "end_distance_m": 653.0,
   "midpoint_distance_m": 643.0,
   "start_elevation_m": 95.21031179283753,
   "end_elevation_m": 99.75691163055752,
   "start_xy": [
    2011846.6964246803,
    5735844.220331828
   ],
   "end_xy": [
    2011830.3549545393,
    5735832.689661699
   ]
  },
  "max_25m": {
   "gradient_pct": 21.559892209349755,
   "start_distance_m": 632.0,
   "end_distance_m": 657.0,
   "midpoint_distance_m": 644.5,
   "start_elevation_m": 94.97272448990921,
   "end_elevation_m": 100.36269754224665,
   "start_xy": [
    2011847.5134981873,
    5735844.796865335
   ],
   "end_xy": [
    2011827.0866605113,
    5735830.383527673
   ]
  },
  "max_50m": {
   "gradient_pct": 18.305866887478828,
   "start_distance_m": 1529.0,
   "end_distance_m": 1579.0,
   "midpoint_distance_m": 1554.0,
   "start_elevation_m": 178.5738471880431,
   "end_elevation_m": 187.7267806317825,
   "start_xy": [
    2011552.4964310087,
    5735380.593311159
   ],
   "end_xy": [
    2011532.7166107667,
    5735334.672088275
   ]
  },
  "max_100m": {
   "gradient_pct": 12.791358830254213,
   "start_distance_m": 2560.0,
   "end_distance_m": 2660.0,
   "midpoint_distance_m": 2610.0,
   "start_elevation_m": 189.12014965199646,
   "end_elevation_m": 201.91150848225067,
   "start_xy": [
    2010692.6514477099,
    5735091.825611023
   ],
   "end_xy": [
    2010599.451015363,
    5735079.619075968
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -33.41632471387044,
   "start_distance_m": 559.0,
   "end_distance_m": 564.0,
   "midpoint_distance_m": 561.5,
   "start_elevation_m": 90.22519553620315,
   "end_elevation_m": 88.55437930050962,
   "start_xy": [
    2011909.7835324814,
    5735880.708191885
   ],
   "end_xy": [
    2011904.8725652136,
    5735879.768830136
   ]
  },
  "min_10m": {
   "gradient_pct": -30.067435240519558,
   "start_distance_m": 1625.0,
   "end_distance_m": 1635.0,
   "midpoint_distance_m": 1630.0,
   "start_elevation_m": 196.7695027677549,
   "end_elevation_m": 193.76275924370293,
   "start_xy": [
    2011514.3863547293,
    5735292.53095309
   ],
   "end_xy": [
    2011506.2873472504,
    5735286.66528366
   ]
  },
  "min_20m": {
   "gradient_pct": -27.007746416705487,
   "start_distance_m": 1623.0,
   "end_distance_m": 1643.0,
   "midpoint_distance_m": 1633.0,
   "start_elevation_m": 197.18158856193898,
   "end_elevation_m": 191.78003927859788,
   "start_xy": [
    2011515.310368954,
    5735294.261412136
   ],
   "end_xy": [
    2011499.8081412674,
    5735281.972748117
   ]
  },
  "min_25m": {
   "gradient_pct": -24.721051611125517,
   "start_distance_m": 1621.0,
   "end_distance_m": 1646.0,
   "midpoint_distance_m": 1633.5,
   "start_elevation_m": 197.49839737310035,
   "end_elevation_m": 191.31813447031897,
   "start_xy": [
    2011516.1015617636,
    5735296.098261052
   ],
   "end_xy": [
    2011497.3784390239,
    5735280.213047287
   ]
  },
  "min_50m": {
   "gradient_pct": -23.3752425091875,
   "start_distance_m": 1622.0,
   "end_distance_m": 1672.0,
   "midpoint_distance_m": 1647.0,
   "start_elevation_m": 197.35014980217505,
   "end_elevation_m": 185.6625285475813,
   "start_xy": [
    2011515.7059653588,
    5735295.1798365945
   ],
   "end_xy": [
    2011476.3210195792,
    5735264.9623067705
   ]
  },
  "min_100m": {
   "gradient_pct": -14.494063821991036,
   "start_distance_m": 1616.0,
   "end_distance_m": 1716.0,
   "midpoint_distance_m": 1666.0,
   "start_elevation_m": 197.80028395673608,
   "end_elevation_m": 183.30622013474505,
   "start_xy": [
    2011518.0795437878,
    5735300.69038334
   ],
   "end_xy": [
    2011456.0988427051,
    5735227.2107070135
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 49.27232388428848,
   "start_distance_m": 1220.0,
   "end_distance_m": 1222.0,
   "midpoint_distance_m": 1221.0,
   "start_elevation_m": 157.56711166817445,
   "end_elevation_m": 158.55255814586022,
   "start_xy": [
    2011609.1354691999,
    5735669.05248913
   ],
   "end_xy": [
    2011609.5653346016,
    5735667.099231406
   ]
  },
  "max_3m": {
   "gradient_pct": 45.80858297836414,
   "start_distance_m": 1220.0,
   "end_distance_m": 1223.0,
   "midpoint_distance_m": 1221.5,
   "start_elevation_m": 157.56711166817445,
   "end_elevation_m": 158.94136915752537,
   "start_xy": [
    2011609.1354691999,
    5735669.05248913
   ],
   "end_xy": [
    2011609.7802673024,
    5735666.122602544
   ]
  }
 },
 "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.057,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    10.0,
    20.0,
    25.0,
    50.0,
    100.0
   ],
   "windows_unresolved": [],
   "minima_resited": [
    2.0,
    3.0,
    5.0,
    10.0,
    20.0,
    25.0
   ],
   "minima_unresolved": []
  },
  "no_bench_suppression": {
   "masked_fraction": 0.123,
   "windows_resited": [
    2.0,
    3.0,
    5.0
   ],
   "windows_unresolved": [],
   "minima_resited": [
    2.0,
    3.0,
    5.0,
    10.0,
    20.0,
    25.0
   ],
   "minima_unresolved": []
  },
  "placement_suppression": {
   "masked_fraction": 0.123,
   "windows_resited": [],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_suppression": {
   "masked_fraction": 0.142,
   "windows_resited": [
    10.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 2,
   "windows_masked": [
    {
     "window_m": 25.0,
     "start_m": 1582.0,
     "end_m": 1607.0,
     "raw_pct": 34.4,
     "reason": "hump"
    },
    {
     "window_m": 10.0,
     "start_m": 361.0,
     "end_m": 371.0,
     "raw_pct": 41.75,
     "reason": "hump"
    },
    {
     "window_m": 5.0,
     "start_m": 366.0,
     "end_m": 371.0,
     "raw_pct": 42.86,
     "reason": "hump"
    },
    {
     "window_m": 10.0,
     "start_m": 968.0,
     "end_m": 978.0,
     "raw_pct": 26.16,
     "reason": "mask-edge"
    }
   ],
   "advisory": [],
   "unresolved": []
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.261,
   "obstruction_max_height_m": 37.14,
   "flagged_windows_m": [
    10,
    100
   ]
  },
  "excluded_ranges_m": [
   [
    0.0,
    20.0
   ],
   [
    219.0,
    225.0
   ],
   [
    359.0,
    373.0
   ],
   [
    660.0,
    690.0
   ],
   [
    800.0,
    834.0
   ],
   [
    850.0,
    900.0
   ],
   [
    921.0,
    980.0
   ],
   [
    1040.0,
    1200.0
   ],
   [
    1213.0,
    1219.0
   ],
   [
    1580.0,
    1609.0
   ],
   [
    2009.0,
    2014.0
   ]
  ],
  "review": [
   "short_window_divergence"
  ],
  "extent": [
   "may_continue_beyond_end"
  ]
 },
 "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/BF42.tiff"
  ],
  "calculated_at": "2026-09-28T06:16:43+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": [
   "BF42"
  ],
  "route_summit_trim_m": 519.6,
  "route_summit_trim_loss_m": 10.0,
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "structure_mask_ranges_m": [
   [
    0.0,
    15.0
   ]
  ],
  "carriageway": {
   "stations": 126,
   "stations_resolved": 126,
   "width_median_m": 5.25,
   "width_p10_m": 2.25,
   "width_min_m": 1.0,
   "width_max_m": 12.0,
   "bounded_share": 0.198,
   "unbounded_share": 0.802,
   "confidence_median": 0.0,
   "width_median_bounded_m": 2.75,
   "window_m": [
    632.0,
    657.0
   ],
   "width_at_max25_m": 4.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": 126,
    "stations_resolved": 126,
    "width_median_m": 7.12,
    "width_p10_m": 1.25,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.627,
    "unbounded_share": 0.373,
    "confidence_median": 1.0,
    "width_median_bounded_m": 4.25,
    "window_m": [
     632.0,
     657.0
    ],
    "width_at_max25_m": 8.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": "Gisborne",
  "county": "Gisborne",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}