{
 "ocl_version": "0.1.0",
 "name": "Wainui Valley Road",
 "slug": "wainui-valley-road",
 "confidence": "U",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 45.67723882480976,
   "diagnostic": true,
   "flags": [
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1373.0,
   "end_distance_m": 1375.0,
   "start_elevation_m": 181.90564666123245,
   "end_elevation_m": 182.81919143772865,
   "min_gradient_pct": -26.455109527789133,
   "suppressed_max_gradient_pct": 57.645817850163894,
   "suppressed_location_m": [
    1678.0,
    1680.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 45.43279128037625,
   "diagnostic": true,
   "flags": [
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1373.0,
   "end_distance_m": 1376.0,
   "start_elevation_m": 181.90564666123245,
   "end_elevation_m": 183.26863039964374,
   "min_gradient_pct": -23.076978147364713,
   "suppressed_max_gradient_pct": 54.21386556272978,
   "suppressed_location_m": [
    1677.0,
    1680.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 37.92465147136852,
   "diagnostic": false,
   "flags": [
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1372.0,
   "end_distance_m": 1377.0,
   "start_elevation_m": 181.64710461379858,
   "end_elevation_m": 183.543337187367,
   "min_gradient_pct": -22.672300387293802,
   "suppressed_max_gradient_pct": 47.63610030139262,
   "suppressed_location_m": [
    1676.0,
    1681.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 33.92408516101597,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "no_bench_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1367.0,
   "end_distance_m": 1377.0,
   "start_elevation_m": 180.1509286712654,
   "end_elevation_m": 183.543337187367,
   "min_gradient_pct": -17.199760909790527,
   "suppressed_max_gradient_pct": 41.73979972208883,
   "suppressed_location_m": [
    1390.0,
    1400.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 23.169765871680568,
   "diagnostic": false,
   "flags": [
    "no_bench_excluded",
    "texture_excluded",
    "suppression_unstable",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_unresolved",
    "canopy_or_structure"
   ],
   "start_distance_m": 999.0,
   "end_distance_m": 1019.0,
   "start_elevation_m": 120.48177963574176,
   "end_elevation_m": 125.11573281007787,
   "min_gradient_pct": -10.001428351861037,
   "suppressed_max_gradient_pct": 36.33815049243822,
   "suppressed_location_m": [
    1570.0,
    1590.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 23.807771055907725,
   "diagnostic": false,
   "flags": [
    "no_bench_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_unresolved",
    "canopy_or_structure"
   ],
   "start_distance_m": 996.0,
   "end_distance_m": 1021.0,
   "start_elevation_m": 119.55304097311061,
   "end_elevation_m": 125.50498373708754,
   "min_gradient_pct": -8.637730037275304,
   "suppressed_max_gradient_pct": 36.64265401713715,
   "suppressed_location_m": [
    1568.0,
    1593.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 20.716671447963844,
   "diagnostic": false,
   "flags": [
    "no_bench_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1304.0,
   "end_distance_m": 1354.0,
   "start_elevation_m": 166.63827686050794,
   "end_elevation_m": 176.99661258448987,
   "min_gradient_pct": -5.331311883596754,
   "suppressed_max_gradient_pct": 29.979933131888682,
   "suppressed_location_m": [
    1552.0,
    1602.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 16.842631075931166,
   "diagnostic": false,
   "flags": [
    "no_bench_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 955.0,
   "end_distance_m": 1055.0,
   "start_elevation_m": 114.46804406436175,
   "end_elevation_m": 131.31067514029291,
   "min_gradient_pct": -0.5659484562563435,
   "suppressed_max_gradient_pct": 25.685319316293686,
   "suppressed_location_m": [
    1555.0,
    1655.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.387,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 139.0,
  "shape_class": "sustained"
 },
 "length_m": 1751.6492006150659,
 "start_elevation_m": 29.77162809243594,
 "end_elevation_m": 259.7016828934328,
 "endpoint_gain_m": 229.93005480099686,
 "overall_gradient_pct": 13.126489865679742,
 "accumulated_ascent_m": 240.28344671544724,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 37.92465147136852,
   "start_distance_m": 1372.0,
   "end_distance_m": 1377.0,
   "midpoint_distance_m": 1374.5,
   "start_elevation_m": 181.64710461379858,
   "end_elevation_m": 183.543337187367,
   "start_xy": [
    1590464.951658505,
    5149294.806198054
   ],
   "end_xy": [
    1590461.263633112,
    5149298.182359884
   ]
  },
  "max_10m": {
   "gradient_pct": 33.92408516101597,
   "start_distance_m": 1367.0,
   "end_distance_m": 1377.0,
   "midpoint_distance_m": 1372.0,
   "start_elevation_m": 180.1509286712654,
   "end_elevation_m": 183.543337187367,
   "start_xy": [
    1590468.639683898,
    5149291.430036224
   ],
   "end_xy": [
    1590461.263633112,
    5149298.182359884
   ]
  },
  "max_20m": {
   "gradient_pct": 23.169765871680568,
   "start_distance_m": 999.0,
   "end_distance_m": 1019.0,
   "midpoint_distance_m": 1009.0,
   "start_elevation_m": 120.48177963574176,
   "end_elevation_m": 125.11573281007787,
   "start_xy": [
    1590778.8660638307,
    5149178.0194674395
   ],
   "end_xy": [
    1590759.1774121479,
    5149180.175088157
   ]
  },
  "max_25m": {
   "gradient_pct": 23.807771055907725,
   "start_distance_m": 996.0,
   "end_distance_m": 1021.0,
   "midpoint_distance_m": 1008.5,
   "start_elevation_m": 119.55304097311061,
   "end_elevation_m": 125.50498373708754,
   "start_xy": [
    1590781.8214275928,
    5149177.503885211
   ],
   "end_xy": [
    1590757.2150118656,
    5149179.789102235
   ]
  },
  "max_50m": {
   "gradient_pct": 20.716671447963844,
   "start_distance_m": 1304.0,
   "end_distance_m": 1354.0,
   "midpoint_distance_m": 1329.0,
   "start_elevation_m": 166.63827686050794,
   "end_elevation_m": 176.99661258448987,
   "start_xy": [
    1590515.108803851,
    5149248.890397171
   ],
   "end_xy": [
    1590478.2285499203,
    5149282.652015467
   ]
  },
  "max_100m": {
   "gradient_pct": 16.842631075931166,
   "start_distance_m": 955.0,
   "end_distance_m": 1055.0,
   "midpoint_distance_m": 1005.0,
   "start_elevation_m": 114.46804406436175,
   "end_elevation_m": 131.31067514029291,
   "start_xy": [
    1590821.3681347428,
    5149166.845546667
   ],
   "end_xy": [
    1590726.3067868766,
    5149167.497011224
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -22.672300387293802,
   "start_distance_m": 195.0,
   "end_distance_m": 200.0,
   "midpoint_distance_m": 197.5,
   "start_elevation_m": 38.04307261231096,
   "end_elevation_m": 36.90945759294627,
   "start_xy": [
    1591443.9023171107,
    5149209.585038836
   ],
   "end_xy": [
    1591442.6358901144,
    5149214.421996833
   ]
  },
  "min_10m": {
   "gradient_pct": -17.199760909790527,
   "start_distance_m": 191.0,
   "end_distance_m": 201.0,
   "midpoint_distance_m": 196.0,
   "start_elevation_m": 38.524073111631076,
   "end_elevation_m": 36.80409702065202,
   "start_xy": [
    1591444.9154587076,
    5149205.715472438
   ],
   "end_xy": [
    1591442.3826047152,
    5149215.389388432
   ]
  },
  "min_20m": {
   "gradient_pct": -10.001428351861037,
   "start_distance_m": 181.0,
   "end_distance_m": 201.0,
   "midpoint_distance_m": 191.0,
   "start_elevation_m": 38.80438269102423,
   "end_elevation_m": 36.80409702065202,
   "start_xy": [
    1591447.4483127003,
    5149196.041556445
   ],
   "end_xy": [
    1591442.3826047152,
    5149215.389388432
   ]
  },
  "min_25m": {
   "gradient_pct": -8.637730037275304,
   "start_distance_m": 176.0,
   "end_distance_m": 201.0,
   "midpoint_distance_m": 188.5,
   "start_elevation_m": 38.96352952997085,
   "end_elevation_m": 36.80409702065202,
   "start_xy": [
    1591448.7147396966,
    5149191.204598448
   ],
   "end_xy": [
    1591442.3826047152,
    5149215.389388432
   ]
  },
  "min_50m": {
   "gradient_pct": -5.331311883596754,
   "start_distance_m": 151.0,
   "end_distance_m": 201.0,
   "midpoint_distance_m": 176.0,
   "start_elevation_m": 39.4697529624504,
   "end_elevation_m": 36.80409702065202,
   "start_xy": [
    1591454.7375128975,
    5149166.9487657575
   ],
   "end_xy": [
    1591442.3826047152,
    5149215.389388432
   ]
  },
  "min_100m": {
   "gradient_pct": -0.5659484562563435,
   "start_distance_m": 142.0,
   "end_distance_m": 242.0,
   "midpoint_distance_m": 192.0,
   "start_elevation_m": 39.31513237531121,
   "end_elevation_m": 38.749183919054865,
   "start_xy": [
    1591456.4847961278,
    5149158.120005861
   ],
   "end_xy": [
    1591429.5113709613,
    5149254.25286185
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 45.67723882480976,
   "start_distance_m": 1373.0,
   "end_distance_m": 1375.0,
   "midpoint_distance_m": 1374.0,
   "start_elevation_m": 181.90564666123245,
   "end_elevation_m": 182.81919143772865,
   "start_xy": [
    1590464.2140534264,
    5149295.48143042
   ],
   "end_xy": [
    1590462.7388432692,
    5149296.831895151
   ]
  },
  "max_3m": {
   "gradient_pct": 45.43279128037625,
   "start_distance_m": 1373.0,
   "end_distance_m": 1376.0,
   "midpoint_distance_m": 1374.5,
   "start_elevation_m": 181.90564666123245,
   "end_elevation_m": 183.26863039964374,
   "start_xy": [
    1590464.2140534264,
    5149295.48143042
   ],
   "end_xy": [
    1590462.0012381906,
    5149297.507127518
   ]
  }
 },
 "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.01,
   "windows_resited": [
    10.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "no_bench_suppression": {
   "masked_fraction": 0.039,
   "windows_resited": [
    10.0,
    20.0,
    25.0,
    50.0,
    100.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_suppression": {
   "masked_fraction": 0.13,
   "windows_resited": [
    20.0,
    25.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 4,
   "windows_masked": [
    {
     "window_m": 10.0,
     "start_m": 1219.0,
     "end_m": 1229.0,
     "raw_pct": 41.11,
     "reason": "hump"
    },
    {
     "window_m": 5.0,
     "start_m": 1676.0,
     "end_m": 1681.0,
     "raw_pct": 47.64,
     "reason": "short-step"
    },
    {
     "window_m": 25.0,
     "start_m": 1648.0,
     "end_m": 1673.0,
     "raw_pct": 28.72,
     "reason": "mask-edge"
    },
    {
     "window_m": 10.0,
     "start_m": 1395.0,
     "end_m": 1405.0,
     "raw_pct": 34.32,
     "reason": "mask-edge"
    },
    {
     "window_m": 25.0,
     "start_m": 1473.0,
     "end_m": 1498.0,
     "raw_pct": 26.87,
     "reason": "hump"
    },
    {
     "window_m": 20.0,
     "start_m": 1474.0,
     "end_m": 1494.0,
     "raw_pct": 27.27,
     "reason": "hump"
    },
    {
     "window_m": 5.0,
     "start_m": 1102.0,
     "end_m": 1107.0,
     "raw_pct": 39.27,
     "reason": "hump"
    },
    {
     "window_m": 25.0,
     "start_m": 1620.0,
     "end_m": 1645.0,
     "raw_pct": 24.52,
     "reason": "mask-edge"
    },
    {
     "window_m": 20.0,
     "start_m": 1729.0,
     "end_m": 1749.0,
     "raw_pct": 26.58,
     "reason": "hump"
    }
   ],
   "advisory": [],
   "unresolved": [
    {
     "window_m": 25.0,
     "start_m": 996.0,
     "end_m": 1021.0,
     "pct": 23.81,
     "reason": "hump"
    },
    {
     "window_m": 20.0,
     "start_m": 999.0,
     "end_m": 1019.0,
     "pct": 23.17,
     "reason": "hump"
    }
   ],
   "unstable": [
    {
     "window_m": 20.0,
     "start_m": 1648.0,
     "end_m": 1668.0,
     "raw_pct": 29.23,
     "reason": "mask-edge",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "",
      "",
      "mask-edge"
     ]
    }
   ]
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.805,
   "obstruction_max_height_m": 43.71,
   "flagged_windows_m": [
    2,
    3,
    5,
    10,
    20,
    25,
    50,
    100
   ]
  },
  "excluded_ranges_m": [
   [
    1100.0,
    1109.0
   ],
   [
    1208.0,
    1213.0
   ],
   [
    1217.0,
    1231.0
   ],
   [
    1355.0,
    1360.0
   ],
   [
    1389.0,
    1407.0
   ],
   [
    1471.0,
    1500.0
   ],
   [
    1540.0,
    1590.0
   ],
   [
    1618.0,
    1683.0
   ],
   [
    1727.0,
    1751.0
   ]
  ],
  "review": [
   "texture_unresolved"
  ],
  "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-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:16:04+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": [
   20.0
  ],
  "carriageway": {
   "stations": 77,
   "stations_resolved": 77,
   "width_median_m": 5.25,
   "width_p10_m": 2.5,
   "width_min_m": 1.0,
   "width_max_m": 10.75,
   "bounded_share": 0.195,
   "unbounded_share": 0.805,
   "confidence_median": 0.0,
   "width_median_bounded_m": 4.25,
   "window_m": [
    996.0,
    1021.0
   ],
   "width_at_max25_m": 8.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": 77,
    "stations_resolved": 77,
    "width_median_m": 2.75,
    "width_p10_m": 1.0,
    "width_min_m": 0.5,
    "width_max_m": 7.25,
    "bounded_share": 0.987,
    "unbounded_share": 0.013,
    "confidence_median": 1.0,
    "width_median_bounded_m": 2.75,
    "window_m": [
     996.0,
     1021.0
    ],
    "width_at_max25_m": 5.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": "Banks Peninsula Community",
  "county": "Canterbury",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}