{
 "ocl_version": "0.1.0",
 "name": "Stony Bay Road",
 "slug": "stony-bay-road",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 44.83082977244237,
   "diagnostic": true,
   "flags": [
    "no_bench_excluded_min",
    "canopy_or_structure"
   ],
   "start_distance_m": 1200.0,
   "end_distance_m": 1202.0,
   "start_elevation_m": 427.303192052781,
   "end_elevation_m": 428.19980864822986,
   "min_gradient_pct": -14.445903272542182,
   "suppressed_min_gradient_pct": -20.199469576070328,
   "suppressed_min_location_m": [
    703.0,
    705.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 40.51742714185593,
   "diagnostic": true,
   "flags": [
    "no_bench_excluded_min",
    "canopy_or_structure"
   ],
   "start_distance_m": 1274.0,
   "end_distance_m": 1277.0,
   "start_elevation_m": 435.6440985901272,
   "end_elevation_m": 436.8596214043829,
   "min_gradient_pct": -9.253368378762161,
   "suppressed_min_gradient_pct": -18.47163903770858,
   "suppressed_min_location_m": [
    702.0,
    705.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 35.584018187436186,
   "diagnostic": false,
   "flags": [
    "no_bench_excluded_min",
    "suppression_unstable",
    "canopy_or_structure"
   ],
   "start_distance_m": 1312.0,
   "end_distance_m": 1317.0,
   "start_elevation_m": 440.68719699695544,
   "end_elevation_m": 442.46639790632724,
   "min_gradient_pct": -4.6294702551995215,
   "suppressed_min_gradient_pct": -12.90906381033551,
   "suppressed_min_location_m": [
    701.0,
    706.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 29.572654192746768,
   "diagnostic": false,
   "flags": [
    "no_bench_excluded_min",
    "canopy_or_structure"
   ],
   "start_distance_m": 1309.0,
   "end_distance_m": 1319.0,
   "start_elevation_m": 439.9576286084415,
   "end_elevation_m": 442.9148940277162,
   "min_gradient_pct": 0.7174668035924014,
   "suppressed_min_gradient_pct": -3.3758027675344238,
   "suppressed_min_location_m": [
    697.0,
    707.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 23.856805419226816,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 1308.0,
   "end_distance_m": 1328.0,
   "start_elevation_m": 439.7690080303817,
   "end_elevation_m": 444.5403691142271,
   "min_gradient_pct": 1.0941457049801784
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 22.538318346980304,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 1308.0,
   "end_distance_m": 1333.0,
   "start_elevation_m": 439.7690080303817,
   "end_elevation_m": 445.4035876171268,
   "min_gradient_pct": 1.3310716758135186
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 19.938068690034356,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 1308.0,
   "end_distance_m": 1358.0,
   "start_elevation_m": 439.7690080303817,
   "end_elevation_m": 449.7380423753989,
   "min_gradient_pct": 2.3561068338618725
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 17.921199984398868,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 1308.0,
   "end_distance_m": 1408.0,
   "start_elevation_m": 439.7690080303817,
   "end_elevation_m": 457.6902080147806,
   "min_gradient_pct": 3.1750434223527577
  }
 ],
 "shape": {
  "ascent_concentration": 0.296,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 565.0,
  "shape_class": "sustained"
 },
 "length_m": 3413.981477188069,
 "start_elevation_m": 281.7667898497568,
 "end_elevation_m": 685.4005859838434,
 "endpoint_gain_m": 403.6337961340866,
 "overall_gradient_pct": 11.822963857042955,
 "accumulated_ascent_m": 405.35928335870386,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 35.584018187436186,
   "start_distance_m": 1312.0,
   "end_distance_m": 1317.0,
   "midpoint_distance_m": 1314.5,
   "start_elevation_m": 440.68719699695544,
   "end_elevation_m": 442.46639790632724,
   "start_xy": [
    1599034.4382385886,
    5147684.916504582
   ],
   "end_xy": [
    1599029.4382907036,
    5147684.939333246
   ]
  },
  "max_10m": {
   "gradient_pct": 29.572654192746768,
   "start_distance_m": 1309.0,
   "end_distance_m": 1319.0,
   "midpoint_distance_m": 1314.0,
   "start_elevation_m": 439.9576286084415,
   "end_elevation_m": 442.9148940277162,
   "start_xy": [
    1599037.4365949305,
    5147684.933002728
   ],
   "end_xy": [
    1599027.4383115496,
    5147684.948464711
   ]
  },
  "max_20m": {
   "gradient_pct": 23.856805419226816,
   "start_distance_m": 1308.0,
   "end_distance_m": 1328.0,
   "midpoint_distance_m": 1318.0,
   "start_elevation_m": 439.7690080303817,
   "end_elevation_m": 444.5403691142271,
   "start_xy": [
    1599038.430411739,
    5147685.0440349355
   ],
   "end_xy": [
    1599018.4384053568,
    5147684.989556304
   ]
  },
  "max_25m": {
   "gradient_pct": 22.538318346980304,
   "start_distance_m": 1308.0,
   "end_distance_m": 1333.0,
   "midpoint_distance_m": 1320.5,
   "start_elevation_m": 439.7690080303817,
   "end_elevation_m": 445.4035876171268,
   "start_xy": [
    1599038.430411739,
    5147685.0440349355
   ],
   "end_xy": [
    1599013.440361448,
    5147685.099088145
   ]
  },
  "max_50m": {
   "gradient_pct": 19.938068690034356,
   "start_distance_m": 1308.0,
   "end_distance_m": 1358.0,
   "midpoint_distance_m": 1333.0,
   "start_elevation_m": 439.7690080303817,
   "end_elevation_m": 449.7380423753989,
   "start_xy": [
    1599038.430411739,
    5147685.0440349355
   ],
   "end_xy": [
    1598988.4706337908,
    5147686.288180094
   ]
  },
  "max_100m": {
   "gradient_pct": 17.921199984398868,
   "start_distance_m": 1308.0,
   "end_distance_m": 1408.0,
   "midpoint_distance_m": 1358.0,
   "start_elevation_m": 439.7690080303817,
   "end_elevation_m": 457.6902080147806,
   "start_xy": [
    1599038.430411739,
    5147685.0440349355
   ],
   "end_xy": [
    1598941.894629971,
    5147702.792974632
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -4.6294702551995215,
   "start_distance_m": 1205.0,
   "end_distance_m": 1210.0,
   "midpoint_distance_m": 1207.5,
   "start_elevation_m": 428.78808031485937,
   "end_elevation_m": 428.5566068020994,
   "start_xy": [
    1599127.4133540697,
    5147653.524534201
   ],
   "end_xy": [
    1599123.1907049972,
    5147651.029482322
   ]
  },
  "min_10m": {
   "gradient_pct": 0.7174668035924014,
   "start_distance_m": 169.0,
   "end_distance_m": 179.0,
   "midpoint_distance_m": 174.0,
   "start_elevation_m": 300.9184268798214,
   "end_elevation_m": 300.99017356018066,
   "start_xy": [
    1599186.7135049293,
    5148182.2357480265
   ],
   "end_xy": [
    1599188.2108290272,
    5148192.120692764
   ]
  },
  "min_20m": {
   "gradient_pct": 1.0941457049801784,
   "start_distance_m": 165.0,
   "end_distance_m": 185.0,
   "midpoint_distance_m": 175.0,
   "start_elevation_m": 300.8879948730472,
   "end_elevation_m": 301.10682401404324,
   "start_xy": [
    1599185.7457858329,
    5148178.354572979
   ],
   "end_xy": [
    1599189.0804806794,
    5148198.057333734
   ]
  },
  "min_25m": {
   "gradient_pct": 1.3310716758135186,
   "start_distance_m": 165.0,
   "end_distance_m": 190.0,
   "midpoint_distance_m": 177.5,
   "start_elevation_m": 300.8879948730472,
   "end_elevation_m": 301.2207627920006,
   "start_xy": [
    1599185.7457858329,
    5148178.354572979
   ],
   "end_xy": [
    1599190.1175590765,
    5148202.931989041
   ]
  },
  "min_50m": {
   "gradient_pct": 2.3561068338618725,
   "start_distance_m": 165.0,
   "end_distance_m": 215.0,
   "midpoint_distance_m": 190.0,
   "start_elevation_m": 300.8879948730472,
   "end_elevation_m": 302.06604828997814,
   "start_xy": [
    1599185.7457858329,
    5148178.354572979
   ],
   "end_xy": [
    1599200.734478583,
    5148225.387643025
   ]
  },
  "min_100m": {
   "gradient_pct": 3.1750434223527577,
   "start_distance_m": 155.0,
   "end_distance_m": 255.0,
   "midpoint_distance_m": 205.0,
   "start_elevation_m": 300.36451197320724,
   "end_elevation_m": 303.53955539556,
   "start_xy": [
    1599182.6969948348,
    5148168.8801323185
   ],
   "end_xy": [
    1599224.324690599,
    5148257.588399745
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 44.83082977244237,
   "start_distance_m": 1200.0,
   "end_distance_m": 1202.0,
   "midpoint_distance_m": 1201.0,
   "start_elevation_m": 427.303192052781,
   "end_elevation_m": 428.19980864822986,
   "start_xy": [
    1599131.279991205,
    5147656.69456847
   ],
   "end_xy": [
    1599129.7333363509,
    5147655.426554763
   ]
  },
  "max_3m": {
   "gradient_pct": 40.51742714185593,
   "start_distance_m": 1274.0,
   "end_distance_m": 1277.0,
   "midpoint_distance_m": 1275.5,
   "start_elevation_m": 435.6440985901272,
   "end_elevation_m": 436.8596214043829,
   "start_xy": [
    1599071.9202704309,
    5147684.300577352
   ],
   "end_xy": [
    1599069.0760106752,
    5147685.254614271
   ]
  }
 },
 "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.002,
   "windows_resited": [],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "no_bench_suppression": {
   "masked_fraction": 0.046,
   "windows_resited": [],
   "windows_unresolved": [],
   "minima_resited": [
    2.0,
    3.0,
    5.0,
    10.0
   ],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 0,
   "windows_masked": [],
   "advisory": [],
   "unresolved": [],
   "unstable": [
    {
     "window_m": 5.0,
     "start_m": 1312.0,
     "end_m": 1317.0,
     "raw_pct": 35.58,
     "reason": "short-step",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "short-step",
      "",
      ""
     ]
    }
   ]
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.124,
   "obstruction_max_height_m": 44.9,
   "flagged_windows_m": [
    2,
    3,
    5,
    10,
    20,
    25,
    50,
    100
   ]
  },
  "excluded_ranges_m": [
   [
    560.0,
    710.0
   ],
   [
    1027.0,
    1032.0
   ]
  ],
  "review": [],
  "extent": [
   "may_start_earlier",
   "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-s3",
   "road_pbf": "block-batch-nz-s3.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/BY25.tiff"
  ],
  "calculated_at": "2026-09-28T05:30:02+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-s3.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-s3",
  "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": [
   "BY25"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": "none \u2014 the route carried no way list and no mapped way runs along it; own decks unmasked",
  "suppression_unstable": [
   5.0
  ],
  "carriageway": {
   "stations": 143,
   "stations_resolved": 143,
   "width_median_m": 4.25,
   "width_p10_m": 3.5,
   "width_min_m": 2.0,
   "width_max_m": 12.0,
   "bounded_share": 0.497,
   "unbounded_share": 0.503,
   "confidence_median": 0.0,
   "width_median_bounded_m": 4.25,
   "window_m": [
    1308.0,
    1333.0
   ],
   "width_at_max25_m": 10.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": 143,
    "stations_resolved": 143,
    "width_median_m": 5.5,
    "width_p10_m": 1.3,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.937,
    "unbounded_share": 0.063,
    "confidence_median": 1.0,
    "width_median_bounded_m": 5.25,
    "window_m": [
     1308.0,
     1333.0
    ],
    "width_at_max25_m": 2.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": "Banks Peninsula Community",
  "county": "Canterbury",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}