{
 "ocl_version": "0.1.0",
 "name": "Waitata Road",
 "slug": "waitata-road",
 "confidence": "U",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 43.560557057453764,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1160.0,
   "end_distance_m": 1162.0,
   "start_elevation_m": 132.1933537320086,
   "end_elevation_m": 133.06456487315768,
   "min_gradient_pct": -48.69942571217081,
   "suppressed_max_gradient_pct": 143.53211974494826,
   "suppressed_location_m": [
    1098.0,
    1100.0
   ],
   "suppressed_min_gradient_pct": -87.34643801529387,
   "suppressed_min_location_m": [
    2982.0,
    2984.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 41.72388050597059,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded_min",
    "placement_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1159.0,
   "end_distance_m": 1162.0,
   "start_elevation_m": 131.81284845797856,
   "end_elevation_m": 133.06456487315768,
   "min_gradient_pct": -39.68098014847735,
   "suppressed_max_gradient_pct": 140.67361830899188,
   "suppressed_location_m": [
    1097.0,
    1100.0
   ],
   "suppressed_min_gradient_pct": -78.5788239230006,
   "suppressed_min_location_m": [
    2981.0,
    2984.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 33.28322869277315,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "suppression_unstable",
    "canopy_or_structure"
   ],
   "start_distance_m": 1913.0,
   "end_distance_m": 1918.0,
   "start_elevation_m": 217.20745753297345,
   "end_elevation_m": 218.8716189676121,
   "min_gradient_pct": -29.607343917112416,
   "suppressed_max_gradient_pct": 109.77566061697246,
   "suppressed_location_m": [
    1097.0,
    1102.0
   ],
   "suppressed_min_gradient_pct": -70.42809815033365,
   "suppressed_min_location_m": [
    2981.0,
    2986.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 26.552168503306177,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "suppression_unstable",
    "texture_excluded",
    "texture_unresolved",
    "canopy_or_structure"
   ],
   "start_distance_m": 2069.0,
   "end_distance_m": 2079.0,
   "start_elevation_m": 240.11524446641536,
   "end_elevation_m": 242.77046131674598,
   "min_gradient_pct": -18.7290347324722,
   "suppressed_max_gradient_pct": 84.79938032089734,
   "suppressed_location_m": [
    909.0,
    919.0
   ],
   "suppressed_min_gradient_pct": -54.196912674027544,
   "suppressed_min_location_m": [
    683.0,
    693.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 20.536726052313483,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "no_bench_excluded_min",
    "placement_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded"
   ],
   "start_distance_m": 376.0,
   "end_distance_m": 396.0,
   "start_elevation_m": 31.271383444981275,
   "end_elevation_m": 35.37872865544397,
   "min_gradient_pct": -14.803920303863833,
   "suppressed_max_gradient_pct": 60.79880225981576,
   "suppressed_location_m": [
    738.0,
    758.0
   ],
   "suppressed_min_gradient_pct": -40.1257063583477,
   "suppressed_min_location_m": [
    673.0,
    693.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 20.248818507566185,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded_min",
    "placement_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded"
   ],
   "start_distance_m": 371.0,
   "end_distance_m": 396.0,
   "start_elevation_m": 30.316524028552426,
   "end_elevation_m": 35.37872865544397,
   "min_gradient_pct": -13.157772075579715,
   "suppressed_max_gradient_pct": 57.404121314941115,
   "suppressed_location_m": [
    632.0,
    657.0
   ],
   "suppressed_min_gradient_pct": -35.72065031412535,
   "suppressed_min_location_m": [
    669.0,
    694.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 18.999874490583323,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "placement_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 367.0,
   "end_distance_m": 417.0,
   "start_elevation_m": 29.66065994169957,
   "end_elevation_m": 39.16059718699123,
   "min_gradient_pct": -10.72002741507049,
   "suppressed_max_gradient_pct": 38.618913683802106,
   "suppressed_location_m": [
    614.0,
    664.0
   ],
   "suppressed_min_gradient_pct": -27.541043057747455,
   "suppressed_min_location_m": [
    671.0,
    721.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 16.159229768107338,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "placement_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1818.0,
   "end_distance_m": 1918.0,
   "start_elevation_m": 202.71238919950477,
   "end_elevation_m": 218.8716189676121,
   "min_gradient_pct": -8.3018217413873,
   "suppressed_max_gradient_pct": 24.061209378016336,
   "suppressed_location_m": [
    466.0,
    566.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.437,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 105.0,
  "shape_class": "sustained"
 },
 "length_m": 3917.000000000168,
 "start_elevation_m": 1.3439793638383828,
 "end_elevation_m": 289.42088907100117,
 "endpoint_gain_m": 288.07690970716277,
 "overall_gradient_pct": 7.354529224078387,
 "accumulated_ascent_m": 406.8258098859128,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 33.28322869277315,
   "start_distance_m": 1913.0,
   "end_distance_m": 1918.0,
   "midpoint_distance_m": 1915.5,
   "start_elevation_m": 217.20745753297345,
   "end_elevation_m": 218.8716189676121,
   "start_xy": [
    1675674.5883429023,
    5464096.28147907
   ],
   "end_xy": [
    1675669.768003252,
    5464096.433531244
   ]
  },
  "max_10m": {
   "gradient_pct": 26.552168503306177,
   "start_distance_m": 2069.0,
   "end_distance_m": 2079.0,
   "midpoint_distance_m": 2074.0,
   "start_elevation_m": 240.11524446641536,
   "end_elevation_m": 242.77046131674598,
   "start_xy": [
    1675610.641409188,
    5464048.929397725
   ],
   "end_xy": [
    1675607.6839534414,
    5464039.376730269
   ]
  },
  "max_20m": {
   "gradient_pct": 20.536726052313483,
   "start_distance_m": 376.0,
   "end_distance_m": 396.0,
   "midpoint_distance_m": 386.0,
   "start_elevation_m": 31.271383444981275,
   "end_elevation_m": 35.37872865544397,
   "start_xy": [
    1675732.529837433,
    5463619.651474633
   ],
   "end_xy": [
    1675716.9846556177,
    5463629.324223389
   ]
  },
  "max_25m": {
   "gradient_pct": 20.248818507566185,
   "start_distance_m": 371.0,
   "end_distance_m": 396.0,
   "midpoint_distance_m": 383.5,
   "start_elevation_m": 30.316524028552426,
   "end_elevation_m": 35.37872865544397,
   "start_xy": [
    1675734.345341133,
    5463614.992725196
   ],
   "end_xy": [
    1675716.9846556177,
    5463629.324223389
   ]
  },
  "max_50m": {
   "gradient_pct": 18.999874490583323,
   "start_distance_m": 367.0,
   "end_distance_m": 417.0,
   "midpoint_distance_m": 392.0,
   "start_elevation_m": 29.66065994169957,
   "end_elevation_m": 39.16059718699123,
   "start_xy": [
    1675735.9118901144,
    5463611.31671894
   ],
   "end_xy": [
    1675709.7358660863,
    5463612.143720365
   ]
  },
  "max_100m": {
   "gradient_pct": 16.159229768107338,
   "start_distance_m": 1818.0,
   "end_distance_m": 1918.0,
   "midpoint_distance_m": 1868.0,
   "start_elevation_m": 202.71238919950477,
   "end_elevation_m": 218.8716189676121,
   "start_xy": [
    1675746.0438753224,
    5464064.906371902
   ],
   "end_xy": [
    1675669.768003252,
    5464096.433531244
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -29.607343917112416,
   "start_distance_m": 1783.0,
   "end_distance_m": 1788.0,
   "midpoint_distance_m": 1785.5,
   "start_elevation_m": 202.2018009815769,
   "end_elevation_m": 200.72143378572127,
   "start_xy": [
    1675716.482767643,
    5464053.193079508
   ],
   "end_xy": [
    1675719.5232289336,
    5464057.125812277
   ]
  },
  "min_10m": {
   "gradient_pct": -18.7290347324722,
   "start_distance_m": 1779.0,
   "end_distance_m": 1789.0,
   "midpoint_distance_m": 1784.0,
   "start_elevation_m": 202.465289584668,
   "end_elevation_m": 200.59238611142078,
   "start_xy": [
    1675715.447975284,
    5464049.3292465955
   ],
   "end_xy": [
    1675720.15752227,
    5464057.898904745
   ]
  },
  "min_20m": {
   "gradient_pct": -14.803920303863833,
   "start_distance_m": 2447.0,
   "end_distance_m": 2467.0,
   "midpoint_distance_m": 2457.0,
   "start_elevation_m": 268.30804729923886,
   "end_elevation_m": 265.3472632384661,
   "start_xy": [
    1675365.8952210518,
    5464116.217050103
   ],
   "end_xy": [
    1675354.406180593,
    5464131.749728681
   ]
  },
  "min_25m": {
   "gradient_pct": -13.157772075579715,
   "start_distance_m": 2443.0,
   "end_distance_m": 2468.0,
   "midpoint_distance_m": 2455.5,
   "start_elevation_m": 268.6298364829711,
   "end_elevation_m": 265.34039346407616,
   "start_xy": [
    1675366.999627157,
    5464112.372536199
   ],
   "end_xy": [
    1675353.5877470204,
    5464132.324329835
   ]
  },
  "min_50m": {
   "gradient_pct": -10.72002741507049,
   "start_distance_m": 2427.0,
   "end_distance_m": 2477.0,
   "midpoint_distance_m": 2452.0,
   "start_elevation_m": 270.5493129142369,
   "end_elevation_m": 265.18929920670166,
   "start_xy": [
    1675371.4172515785,
    5464096.994480585
   ],
   "end_xy": [
    1675346.1211013715,
    5464134.107226758
   ]
  },
  "min_100m": {
   "gradient_pct": -8.3018217413873,
   "start_distance_m": 2406.0,
   "end_distance_m": 2506.0,
   "midpoint_distance_m": 2456.0,
   "start_elevation_m": 270.7076927968693,
   "end_elevation_m": 262.405871055482,
   "start_xy": [
    1675372.871546842,
    5464076.341989539
   ],
   "end_xy": [
    1675325.4301095903,
    5464114.796678782
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 43.560557057453764,
   "start_distance_m": 1160.0,
   "end_distance_m": 1162.0,
   "midpoint_distance_m": 1161.0,
   "start_elevation_m": 132.1933537320086,
   "end_elevation_m": 133.06456487315768,
   "start_xy": [
    1675428.863150926,
    5463560.803639248
   ],
   "end_xy": [
    1675430.5035418628,
    5463561.947806008
   ]
  },
  "max_3m": {
   "gradient_pct": 41.72388050597059,
   "start_distance_m": 1159.0,
   "end_distance_m": 1162.0,
   "midpoint_distance_m": 1160.5,
   "start_elevation_m": 131.81284845797856,
   "end_elevation_m": 133.06456487315768,
   "start_xy": [
    1675428.0429554577,
    5463560.231555868
   ],
   "end_xy": [
    1675430.5035418628,
    5463561.947806008
   ]
  }
 },
 "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.051,
   "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
   ],
   "minima_unresolved": []
  },
  "no_bench_suppression": {
   "masked_fraction": 0.132,
   "windows_resited": [
    20.0
   ],
   "windows_unresolved": [],
   "minima_resited": [
    3.0,
    5.0,
    10.0,
    20.0,
    25.0
   ],
   "minima_unresolved": []
  },
  "placement_suppression": {
   "masked_fraction": 0.161,
   "windows_resited": [
    20.0,
    25.0,
    50.0,
    100.0
   ],
   "windows_unresolved": [],
   "minima_resited": [
    3.0
   ],
   "minima_unresolved": []
  },
  "texture_suppression": {
   "masked_fraction": 0.201,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    10.0,
    20.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 4,
   "windows_masked": [
    {
     "window_m": 25.0,
     "start_m": 1296.0,
     "end_m": 1321.0,
     "raw_pct": 26.15,
     "reason": "staircase+hump"
    },
    {
     "window_m": 20.0,
     "start_m": 1300.0,
     "end_m": 1320.0,
     "raw_pct": 29.31,
     "reason": "staircase+hump"
    },
    {
     "window_m": 10.0,
     "start_m": 648.0,
     "end_m": 658.0,
     "raw_pct": 46.06,
     "reason": "spike+hump+mask-edge"
    },
    {
     "window_m": 5.0,
     "start_m": 1303.0,
     "end_m": 1308.0,
     "raw_pct": 51.7,
     "reason": "hump"
    },
    {
     "window_m": 25.0,
     "start_m": 1180.0,
     "end_m": 1205.0,
     "raw_pct": 22.22,
     "reason": "staircase"
    },
    {
     "window_m": 20.0,
     "start_m": 1185.0,
     "end_m": 1205.0,
     "raw_pct": 25.33,
     "reason": "staircase+hump"
    },
    {
     "window_m": 10.0,
     "start_m": 1192.0,
     "end_m": 1202.0,
     "raw_pct": 34.74,
     "reason": "hump+short-step"
    },
    {
     "window_m": 5.0,
     "start_m": 1222.0,
     "end_m": 1227.0,
     "raw_pct": 43.77,
     "reason": "hump+short-step"
    },
    {
     "window_m": 20.0,
     "start_m": 1926.0,
     "end_m": 1946.0,
     "raw_pct": 24.7,
     "reason": "hump"
    },
    {
     "window_m": 10.0,
     "start_m": 52.0,
     "end_m": 62.0,
     "raw_pct": 33.24,
     "reason": "hump+short-step"
    },
    {
     "window_m": 5.0,
     "start_m": 52.0,
     "end_m": 57.0,
     "raw_pct": 42.9,
     "reason": "hump"
    },
    {
     "window_m": 20.0,
     "start_m": 1056.0,
     "end_m": 1076.0,
     "raw_pct": 22.24,
     "reason": "staircase"
    },
    {
     "window_m": 5.0,
     "start_m": 1762.0,
     "end_m": 1767.0,
     "raw_pct": 35.06,
     "reason": "hump+mask-edge+short-step"
    }
   ],
   "advisory": [],
   "unresolved": [
    {
     "window_m": 10.0,
     "start_m": 2069.0,
     "end_m": 2079.0,
     "pct": 26.55,
     "reason": "mask-edge"
    }
   ],
   "unstable": [
    {
     "window_m": 10.0,
     "start_m": 1058.0,
     "end_m": 1068.0,
     "raw_pct": 27.59,
     "reason": "hump",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "hump",
      "",
      ""
     ]
    },
    {
     "window_m": 5.0,
     "start_m": 1913.0,
     "end_m": 1918.0,
     "raw_pct": 33.28,
     "reason": "short-step",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "",
      "",
      "short-step"
     ],
     "at": "final"
    }
   ]
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.532,
   "obstruction_max_height_m": 39.8,
   "flagged_windows_m": [
    2,
    3,
    5,
    10,
    50,
    100
   ]
  },
  "excluded_ranges_m": [
   [
    50.0,
    64.0
   ],
   [
    88.0,
    95.0
   ],
   [
    100.0,
    130.0
   ],
   [
    144.0,
    149.0
   ],
   [
    198.0,
    204.0
   ],
   [
    260.0,
    305.0
   ],
   [
    418.0,
    426.0
   ],
   [
    440.0,
    530.0
   ],
   [
    540.0,
    759.0
   ],
   [
    906.0,
    947.0
   ],
   [
    1000.0,
    1040.0
   ],
   [
    1054.0,
    1078.0
   ],
   [
    1095.0,
    1103.0
   ],
   [
    1178.0,
    1207.0
   ],
   [
    1220.0,
    1260.0
   ],
   [
    1294.0,
    1323.0
   ],
   [
    1550.0,
    1580.0
   ],
   [
    1752.0,
    1769.0
   ],
   [
    1924.0,
    1948.0
   ],
   [
    2080.0,
    2110.0
   ],
   [
    2963.0,
    2992.0
   ]
  ],
  "review": [
   "texture_unresolved"
  ],
  "extent": [
   "may_start_earlier"
  ]
 },
 "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-n1",
   "road_pbf": "block-batch-nz-n1.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:ff0dec6edae18a40"
  },
  "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/BP28.tiff"
  ],
  "calculated_at": "2026-09-28T05:24:48+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-n1.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-n1",
  "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": [
   "BP28"
  ],
  "route_summit_trim_m": 555.6,
  "route_summit_trim_loss_m": 53.8,
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "suppression_unstable": [
   5.0,
   10.0
  ],
  "carriageway": {
   "stations": 163,
   "stations_resolved": 163,
   "width_median_m": 4.25,
   "width_p10_m": 1.75,
   "width_min_m": 1.0,
   "width_max_m": 12.0,
   "bounded_share": 0.356,
   "unbounded_share": 0.644,
   "confidence_median": 0.0,
   "width_median_bounded_m": 2.75,
   "window_m": [
    371.0,
    396.0
   ],
   "width_at_max25_m": 4.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": 163,
    "stations_resolved": 163,
    "width_median_m": 2.75,
    "width_p10_m": 1.0,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.908,
    "unbounded_share": 0.092,
    "confidence_median": 1.0,
    "width_median_bounded_m": 2.5,
    "window_m": [
     371.0,
     396.0
    ],
    "width_at_max25_m": 2.75,
    "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": "Marlborough",
  "county": "Marlborough",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}