{
 "ocl_version": "0.1.0",
 "name": "Takingawairua Road",
 "slug": "takingawairua-road-2",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 47.09386054132807,
   "diagnostic": true,
   "flags": [
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 678.0,
   "end_distance_m": 680.0,
   "start_elevation_m": 173.0876722483585,
   "end_elevation_m": 174.02954945918506,
   "min_gradient_pct": -45.274135322458164,
   "suppressed_max_gradient_pct": 51.510249152886445,
   "suppressed_location_m": [
    534.0,
    536.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 44.42852566650117,
   "diagnostic": true,
   "flags": [
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 678.0,
   "end_distance_m": 681.0,
   "start_elevation_m": 173.0876722483585,
   "end_elevation_m": 174.42052801835354,
   "min_gradient_pct": -39.02101041625485,
   "suppressed_max_gradient_pct": 48.95302893535624,
   "suppressed_location_m": [
    533.0,
    536.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 36.162410131074694,
   "diagnostic": false,
   "flags": [
    "texture_excluded",
    "suppression_unstable",
    "canopy_or_structure"
   ],
   "start_distance_m": 677.0,
   "end_distance_m": 682.0,
   "start_elevation_m": 172.86778163006304,
   "end_elevation_m": 174.67590213661677,
   "min_gradient_pct": -32.1379976164701,
   "suppressed_max_gradient_pct": 40.1795901559467,
   "suppressed_location_m": [
    533.0,
    538.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 31.522211819655865,
   "diagnostic": false,
   "flags": [
    "suppression_unstable",
    "canopy_or_structure"
   ],
   "start_distance_m": 671.0,
   "end_distance_m": 681.0,
   "start_elevation_m": 171.26830683638795,
   "end_elevation_m": 174.42052801835354,
   "min_gradient_pct": -31.21392225072043
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 28.066934901356717,
   "diagnostic": false,
   "flags": [
    "suppression_unstable",
    "canopy_or_structure"
   ],
   "start_distance_m": 670.0,
   "end_distance_m": 690.0,
   "start_elevation_m": 171.01352482060278,
   "end_elevation_m": 176.62691180087413,
   "min_gradient_pct": -24.491450323103265
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 26.14306197484086,
   "diagnostic": false,
   "flags": [
    "suppression_unstable",
    "canopy_or_structure"
   ],
   "start_distance_m": 669.0,
   "end_distance_m": 694.0,
   "start_elevation_m": 170.86492603603972,
   "end_elevation_m": 177.40069152974993,
   "min_gradient_pct": -20.980232069057138
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 22.10165660549973,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 730.0,
   "end_distance_m": 780.0,
   "start_elevation_m": 183.40173541969284,
   "end_elevation_m": 194.4525637224427,
   "min_gradient_pct": -12.094098905081466
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 21.342807241160102,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 670.0,
   "end_distance_m": 770.0,
   "start_elevation_m": 171.01352482060278,
   "end_elevation_m": 192.35633206176288,
   "min_gradient_pct": -4.440687723329347
  }
 ],
 "shape": {
  "ascent_concentration": 0.333,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 315.0,
  "shape_class": "sustained"
 },
 "length_m": 1057.6665563583333,
 "start_elevation_m": 76.71400701991315,
 "end_elevation_m": 217.68149123252047,
 "endpoint_gain_m": 140.9674842126073,
 "overall_gradient_pct": 13.328159367917848,
 "accumulated_ascent_m": 148.5717650489369,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 36.162410131074694,
   "start_distance_m": 677.0,
   "end_distance_m": 682.0,
   "midpoint_distance_m": 679.5,
   "start_elevation_m": 172.86778163006304,
   "end_elevation_m": 174.67590213661677,
   "start_xy": [
    1833606.7154401864,
    5918807.766001203
   ],
   "end_xy": [
    1833607.3665245562,
    5918812.723428877
   ]
  },
  "max_10m": {
   "gradient_pct": 31.522211819655865,
   "start_distance_m": 671.0,
   "end_distance_m": 681.0,
   "midpoint_distance_m": 676.0,
   "start_elevation_m": 171.26830683638795,
   "end_elevation_m": 174.42052801835354,
   "start_xy": [
    1833605.9341389427,
    5918801.817087994
   ],
   "end_xy": [
    1833607.2363076822,
    5918811.731943342
   ]
  },
  "max_20m": {
   "gradient_pct": 28.066934901356717,
   "start_distance_m": 670.0,
   "end_distance_m": 690.0,
   "midpoint_distance_m": 680.0,
   "start_elevation_m": 171.01352482060278,
   "end_elevation_m": 176.62691180087413,
   "start_xy": [
    1833605.8039220688,
    5918800.825602459
   ],
   "end_xy": [
    1833609.4808214393,
    5918820.3580949465
   ]
  },
  "max_25m": {
   "gradient_pct": 26.14306197484086,
   "start_distance_m": 669.0,
   "end_distance_m": 694.0,
   "midpoint_distance_m": 681.5,
   "start_elevation_m": 170.86492603603972,
   "end_elevation_m": 177.40069152974993,
   "start_xy": [
    1833605.6737051948,
    5918799.834116925
   ],
   "end_xy": [
    1833611.0755041668,
    5918824.026471563
   ]
  },
  "max_50m": {
   "gradient_pct": 22.10165660549973,
   "start_distance_m": 730.0,
   "end_distance_m": 780.0,
   "midpoint_distance_m": 755.0,
   "start_elevation_m": 183.40173541969284,
   "end_elevation_m": 194.4525637224427,
   "start_xy": [
    1833607.2933041593,
    5918856.601783751
   ],
   "end_xy": [
    1833578.6842710245,
    5918891.620045199
   ]
  },
  "max_100m": {
   "gradient_pct": 21.342807241160102,
   "start_distance_m": 670.0,
   "end_distance_m": 770.0,
   "midpoint_distance_m": 720.0,
   "start_elevation_m": 171.01352482060278,
   "end_elevation_m": 192.35633206176288,
   "start_xy": [
    1833605.8039220688,
    5918800.825602459
   ],
   "end_xy": [
    1833579.229530824,
    5918881.6349216765
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -32.1379976164701,
   "start_distance_m": 1037.0,
   "end_distance_m": 1042.0,
   "midpoint_distance_m": 1039.5,
   "start_elevation_m": 220.98858981181007,
   "end_elevation_m": 219.38168993098657,
   "start_xy": [
    1833532.9316050445,
    5919030.315079139
   ],
   "end_xy": [
    1833529.699183345,
    5919026.500442858
   ]
  },
  "min_10m": {
   "gradient_pct": -31.21392225072043,
   "start_distance_m": 1032.0,
   "end_distance_m": 1042.0,
   "midpoint_distance_m": 1037.0,
   "start_elevation_m": 222.5030821560586,
   "end_elevation_m": 219.38168993098657,
   "start_xy": [
    1833536.1640267437,
    5919034.12971542
   ],
   "end_xy": [
    1833529.699183345,
    5919026.500442858
   ]
  },
  "min_20m": {
   "gradient_pct": -24.491450323103265,
   "start_distance_m": 1027.0,
   "end_distance_m": 1047.0,
   "midpoint_distance_m": 1037.0,
   "start_elevation_m": 223.32352559171605,
   "end_elevation_m": 218.4252355270954,
   "start_xy": [
    1833538.992684998,
    5919038.2144322
   ],
   "end_xy": [
    1833526.4667616459,
    5919022.685806576
   ]
  },
  "min_25m": {
   "gradient_pct": -20.980232069057138,
   "start_distance_m": 1026.0,
   "end_distance_m": 1051.0,
   "midpoint_distance_m": 1038.5,
   "start_elevation_m": 223.38007890745075,
   "end_elevation_m": 218.13502089018647,
   "start_xy": [
    1833539.3993891587,
    5919039.114514376
   ],
   "end_xy": [
    1833523.8808242865,
    5919019.634097552
   ]
  },
  "min_50m": {
   "gradient_pct": -12.094098905081466,
   "start_distance_m": 1007.0,
   "end_distance_m": 1057.0,
   "midpoint_distance_m": 1032.0,
   "start_elevation_m": 223.8313146616848,
   "end_elevation_m": 217.78426520914405,
   "start_xy": [
    1833527.925514619,
    5919053.070463395
   ],
   "end_xy": [
    1833520.0019182472,
    5919015.056534014
   ]
  },
  "min_100m": {
   "gradient_pct": -4.440687723329347,
   "start_distance_m": 957.0,
   "end_distance_m": 1057.0,
   "midpoint_distance_m": 1007.0,
   "start_elevation_m": 222.2249529324734,
   "end_elevation_m": 217.78426520914405,
   "start_xy": [
    1833496.5089664704,
    5919041.823283023
   ],
   "end_xy": [
    1833520.0019182472,
    5919015.056534014
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 47.09386054132807,
   "start_distance_m": 678.0,
   "end_distance_m": 680.0,
   "midpoint_distance_m": 679.0,
   "start_elevation_m": 173.0876722483585,
   "end_elevation_m": 174.02954945918506,
   "start_xy": [
    1833606.8456570604,
    5918808.757486737
   ],
   "end_xy": [
    1833607.1060908083,
    5918810.740457808
   ]
  },
  "max_3m": {
   "gradient_pct": 44.42852566650117,
   "start_distance_m": 678.0,
   "end_distance_m": 681.0,
   "midpoint_distance_m": 679.5,
   "start_elevation_m": 173.0876722483585,
   "end_elevation_m": 174.42052801835354,
   "start_xy": [
    1833606.8456570604,
    5918808.757486737
   ],
   "end_xy": [
    1833607.2363076822,
    5918811.731943342
   ]
  }
 },
 "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": {
  "texture_suppression": {
   "masked_fraction": 0.009,
   "windows_resited": [
    2.0,
    3.0,
    5.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 1,
   "windows_masked": [
    {
     "window_m": 5.0,
     "start_m": 533.0,
     "end_m": 538.0,
     "raw_pct": 40.18,
     "reason": "short-step"
    }
   ],
   "advisory": [],
   "unresolved": [],
   "unstable": [
    {
     "window_m": 25.0,
     "start_m": 669.0,
     "end_m": 694.0,
     "raw_pct": 26.14,
     "reason": "hump",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "hump",
      "",
      "hump"
     ]
    },
    {
     "window_m": 20.0,
     "start_m": 670.0,
     "end_m": 690.0,
     "raw_pct": 28.07,
     "reason": "hump",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "hump",
      "",
      "hump"
     ]
    },
    {
     "window_m": 10.0,
     "start_m": 671.0,
     "end_m": 681.0,
     "raw_pct": 31.52,
     "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": 677.0,
     "end_m": 682.0,
     "raw_pct": 36.16,
     "reason": "short-step",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "short-step",
      "short-step",
      ""
     ]
    }
   ]
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.639,
   "obstruction_max_height_m": 16.25,
   "flagged_windows_m": [
    2,
    3,
    5,
    10.0,
    20.0,
    25.0,
    50,
    100
   ]
  },
  "excluded_ranges_m": [
   [
    531.0,
    540.0
   ]
  ],
  "review": [],
  "extent": [
   "may_start_earlier",
   "descends_at_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/BA35.tiff"
  ],
  "calculated_at": "2026-09-28T05:56:50+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": [
   "BA35"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "suppression_unstable_alternative": {
   "window_m": 25.0,
   "measured_pct": 26.14,
   "measured_at_m": 669.0,
   "alternative_pct": 25.17,
   "alternative_at_m": 753.0,
   "delta_pp": 0.97,
   "reason": "hump",
   "perturbation_hits": 2,
   "perturbations": 3
  },
  "suppression_unstable": [
   5.0,
   10.0,
   20.0,
   25.0
  ],
  "carriageway": {
   "stations": 49,
   "stations_resolved": 49,
   "width_median_m": 3.75,
   "width_p10_m": 2.25,
   "width_min_m": 1.75,
   "width_max_m": 12.0,
   "bounded_share": 0.347,
   "unbounded_share": 0.653,
   "confidence_median": 0.0,
   "width_median_bounded_m": 3.0,
   "window_m": [
    669.0,
    694.0
   ],
   "width_at_max25_m": 2.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": 49,
    "stations_resolved": 49,
    "width_median_m": 2.75,
    "width_p10_m": 1.0,
    "width_min_m": 0.5,
    "width_max_m": 11.75,
    "bounded_share": 0.939,
    "unbounded_share": 0.061,
    "confidence_median": 1.0,
    "width_median_bounded_m": 2.5,
    "window_m": [
     669.0,
     694.0
    ],
    "width_at_max25_m": 3.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": "Waikato",
  "county": "Waikato",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}