{
 "ocl_version": "0.1.0",
 "name": "Alley Road",
 "slug": "alley-road",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 45.04383771352991,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1063.0,
   "end_distance_m": 1065.0,
   "start_elevation_m": 158.1218736222803,
   "end_elevation_m": 159.0227503765509,
   "min_gradient_pct": -52.58641925273082,
   "suppressed_max_gradient_pct": 116.29201492397101,
   "suppressed_location_m": [
    952.0,
    954.0
   ],
   "suppressed_min_gradient_pct": -111.73515616174399,
   "suppressed_min_location_m": [
    982.0,
    984.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 38.65586667266522,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "placement_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1063.0,
   "end_distance_m": 1066.0,
   "start_elevation_m": 158.1218736222803,
   "end_elevation_m": 159.28154962246026,
   "min_gradient_pct": -51.00066522601594,
   "suppressed_max_gradient_pct": 112.62408437992804,
   "suppressed_location_m": [
    951.0,
    954.0
   ],
   "suppressed_min_gradient_pct": -107.87692181158472,
   "suppressed_min_location_m": [
    981.0,
    984.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 29.780162163906,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "suppression_unstable",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 351.0,
   "end_distance_m": 356.0,
   "start_elevation_m": 50.406106863616685,
   "end_elevation_m": 51.895114971811985,
   "min_gradient_pct": -44.994041918912444,
   "suppressed_max_gradient_pct": 107.28621025697805,
   "suppressed_location_m": [
    949.0,
    954.0
   ],
   "suppressed_min_gradient_pct": -104.13227117715621,
   "suppressed_min_location_m": [
    979.0,
    984.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 26.281309178322875,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 351.0,
   "end_distance_m": 361.0,
   "start_elevation_m": 50.406106863616685,
   "end_elevation_m": 53.03423778144897,
   "min_gradient_pct": -25.776573788603798,
   "suppressed_max_gradient_pct": 83.85150915348532,
   "suppressed_location_m": [
    948.0,
    958.0
   ],
   "suppressed_min_gradient_pct": -66.96014989981364,
   "suppressed_min_location_m": [
    975.0,
    985.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 20.05291300848384,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "no_bench_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1199.0,
   "end_distance_m": 1219.0,
   "start_elevation_m": 188.85984594283764,
   "end_elevation_m": 192.8704285445344,
   "min_gradient_pct": -15.023230241230152,
   "suppressed_max_gradient_pct": 62.73691052123773,
   "suppressed_location_m": [
    620.0,
    640.0
   ],
   "suppressed_min_gradient_pct": -47.89390342205792,
   "suppressed_min_location_m": [
    978.0,
    998.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 19.744655150412342,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "no_bench_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 290.0,
   "end_distance_m": 315.0,
   "start_elevation_m": 38.08937331306475,
   "end_elevation_m": 43.02553710066783,
   "min_gradient_pct": -14.270531902069024,
   "suppressed_max_gradient_pct": 59.65076194095935,
   "suppressed_location_m": [
    620.0,
    645.0
   ],
   "suppressed_min_gradient_pct": -45.734185078603105,
   "suppressed_min_location_m": [
    977.0,
    1002.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 18.23008582778661,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "no_bench_excluded_min",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 269.0,
   "end_distance_m": 319.0,
   "start_elevation_m": 34.636316191133304,
   "end_elevation_m": 43.75135910502661,
   "min_gradient_pct": -3.5138932812623693,
   "suppressed_max_gradient_pct": 45.93671592421492,
   "suppressed_location_m": [
    791.0,
    841.0
   ],
   "suppressed_min_gradient_pct": -20.44149143066693,
   "suppressed_min_location_m": [
    960.0,
    1010.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 17.79736069563332,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 219.0,
   "end_distance_m": 319.0,
   "start_elevation_m": 25.95399840939329,
   "end_elevation_m": 43.75135910502661,
   "min_gradient_pct": -2.172459166490995,
   "suppressed_max_gradient_pct": 35.52791431268493,
   "suppressed_location_m": [
    746.0,
    846.0
   ],
   "suppressed_min_gradient_pct": -6.937339972053508,
   "suppressed_min_location_m": [
    960.0,
    1060.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.446,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 184.0,
  "shape_class": "sustained"
 },
 "length_m": 1803.6342141643524,
 "start_elevation_m": 16.930863889010524,
 "end_elevation_m": 216.8377754028637,
 "endpoint_gain_m": 199.90691151385317,
 "overall_gradient_pct": 11.083561730196646,
 "accumulated_ascent_m": 254.8179733110448,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 29.780162163906,
   "start_distance_m": 351.0,
   "end_distance_m": 356.0,
   "midpoint_distance_m": 353.5,
   "start_elevation_m": 50.406106863616685,
   "end_elevation_m": 51.895114971811985,
   "start_xy": [
    1888571.2390677156,
    5812832.031503553
   ],
   "end_xy": [
    1888566.277167633,
    5812831.41542923
   ]
  },
  "max_10m": {
   "gradient_pct": 26.281309178322875,
   "start_distance_m": 351.0,
   "end_distance_m": 361.0,
   "midpoint_distance_m": 356.0,
   "start_elevation_m": 50.406106863616685,
   "end_elevation_m": 53.03423778144897,
   "start_xy": [
    1888571.2390677156,
    5812832.031503553
   ],
   "end_xy": [
    1888561.3152675505,
    5812830.799354907
   ]
  },
  "max_20m": {
   "gradient_pct": 20.05291300848384,
   "start_distance_m": 1199.0,
   "end_distance_m": 1219.0,
   "midpoint_distance_m": 1209.0,
   "start_elevation_m": 188.85984594283764,
   "end_elevation_m": 192.8704285445344,
   "start_xy": [
    1888071.1730504874,
    5812621.51410675
   ],
   "end_xy": [
    1888056.5849350938,
    5812607.8493581535
   ]
  },
  "max_25m": {
   "gradient_pct": 19.744655150412342,
   "start_distance_m": 290.0,
   "end_distance_m": 315.0,
   "midpoint_distance_m": 302.5,
   "start_elevation_m": 38.08937331306475,
   "end_elevation_m": 43.02553710066783,
   "start_xy": [
    1888631.215956113,
    5812842.890430524
   ],
   "end_xy": [
    1888606.7424654155,
    5812837.830650893
   ]
  },
  "max_50m": {
   "gradient_pct": 18.23008582778661,
   "start_distance_m": 269.0,
   "end_distance_m": 319.0,
   "midpoint_distance_m": 294.0,
   "start_elevation_m": 34.636316191133304,
   "end_elevation_m": 43.75135910502661,
   "start_xy": [
    1888649.6392775476,
    5812852.603780249
   ],
   "end_xy": [
    1888602.8219576667,
    5812837.03716555
   ]
  },
  "max_100m": {
   "gradient_pct": 17.79736069563332,
   "start_distance_m": 219.0,
   "end_distance_m": 319.0,
   "midpoint_distance_m": 269.0,
   "start_elevation_m": 25.95399840939329,
   "end_elevation_m": 43.75135910502661,
   "start_xy": [
    1888661.7981312298,
    5812900.526610165
   ],
   "end_xy": [
    1888602.8219576667,
    5812837.03716555
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -44.994041918912444,
   "start_distance_m": 869.0,
   "end_distance_m": 874.0,
   "midpoint_distance_m": 871.5,
   "start_elevation_m": 147.6063955585848,
   "end_elevation_m": 145.35669346263919,
   "start_xy": [
    1888214.6739217893,
    5812758.440532846
   ],
   "end_xy": [
    1888210.8516886455,
    5812761.638772972
   ]
  },
  "min_10m": {
   "gradient_pct": -25.776573788603798,
   "start_distance_m": 864.0,
   "end_distance_m": 874.0,
   "midpoint_distance_m": 869.0,
   "start_elevation_m": 147.93435084149957,
   "end_elevation_m": 145.35669346263919,
   "start_xy": [
    1888218.4558381925,
    5812755.169889436
   ],
   "end_xy": [
    1888210.8516886455,
    5812761.638772972
   ]
  },
  "min_20m": {
   "gradient_pct": -15.023230241230152,
   "start_distance_m": 587.0,
   "end_distance_m": 607.0,
   "midpoint_distance_m": 597.0,
   "start_elevation_m": 90.55786628279509,
   "end_elevation_m": 87.55322023454906,
   "start_xy": [
    1888404.3522459902,
    5812695.962994903
   ],
   "end_xy": [
    1888402.4729233978,
    5812676.079362602
   ]
  },
  "min_25m": {
   "gradient_pct": -14.270531902069024,
   "start_distance_m": 587.0,
   "end_distance_m": 612.0,
   "midpoint_distance_m": 599.5,
   "start_elevation_m": 90.55786628279509,
   "end_elevation_m": 86.99023330727783,
   "start_xy": [
    1888404.3522459902,
    5812695.962994903
   ],
   "end_xy": [
    1888401.1581143325,
    5812671.309316755
   ]
  },
  "min_50m": {
   "gradient_pct": -3.5138932812623693,
   "start_distance_m": 1656.0,
   "end_distance_m": 1706.0,
   "midpoint_distance_m": 1681.0,
   "start_elevation_m": 215.79161321982002,
   "end_elevation_m": 214.03466657918884,
   "start_xy": [
    1887893.1531755838,
    5812260.285154147
   ],
   "end_xy": [
    1887923.9671316836,
    5812225.875293625
   ]
  },
  "min_100m": {
   "gradient_pct": -2.172459166490995,
   "start_distance_m": 1656.0,
   "end_distance_m": 1756.0,
   "midpoint_distance_m": 1706.0,
   "start_elevation_m": 215.79161321982002,
   "end_elevation_m": 213.61915405332903,
   "start_xy": [
    1887893.1531755838,
    5812260.285154147
   ],
   "end_xy": [
    1887968.6683643246,
    5812245.994330369
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 45.04383771352991,
   "start_distance_m": 1063.0,
   "end_distance_m": 1065.0,
   "midpoint_distance_m": 1064.0,
   "start_elevation_m": 158.1218736222803,
   "end_elevation_m": 159.0227503765509,
   "start_xy": [
    1888099.6542389418,
    5812700.52426464
   ],
   "end_xy": [
    1888100.7412813825,
    5812698.845473786
   ]
  },
  "max_3m": {
   "gradient_pct": 38.65586667266522,
   "start_distance_m": 1063.0,
   "end_distance_m": 1066.0,
   "midpoint_distance_m": 1064.5,
   "start_elevation_m": 158.1218736222803,
   "end_elevation_m": 159.28154962246026,
   "start_xy": [
    1888099.6542389418,
    5812700.52426464
   ],
   "end_xy": [
    1888101.284802603,
    5812698.006078359
   ]
  }
 },
 "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.131,
   "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,
    50.0,
    100.0
   ],
   "minima_unresolved": []
  },
  "no_bench_suppression": {
   "masked_fraction": 0.275,
   "windows_resited": [
    3.0,
    10.0,
    20.0,
    25.0,
    50.0,
    100.0
   ],
   "windows_unresolved": [],
   "minima_resited": [
    20.0,
    25.0,
    50.0
   ],
   "minima_unresolved": []
  },
  "placement_suppression": {
   "masked_fraction": 0.289,
   "windows_resited": [
    3.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_suppression": {
   "masked_fraction": 0.331,
   "windows_resited": [
    2.0,
    3.0,
    5.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 4,
   "windows_masked": [
    {
     "window_m": 25.0,
     "start_m": 1123.0,
     "end_m": 1148.0,
     "raw_pct": 25.13,
     "reason": "mask-edge"
    },
    {
     "window_m": 10.0,
     "start_m": 636.0,
     "end_m": 646.0,
     "raw_pct": 42.47,
     "reason": "hump+mask-edge"
    },
    {
     "window_m": 10.0,
     "start_m": 1170.0,
     "end_m": 1180.0,
     "raw_pct": 34.6,
     "reason": "hump+short-step"
    },
    {
     "window_m": 5.0,
     "start_m": 888.0,
     "end_m": 893.0,
     "raw_pct": 36.31,
     "reason": "mask-edge+short-step"
    },
    {
     "window_m": 5.0,
     "start_m": 843.0,
     "end_m": 848.0,
     "raw_pct": 34.76,
     "reason": "mask-edge"
    }
   ],
   "advisory": [],
   "unresolved": [],
   "unstable": [
    {
     "window_m": 5.0,
     "start_m": 640.0,
     "end_m": 645.0,
     "raw_pct": 47.31,
     "reason": "hump",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "hump",
      "hump",
      ""
     ]
    },
    {
     "window_m": 5.0,
     "start_m": 1174.0,
     "end_m": 1179.0,
     "raw_pct": 46.72,
     "reason": "hump",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "hump",
      "hump",
      ""
     ]
    }
   ]
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.684,
   "obstruction_max_height_m": 33.62,
   "flagged_windows_m": [
    2,
    3,
    5,
    10,
    20,
    25,
    50,
    100
   ]
  },
  "excluded_ranges_m": [
   [
    320.0,
    350.0
   ],
   [
    420.0,
    452.0
   ],
   [
    510.0,
    585.0
   ],
   [
    618.0,
    648.0
   ],
   [
    650.0,
    740.0
   ],
   [
    748.0,
    761.0
   ],
   [
    780.0,
    820.0
   ],
   [
    830.0,
    850.0
   ],
   [
    886.0,
    986.0
   ],
   [
    988.0,
    1060.0
   ],
   [
    1080.0,
    1150.0
   ],
   [
    1168.0,
    1182.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-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/BD37.tiff"
  ],
  "calculated_at": "2026-09-28T05:45:51+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": [
   "BD37"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 2,
  "suppression_unstable": [
   5.0
  ],
  "carriageway": {
   "stations": 78,
   "stations_resolved": 78,
   "width_median_m": 4.75,
   "width_p10_m": 2.5,
   "width_min_m": 1.25,
   "width_max_m": 11.5,
   "bounded_share": 0.256,
   "unbounded_share": 0.744,
   "confidence_median": 0.0,
   "width_median_bounded_m": 4.25,
   "window_m": [
    290.0,
    315.0
   ],
   "width_at_max25_m": 4.88,
   "window_stations": 6,
   "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.0,
    "width_p10_m": 0.93,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.949,
    "unbounded_share": 0.051,
    "confidence_median": 1.0,
    "width_median_bounded_m": 1.88,
    "window_m": [
     290.0,
     315.0
    ],
    "width_at_max25_m": 1.88,
    "window_stations": 6,
    "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": "Bay of Plenty",
  "county": "Bay of Plenty",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}