{
 "ocl_version": "0.1.0",
 "name": "McMillan Road",
 "slug": "mcmillan-road-2",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 32.381529221459004,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "texture_excluded"
   ],
   "start_distance_m": 996.0,
   "end_distance_m": 998.0,
   "start_elevation_m": 466.76236994309147,
   "end_elevation_m": 467.41000052752065,
   "min_gradient_pct": -35.01900807899574,
   "suppressed_max_gradient_pct": 226.23724706788835,
   "suppressed_location_m": [
    32.0,
    34.0
   ],
   "suppressed_min_gradient_pct": -271.3101641268594,
   "suppressed_min_location_m": [
    1.0,
    3.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 29.670759505781536,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "texture_excluded"
   ],
   "start_distance_m": 995.0,
   "end_distance_m": 998.0,
   "start_elevation_m": 466.5198777423472,
   "end_elevation_m": 467.41000052752065,
   "min_gradient_pct": -31.40957013384309,
   "suppressed_max_gradient_pct": 216.87615106743957,
   "suppressed_location_m": [
    32.0,
    35.0
   ],
   "suppressed_min_gradient_pct": -256.8510712326088,
   "suppressed_min_location_m": [
    0.0,
    3.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 28.57794287059164,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1425.0,
   "end_distance_m": 1430.0,
   "start_elevation_m": 496.60297868566,
   "end_elevation_m": 498.0318758291896,
   "min_gradient_pct": -27.448065569011533,
   "suppressed_max_gradient_pct": 208.76157201419915,
   "suppressed_location_m": [
    29.0,
    34.0
   ],
   "suppressed_min_gradient_pct": -229.82361382903605,
   "suppressed_min_location_m": [
    0.0,
    5.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 23.93409453137906,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1421.0,
   "end_distance_m": 1431.0,
   "start_elevation_m": 495.7716104167958,
   "end_elevation_m": 498.1650198699337,
   "min_gradient_pct": -17.29642323858741,
   "suppressed_max_gradient_pct": 190.6276830765887,
   "suppressed_location_m": [
    26.0,
    36.0
   ],
   "suppressed_min_gradient_pct": -160.31644970297407,
   "suppressed_min_location_m": [
    0.0,
    10.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 20.430049659268263,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded"
   ],
   "start_distance_m": 309.0,
   "end_distance_m": 329.0,
   "start_elevation_m": 406.7697981896357,
   "end_elevation_m": 410.85580812148936,
   "min_gradient_pct": -9.350055948954434,
   "suppressed_max_gradient_pct": 150.00599447210732,
   "suppressed_location_m": [
    21.0,
    41.0
   ],
   "suppressed_min_gradient_pct": -80.35052777760541,
   "suppressed_min_location_m": [
    0.0,
    20.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 20.274796964523148,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded"
   ],
   "start_distance_m": 309.0,
   "end_distance_m": 334.0,
   "start_elevation_m": 406.7697981896357,
   "end_elevation_m": 411.8384974307665,
   "min_gradient_pct": -8.093838288476263,
   "suppressed_max_gradient_pct": 122.71663577172443,
   "suppressed_location_m": [
    20.0,
    45.0
   ],
   "suppressed_min_gradient_pct": -44.40414633692035,
   "suppressed_min_location_m": [
    0.0,
    25.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 18.988418586981425,
   "diagnostic": false,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 298.0,
   "end_distance_m": 348.0,
   "start_elevation_m": 404.86572503916614,
   "end_elevation_m": 414.35993433265685,
   "min_gradient_pct": -6.150907970956382,
   "suppressed_max_gradient_pct": 67.80645980389704,
   "suppressed_location_m": [
    20.0,
    70.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 16.455352687740117,
   "diagnostic": false,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 391.0,
   "end_distance_m": 491.0,
   "start_elevation_m": 418.56124029418277,
   "end_elevation_m": 435.0165929819229,
   "min_gradient_pct": -4.32173446319257,
   "suppressed_max_gradient_pct": 38.904043284029285,
   "suppressed_location_m": [
    20.0,
    120.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.46,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 113.0,
  "shape_class": "stepped"
 },
 "length_m": 1652.9950837713081,
 "start_elevation_m": 360.50178041210467,
 "end_elevation_m": 497.2475761342448,
 "endpoint_gain_m": 136.74579572214014,
 "overall_gradient_pct": 8.27260752706866,
 "accumulated_ascent_m": 176.90868104896037,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 28.57794287059164,
   "start_distance_m": 1425.0,
   "end_distance_m": 1430.0,
   "midpoint_distance_m": 1427.5,
   "start_elevation_m": 496.60297868566,
   "end_elevation_m": 498.0318758291896,
   "start_xy": [
    1258130.6643222868,
    5009465.545483988
   ],
   "end_xy": [
    1258129.4666638502,
    5009470.399926723
   ]
  },
  "max_10m": {
   "gradient_pct": 23.93409453137906,
   "start_distance_m": 1421.0,
   "end_distance_m": 1431.0,
   "midpoint_distance_m": 1426.0,
   "start_elevation_m": 495.7716104167958,
   "end_elevation_m": 498.1650198699337,
   "start_xy": [
    1258131.6224490362,
    5009461.661929799
   ],
   "end_xy": [
    1258129.227132163,
    5009471.37081527
   ]
  },
  "max_20m": {
   "gradient_pct": 20.430049659268263,
   "start_distance_m": 309.0,
   "end_distance_m": 329.0,
   "midpoint_distance_m": 319.0,
   "start_elevation_m": 406.7697981896357,
   "end_elevation_m": 410.85580812148936,
   "start_xy": [
    1258661.3052282769,
    5009151.682700754
   ],
   "end_xy": [
    1258660.9511727036,
    5009133.1193005815
   ]
  },
  "max_25m": {
   "gradient_pct": 20.274796964523148,
   "start_distance_m": 309.0,
   "end_distance_m": 334.0,
   "midpoint_distance_m": 321.5,
   "start_elevation_m": 406.7697981896357,
   "end_elevation_m": 411.8384974307665,
   "start_xy": [
    1258661.3052282769,
    5009151.682700754
   ],
   "end_xy": [
    1258664.5534668132,
    5009129.701571075
   ]
  },
  "max_50m": {
   "gradient_pct": 18.988418586981425,
   "start_distance_m": 298.0,
   "end_distance_m": 348.0,
   "midpoint_distance_m": 323.0,
   "start_elevation_m": 404.86572503916614,
   "end_elevation_m": 414.35993433265685,
   "start_xy": [
    1258669.782161568,
    5009158.559326493
   ],
   "end_xy": [
    1258677.7175061,
    5009125.328821629
   ]
  },
  "max_100m": {
   "gradient_pct": 16.455352687740117,
   "start_distance_m": 391.0,
   "end_distance_m": 491.0,
   "midpoint_distance_m": 441.0,
   "start_elevation_m": 418.56124029418277,
   "end_elevation_m": 435.0165929819229,
   "start_xy": [
    1258685.1493302574,
    5009110.972495587
   ],
   "end_xy": [
    1258695.1534958468,
    5009054.111768699
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -27.448065569011533,
   "start_distance_m": 1448.0,
   "end_distance_m": 1453.0,
   "midpoint_distance_m": 1450.5,
   "start_elevation_m": 498.28558439935773,
   "end_elevation_m": 496.91318112090715,
   "start_xy": [
    1258125.1550934785,
    5009487.8759205695
   ],
   "end_xy": [
    1258123.957435042,
    5009492.730363305
   ]
  },
  "min_10m": {
   "gradient_pct": -17.29642323858741,
   "start_distance_m": 1444.0,
   "end_distance_m": 1454.0,
   "midpoint_distance_m": 1449.0,
   "start_elevation_m": 498.523750234565,
   "end_elevation_m": 496.79410791070626,
   "start_xy": [
    1258126.1132202276,
    5009483.992366381
   ],
   "end_xy": [
    1258123.7179033544,
    5009493.701251851
   ]
  },
  "min_20m": {
   "gradient_pct": -9.350055948954434,
   "start_distance_m": 1532.0,
   "end_distance_m": 1552.0,
   "midpoint_distance_m": 1542.0,
   "start_elevation_m": 498.27550206309223,
   "end_elevation_m": 496.40549087330135,
   "start_xy": [
    1258105.0344317432,
    5009569.43055852
   ],
   "end_xy": [
    1258098.9453991086,
    5009588.447367799
   ]
  },
  "min_25m": {
   "gradient_pct": -8.093838288476263,
   "start_distance_m": 1527.0,
   "end_distance_m": 1552.0,
   "midpoint_distance_m": 1539.5,
   "start_elevation_m": 498.4289504454204,
   "end_elevation_m": 496.40549087330135,
   "start_xy": [
    1258106.2320901798,
    5009564.576115785
   ],
   "end_xy": [
    1258098.9453991086,
    5009588.447367799
   ]
  },
  "min_50m": {
   "gradient_pct": -6.150907970956382,
   "start_distance_m": 1522.0,
   "end_distance_m": 1572.0,
   "midpoint_distance_m": 1547.0,
   "start_elevation_m": 498.6153702958871,
   "end_elevation_m": 495.5399163104089,
   "start_xy": [
    1258107.4297486164,
    5009559.72167305
   ],
   "end_xy": [
    1258091.953098535,
    5009607.1852367455
   ]
  },
  "min_100m": {
   "gradient_pct": -4.32173446319257,
   "start_distance_m": 1493.0,
   "end_distance_m": 1593.0,
   "midpoint_distance_m": 1543.0,
   "start_elevation_m": 499.67304705508434,
   "end_elevation_m": 495.35131259189177,
   "start_xy": [
    1258114.3761675488,
    5009531.565905186
   ],
   "end_xy": [
    1258084.611182933,
    5009626.859999141
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 32.381529221459004,
   "start_distance_m": 996.0,
   "end_distance_m": 998.0,
   "midpoint_distance_m": 997.0,
   "start_elevation_m": 466.76236994309147,
   "end_elevation_m": 467.41000052752065,
   "start_xy": [
    1258404.60095576,
    5009179.052552498
   ],
   "end_xy": [
    1258403.1051390448,
    5009180.380156488
   ]
  },
  "max_3m": {
   "gradient_pct": 29.670759505781536,
   "start_distance_m": 995.0,
   "end_distance_m": 998.0,
   "midpoint_distance_m": 996.5,
   "start_elevation_m": 466.5198777423472,
   "end_elevation_m": 467.41000052752065,
   "start_xy": [
    1258405.3488641179,
    5009178.388750504
   ],
   "end_xy": [
    1258403.1051390448,
    5009180.380156488
   ]
  }
 },
 "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.06,
   "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.156,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    10.0,
    20.0,
    25.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_suppression": {
   "masked_fraction": 0.164,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    10.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 1,
   "windows_masked": [
    {
     "window_m": 10.0,
     "start_m": 159.0,
     "end_m": 169.0,
     "raw_pct": 24.77,
     "reason": "mask-edge"
    }
   ],
   "advisory": [],
   "unresolved": []
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.334,
   "obstruction_max_height_m": 30.2,
   "flagged_windows_m": [
    5,
    10
   ]
  },
  "excluded_ranges_m": [
   [
    0.0,
    65.0
   ],
   [
    157.0,
    210.0
   ],
   [
    1063.0,
    1068.0
   ],
   [
    1086.0,
    1093.0
   ],
   [
    1130.0,
    1160.0
   ],
   [
    1163.0,
    1169.0
   ],
   [
    1200.0,
    1230.0
   ],
   [
    1350.0,
    1380.0
   ],
   [
    1383.0,
    1388.0
   ],
   [
    1390.0,
    1420.0
   ]
  ],
  "review": [],
  "extent": [
   "descends_at_start"
  ]
 },
 "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-s1",
   "road_pbf": "block-batch-nz-s1.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:65f98740b9968e3e"
  },
  "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/CB11.tiff",
   "data/cache/nz/CC11.tiff"
  ],
  "calculated_at": "2026-09-28T05:03:48+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-s1.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-s1",
  "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": [
   "CB11",
   "CC11"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 6,
  "structure_mask_ranges_m": [
   [
    0.0,
    33.2
   ]
  ],
  "mask_basin_extension_m": 27.0,
  "carriageway": {
   "stations": 73,
   "stations_resolved": 73,
   "width_median_m": 4.25,
   "width_p10_m": 2.3,
   "width_min_m": 1.0,
   "width_max_m": 11.0,
   "bounded_share": 0.301,
   "unbounded_share": 0.699,
   "confidence_median": 0.0,
   "width_median_bounded_m": 3.38,
   "window_m": [
    309.0,
    334.0
   ],
   "width_at_max25_m": 7.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": 73,
    "stations_resolved": 73,
    "width_median_m": 4.25,
    "width_p10_m": 1.25,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.822,
    "unbounded_share": 0.178,
    "confidence_median": 1.0,
    "width_median_bounded_m": 3.75,
    "window_m": [
     309.0,
     334.0
    ],
    "width_at_max25_m": 6.5,
    "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": "Otago",
  "county": "Otago",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}