{
 "ocl_version": "0.1.0",
 "name": "Buffalo Road",
 "slug": "buffalo-road-2",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 41.53322086975493,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1119.0,
   "end_distance_m": 1121.0,
   "start_elevation_m": 147.87640204560867,
   "end_elevation_m": 148.70706646300377,
   "min_gradient_pct": -47.7640861706341,
   "suppressed_max_gradient_pct": 112.98658887253055,
   "suppressed_location_m": [
    1181.0,
    1183.0
   ],
   "suppressed_min_gradient_pct": -61.00918363896426,
   "suppressed_min_location_m": [
    1162.0,
    1164.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 34.21921167338363,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1086.0,
   "end_distance_m": 1089.0,
   "start_elevation_m": 140.7387077549019,
   "end_elevation_m": 141.7652841051034,
   "min_gradient_pct": -39.864841022291365,
   "suppressed_max_gradient_pct": 111.79883857366046,
   "suppressed_location_m": [
    1181.0,
    1184.0
   ],
   "suppressed_min_gradient_pct": -55.098173146614236,
   "suppressed_min_location_m": [
    1161.0,
    1164.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 32.9191028017226,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1085.0,
   "end_distance_m": 1090.0,
   "start_elevation_m": 140.4400553348471,
   "end_elevation_m": 142.08601047493323,
   "min_gradient_pct": -38.461595994884306,
   "suppressed_max_gradient_pct": 101.98271303710271,
   "suppressed_location_m": [
    1180.0,
    1185.0
   ],
   "suppressed_min_gradient_pct": -42.26077014459861,
   "suppressed_min_location_m": [
    1161.0,
    1166.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 28.947912376228544,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1080.0,
   "end_distance_m": 1090.0,
   "start_elevation_m": 139.19121923731038,
   "end_elevation_m": 142.08601047493323,
   "min_gradient_pct": -20.511153120665,
   "suppressed_max_gradient_pct": 79.3006378514923,
   "suppressed_location_m": [
    1177.0,
    1187.0
   ],
   "suppressed_min_gradient_pct": -30.650060533863552,
   "suppressed_min_location_m": [
    1160.0,
    1170.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 27.571129764795046,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "suppression_unstable",
    "texture_excluded",
    "texture_excluded_min",
    "texture_excluded_min",
    "canopy_or_structure"
   ],
   "start_distance_m": 1080.0,
   "end_distance_m": 1100.0,
   "start_elevation_m": 139.19121923731038,
   "end_elevation_m": 144.7054451902694,
   "min_gradient_pct": -3.1940024316369886,
   "suppressed_max_gradient_pct": 56.03481440491053,
   "suppressed_location_m": [
    1177.0,
    1197.0
   ],
   "suppressed_min_gradient_pct": -8.347165132699246,
   "suppressed_min_location_m": [
    1154.0,
    1174.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 26.299712422921516,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "texture_excluded",
    "texture_excluded_min",
    "canopy_or_structure"
   ],
   "start_distance_m": 1076.0,
   "end_distance_m": 1101.0,
   "start_elevation_m": 138.38278626812644,
   "end_elevation_m": 144.95771437385682,
   "min_gradient_pct": -0.26412231572260225,
   "suppressed_max_gradient_pct": 53.69118020511895,
   "suppressed_location_m": [
    1176.0,
    1201.0
   ],
   "suppressed_min_gradient_pct": -1.4022326618201078,
   "suppressed_min_location_m": [
    1149.0,
    1174.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 22.64969792150936,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "no_bench_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1071.0,
   "end_distance_m": 1121.0,
   "start_elevation_m": 137.3822175022491,
   "end_elevation_m": 148.70706646300377,
   "min_gradient_pct": 4.307777489205364,
   "suppressed_max_gradient_pct": 29.91580498241808,
   "suppressed_location_m": [
    1170.0,
    1220.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 18.81898412498316,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "no_bench_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 926.0,
   "end_distance_m": 1026.0,
   "start_elevation_m": 110.37071111839774,
   "end_elevation_m": 129.1896952433809,
   "min_gradient_pct": 4.699879535296006,
   "suppressed_max_gradient_pct": 25.471653731062133,
   "suppressed_location_m": [
    1105.0,
    1205.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.465,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 113.0,
  "shape_class": "stepped"
 },
 "length_m": 1275.4309681379143,
 "start_elevation_m": 36.62484311814511,
 "end_elevation_m": 179.09077956512223,
 "endpoint_gain_m": 142.46593644697714,
 "overall_gradient_pct": 11.170023310236267,
 "accumulated_ascent_m": 150.50453764167062,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 32.9191028017226,
   "start_distance_m": 1085.0,
   "end_distance_m": 1090.0,
   "midpoint_distance_m": 1087.5,
   "start_elevation_m": 140.4400553348471,
   "end_elevation_m": 142.08601047493323,
   "start_xy": [
    1824291.0677458986,
    5931125.678687293
   ],
   "end_xy": [
    1824294.8959775956,
    5931128.892429115
   ]
  },
  "max_10m": {
   "gradient_pct": 28.947912376228544,
   "start_distance_m": 1080.0,
   "end_distance_m": 1090.0,
   "midpoint_distance_m": 1085.0,
   "start_elevation_m": 139.19121923731038,
   "end_elevation_m": 142.08601047493323,
   "start_xy": [
    1824287.314989475,
    5931122.374626273
   ],
   "end_xy": [
    1824294.8959775956,
    5931128.892429115
   ]
  },
  "max_20m": {
   "gradient_pct": 27.571129764795046,
   "start_distance_m": 1080.0,
   "end_distance_m": 1100.0,
   "midpoint_distance_m": 1090.0,
   "start_elevation_m": 139.19121923731038,
   "end_elevation_m": 144.7054451902694,
   "start_xy": [
    1824287.314989475,
    5931122.374626273
   ],
   "end_xy": [
    1824302.732281605,
    5931135.104702408
   ]
  },
  "max_25m": {
   "gradient_pct": 26.299712422921516,
   "start_distance_m": 1076.0,
   "end_distance_m": 1101.0,
   "midpoint_distance_m": 1088.5,
   "start_elevation_m": 138.38278626812644,
   "end_elevation_m": 144.95771437385682,
   "start_xy": [
    1824284.3127843363,
    5931119.731377456
   ],
   "end_xy": [
    1824303.50185611,
    5931135.743037903
   ]
  },
  "max_50m": {
   "gradient_pct": 22.64969792150936,
   "start_distance_m": 1071.0,
   "end_distance_m": 1121.0,
   "midpoint_distance_m": 1096.0,
   "start_elevation_m": 137.3822175022491,
   "end_elevation_m": 148.70706646300377,
   "start_xy": [
    1824281.6876051794,
    5931115.750872064
   ],
   "end_xy": [
    1824318.4109620505,
    5931149.02333139
   ]
  },
  "max_100m": {
   "gradient_pct": 18.81898412498316,
   "start_distance_m": 926.0,
   "end_distance_m": 1026.0,
   "midpoint_distance_m": 976.0,
   "start_elevation_m": 110.37071111839774,
   "end_elevation_m": 129.1896952433809,
   "start_xy": [
    1824197.7742713059,
    5931014.671695362
   ],
   "end_xy": [
    1824267.647322221,
    5931073.226561674
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -38.461595994884306,
   "start_distance_m": 890.0,
   "end_distance_m": 895.0,
   "midpoint_distance_m": 892.5,
   "start_elevation_m": 107.38921130565593,
   "end_elevation_m": 105.46613150591172,
   "start_xy": [
    1824172.149042695,
    5930990.1288545905
   ],
   "end_xy": [
    1824175.2464441936,
    5930994.053915604
   ]
  },
  "min_10m": {
   "gradient_pct": -20.511153120665,
   "start_distance_m": 887.0,
   "end_distance_m": 897.0,
   "midpoint_distance_m": 892.0,
   "start_elevation_m": 107.42627623242741,
   "end_elevation_m": 105.37516092036091,
   "start_xy": [
    1824170.290601796,
    5930987.7738179825
   ],
   "end_xy": [
    1824176.4854047932,
    5930995.623940009
   ]
  },
  "min_20m": {
   "gradient_pct": -3.1940024316369886,
   "start_distance_m": 1206.0,
   "end_distance_m": 1226.0,
   "midpoint_distance_m": 1216.0,
   "start_elevation_m": 171.19962519031077,
   "end_elevation_m": 170.56082470398337,
   "start_xy": [
    1824390.8753866758,
    5931165.391572009
   ],
   "end_xy": [
    1824409.8393165898,
    5931160.616036089
   ]
  },
  "min_25m": {
   "gradient_pct": -0.26412231572260225,
   "start_distance_m": 1206.0,
   "end_distance_m": 1231.0,
   "midpoint_distance_m": 1218.5,
   "start_elevation_m": 171.19962519031077,
   "end_elevation_m": 171.13359461138012,
   "start_xy": [
    1824390.8753866758,
    5931165.391572009
   ],
   "end_xy": [
    1824414.8319461234,
    5931160.887422053
   ]
  },
  "min_50m": {
   "gradient_pct": 4.307777489205364,
   "start_distance_m": 420.0,
   "end_distance_m": 470.0,
   "midpoint_distance_m": 445.0,
   "start_elevation_m": 62.75045876767558,
   "end_elevation_m": 64.90434751227826,
   "start_xy": [
    1823778.59470408,
    5930773.213534293
   ],
   "end_xy": [
    1823819.1811854523,
    5930799.735808305
   ]
  },
  "min_100m": {
   "gradient_pct": 4.699879535296006,
   "start_distance_m": 137.0,
   "end_distance_m": 237.0,
   "midpoint_distance_m": 187.0,
   "start_elevation_m": 43.57123311588661,
   "end_elevation_m": 48.27111265118262,
   "start_xy": [
    1823550.612656637,
    5930621.6322814375
   ],
   "end_xy": [
    1823643.5800998681,
    5930658.464265666
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 41.53322086975493,
   "start_distance_m": 1119.0,
   "end_distance_m": 1121.0,
   "midpoint_distance_m": 1120.0,
   "start_elevation_m": 147.87640204560867,
   "end_elevation_m": 148.70706646300377,
   "start_xy": [
    1824317.1339110506,
    5931147.484130057
   ],
   "end_xy": [
    1824318.4109620505,
    5931149.02333139
   ]
  },
  "max_3m": {
   "gradient_pct": 34.21921167338363,
   "start_distance_m": 1086.0,
   "end_distance_m": 1089.0,
   "midpoint_distance_m": 1087.5,
   "start_elevation_m": 140.7387077549019,
   "end_elevation_m": 141.7652841051034,
   "start_xy": [
    1824291.8182971834,
    5931126.339499497
   ],
   "end_xy": [
    1824294.1123471945,
    5931128.271201787
   ]
  }
 },
 "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.025,
   "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.042,
   "windows_resited": [
    25.0,
    50.0,
    100.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_suppression": {
   "masked_fraction": 0.089,
   "windows_resited": [
    2.0,
    3.0,
    5.0
   ],
   "windows_unresolved": [],
   "minima_resited": [
    20.0,
    25.0
   ],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 3,
   "windows_masked": [
    {
     "window_m": 25.0,
     "start_m": 1124.0,
     "end_m": 1149.0,
     "raw_pct": 29.2,
     "reason": "mask-edge"
    },
    {
     "window_m": 5.0,
     "start_m": 901.0,
     "end_m": 906.0,
     "raw_pct": 42.92,
     "reason": "hump"
    },
    {
     "window_m": 10.0,
     "start_m": 1039.0,
     "end_m": 1049.0,
     "raw_pct": 31.08,
     "reason": "mask-edge"
    },
    {
     "window_m": 5.0,
     "start_m": 1038.0,
     "end_m": 1043.0,
     "raw_pct": 39.46,
     "reason": "mask-edge+short-step"
    },
    {
     "window_m": 5.0,
     "start_m": 1198.0,
     "end_m": 1203.0,
     "raw_pct": 38.31,
     "reason": "mask-edge"
    }
   ],
   "advisory": [],
   "unresolved": [],
   "unstable": [
    {
     "window_m": 20.0,
     "start_m": 1125.0,
     "end_m": 1145.0,
     "raw_pct": 29.8,
     "reason": "mask-edge",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "mask-edge",
      "",
      "mask-edge"
     ]
    }
   ]
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.677,
   "obstruction_max_height_m": 29.36,
   "flagged_windows_m": [
    2,
    3,
    5,
    10,
    20,
    25,
    50,
    100
   ]
  },
  "excluded_ranges_m": [
   [
    899.0,
    908.0
   ],
   [
    1031.0,
    1051.0
   ],
   [
    1122.0,
    1190.0
   ],
   [
    1192.0,
    1205.0
   ]
  ],
  "review": [],
  "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-n4",
   "road_pbf": "block-batch-nz-n4.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:390129777b339b3d"
  },
  "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/BA34.tiff"
  ],
  "calculated_at": "2026-09-28T05:30:31+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-n4.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-n4",
  "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": [
   "BA34"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 2,
  "suppression_unstable": [
   20.0
  ],
  "carriageway": {
   "stations": 58,
   "stations_resolved": 58,
   "width_median_m": 4.75,
   "width_p10_m": 2.25,
   "width_min_m": 1.0,
   "width_max_m": 12.0,
   "bounded_share": 0.362,
   "unbounded_share": 0.638,
   "confidence_median": 0.0,
   "width_median_bounded_m": 4.0,
   "window_m": [
    1076.0,
    1101.0
   ],
   "width_at_max25_m": 3.75,
   "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": 58,
    "stations_resolved": 58,
    "width_median_m": 2.25,
    "width_p10_m": 0.5,
    "width_min_m": 0.0,
    "width_max_m": 12.0,
    "bounded_share": 0.862,
    "unbounded_share": 0.138,
    "confidence_median": 1.0,
    "width_median_bounded_m": 2.0,
    "window_m": [
     1076.0,
     1101.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": "Waikato",
  "county": "Waikato",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}