{
 "ocl_version": "0.1.0",
 "name": "Mangatangi Hill Road (ARA drive)",
 "slug": "mangatangi-hill-road-ara-drive",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 48.32740484766873,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 329.0,
   "end_distance_m": 331.0,
   "start_elevation_m": 129.35620657399673,
   "end_elevation_m": 130.3227546709501,
   "min_gradient_pct": -57.93741048846357,
   "suppressed_max_gradient_pct": 87.04266573058703,
   "suppressed_location_m": [
    2738.0,
    2740.0
   ],
   "suppressed_min_gradient_pct": -119.702426348897,
   "suppressed_min_location_m": [
    2747.0,
    2749.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 40.313081048295395,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 329.0,
   "end_distance_m": 332.0,
   "start_elevation_m": 129.35620657399673,
   "end_elevation_m": 130.5655990054456,
   "min_gradient_pct": -46.95788475416217,
   "suppressed_max_gradient_pct": 77.88713595617196,
   "suppressed_location_m": [
    3739.0,
    3742.0
   ],
   "suppressed_min_gradient_pct": -102.77760708137673,
   "suppressed_min_location_m": [
    2746.0,
    2749.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 33.0656404076808,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded"
   ],
   "start_distance_m": 3622.0,
   "end_distance_m": 3627.0,
   "start_elevation_m": 398.8573399134675,
   "end_elevation_m": 400.51062193385155,
   "min_gradient_pct": -34.74338792225183,
   "suppressed_max_gradient_pct": 70.78387714346604,
   "suppressed_location_m": [
    3256.0,
    3261.0
   ],
   "suppressed_min_gradient_pct": -71.56619676907667,
   "suppressed_min_location_m": [
    2745.0,
    2750.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 26.965264192882046,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "suppression_unstable"
   ],
   "start_distance_m": 3622.0,
   "end_distance_m": 3632.0,
   "start_elevation_m": 398.8573399134675,
   "end_elevation_m": 401.5538663327557,
   "min_gradient_pct": -20.006252244822633,
   "suppressed_max_gradient_pct": 55.63597821488145,
   "suppressed_location_m": [
    3252.0,
    3262.0
   ],
   "suppressed_min_gradient_pct": -35.35527939909571,
   "suppressed_min_location_m": [
    3451.0,
    3461.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 21.84965810193674,
   "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": 1977.0,
   "end_distance_m": 1997.0,
   "start_elevation_m": 184.92570148679854,
   "end_elevation_m": 189.2956331071859,
   "min_gradient_pct": -12.137403723208138,
   "suppressed_max_gradient_pct": 45.21955374905275,
   "suppressed_location_m": [
    3250.0,
    3270.0
   ],
   "suppressed_min_gradient_pct": -22.384152596848708,
   "suppressed_min_location_m": [
    3449.0,
    3469.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 20.84749426952351,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1977.0,
   "end_distance_m": 2002.0,
   "start_elevation_m": 184.92570148679854,
   "end_elevation_m": 190.13757505417942,
   "min_gradient_pct": -10.507747900571076,
   "suppressed_max_gradient_pct": 38.13863955868146,
   "suppressed_location_m": [
    3250.0,
    3275.0
   ],
   "suppressed_min_gradient_pct": -14.615635007415676,
   "suppressed_min_location_m": [
    3448.0,
    3473.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 17.243323882955906,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 2612.0,
   "end_distance_m": 2662.0,
   "start_elevation_m": 273.8647428872196,
   "end_elevation_m": 282.4864048286976,
   "min_gradient_pct": -6.83997245624505,
   "suppressed_max_gradient_pct": 27.124401034651555,
   "suppressed_location_m": [
    3363.0,
    3413.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 16.07251792274718,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "no_bench_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 2606.0,
   "end_distance_m": 2706.0,
   "start_elevation_m": 272.63286573669495,
   "end_elevation_m": 288.70538365944213,
   "min_gradient_pct": -5.688012691530503,
   "suppressed_max_gradient_pct": 21.22425448153058,
   "suppressed_location_m": [
    3349.0,
    3449.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.43,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 376.0,
  "shape_class": "sustained"
 },
 "length_m": 3756.9999999998045,
 "start_elevation_m": 110.78548917753554,
 "end_elevation_m": 415.3221904127154,
 "endpoint_gain_m": 304.53670123517986,
 "overall_gradient_pct": 8.105847783742233,
 "accumulated_ascent_m": 357.61379651369,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 33.0656404076808,
   "start_distance_m": 3622.0,
   "end_distance_m": 3627.0,
   "midpoint_distance_m": 3624.5,
   "start_elevation_m": 398.8573399134675,
   "end_elevation_m": 400.51062193385155,
   "start_xy": [
    1794343.4983989503,
    5889321.373989119
   ],
   "end_xy": [
    1794348.103821856,
    5889319.427176375
   ]
  },
  "max_10m": {
   "gradient_pct": 26.965264192882046,
   "start_distance_m": 3622.0,
   "end_distance_m": 3632.0,
   "midpoint_distance_m": 3627.0,
   "start_elevation_m": 398.8573399134675,
   "end_elevation_m": 401.5538663327557,
   "start_xy": [
    1794343.4983989503,
    5889321.373989119
   ],
   "end_xy": [
    1794352.7092447616,
    5889317.480363632
   ]
  },
  "max_20m": {
   "gradient_pct": 21.84965810193674,
   "start_distance_m": 1977.0,
   "end_distance_m": 1997.0,
   "midpoint_distance_m": 1987.0,
   "start_elevation_m": 184.92570148679854,
   "end_elevation_m": 189.2956331071859,
   "start_xy": [
    1793335.390580361,
    5889978.896988937
   ],
   "end_xy": [
    1793348.2759381125,
    5889963.60099091
   ]
  },
  "max_25m": {
   "gradient_pct": 20.84749426952351,
   "start_distance_m": 1977.0,
   "end_distance_m": 2002.0,
   "midpoint_distance_m": 1989.5,
   "start_elevation_m": 184.92570148679854,
   "end_elevation_m": 190.13757505417942,
   "start_xy": [
    1793335.390580361,
    5889978.896988937
   ],
   "end_xy": [
    1793351.4972775504,
    5889959.776991404
   ]
  },
  "max_50m": {
   "gradient_pct": 17.243323882955906,
   "start_distance_m": 2612.0,
   "end_distance_m": 2662.0,
   "midpoint_distance_m": 2637.0,
   "start_elevation_m": 273.8647428872196,
   "end_elevation_m": 282.4864048286976,
   "start_xy": [
    1793585.8195529897,
    5889667.848631897
   ],
   "end_xy": [
    1793596.449213206,
    5889627.099053242
   ]
  },
  "max_100m": {
   "gradient_pct": 16.07251792274718,
   "start_distance_m": 2606.0,
   "end_distance_m": 2706.0,
   "midpoint_distance_m": 2656.0,
   "start_elevation_m": 272.63286573669495,
   "end_elevation_m": 288.70538365944213,
   "start_xy": [
    1793580.6463217414,
    5889670.78928619
   ],
   "end_xy": [
    1793593.3150472448,
    5889583.352122992
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -34.74338792225183,
   "start_distance_m": 334.0,
   "end_distance_m": 339.0,
   "midpoint_distance_m": 336.5,
   "start_elevation_m": 130.67622357727174,
   "end_elevation_m": 128.93905418115915,
   "start_xy": [
    1792483.8885210778,
    5890677.603221013
   ],
   "end_xy": [
    1792488.3125959202,
    5890675.2735082
   ]
  },
  "min_10m": {
   "gradient_pct": -20.006252244822633,
   "start_distance_m": 334.0,
   "end_distance_m": 344.0,
   "midpoint_distance_m": 339.0,
   "start_elevation_m": 130.67622357727174,
   "end_elevation_m": 128.67559835278948,
   "start_xy": [
    1792483.8885210778,
    5890677.603221013
   ],
   "end_xy": [
    1792492.7366707623,
    5890672.943795388
   ]
  },
  "min_20m": {
   "gradient_pct": -12.137403723208138,
   "start_distance_m": 334.0,
   "end_distance_m": 354.0,
   "midpoint_distance_m": 344.0,
   "start_elevation_m": 130.67622357727174,
   "end_elevation_m": 128.2487428326301,
   "start_xy": [
    1792483.8885210778,
    5890677.603221013
   ],
   "end_xy": [
    1792501.5848204468,
    5890668.284369762
   ]
  },
  "min_25m": {
   "gradient_pct": -10.507747900571076,
   "start_distance_m": 334.0,
   "end_distance_m": 359.0,
   "midpoint_distance_m": 346.5,
   "start_elevation_m": 130.67622357727174,
   "end_elevation_m": 128.04928660212897,
   "start_xy": [
    1792483.8885210778,
    5890677.603221013
   ],
   "end_xy": [
    1792506.008895289,
    5890665.954656949
   ]
  },
  "min_50m": {
   "gradient_pct": -6.83997245624505,
   "start_distance_m": 1215.0,
   "end_distance_m": 1265.0,
   "midpoint_distance_m": 1240.0,
   "start_elevation_m": 132.0589282489705,
   "end_elevation_m": 128.63894202084796,
   "start_xy": [
    1793056.7119591702,
    5890212.649825937
   ],
   "end_xy": [
    1793085.927154897,
    5890252.907951509
   ]
  },
  "min_100m": {
   "gradient_pct": -5.688012691530503,
   "start_distance_m": 1168.0,
   "end_distance_m": 1268.0,
   "midpoint_distance_m": 1218.0,
   "start_elevation_m": 134.20071769767307,
   "end_elevation_m": 128.51270500614257,
   "start_xy": [
    1793017.1723916074,
    5890188.753149436
   ],
   "end_xy": [
    1793087.6039286375,
    5890255.3956069965
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 48.32740484766873,
   "start_distance_m": 329.0,
   "end_distance_m": 331.0,
   "midpoint_distance_m": 330.0,
   "start_elevation_m": 129.35620657399673,
   "end_elevation_m": 130.3227546709501,
   "start_xy": [
    1792479.4644462357,
    5890679.932933826
   ],
   "end_xy": [
    1792481.2340761726,
    5890679.001048701
   ]
  },
  "max_3m": {
   "gradient_pct": 40.313081048295395,
   "start_distance_m": 329.0,
   "end_distance_m": 332.0,
   "midpoint_distance_m": 330.5,
   "start_elevation_m": 129.35620657399673,
   "end_elevation_m": 130.5655990054456,
   "start_xy": [
    1792479.4644462357,
    5890679.932933826
   ],
   "end_xy": [
    1792482.1188911411,
    5890678.535106138
   ]
  }
 },
 "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.039,
   "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
   ],
   "minima_unresolved": []
  },
  "no_bench_suppression": {
   "masked_fraction": 0.088,
   "windows_resited": [
    3.0,
    20.0,
    100.0
   ],
   "windows_unresolved": [],
   "minima_resited": [
    10.0,
    20.0,
    25.0
   ],
   "minima_unresolved": []
  },
  "placement_suppression": {
   "masked_fraction": 0.098,
   "windows_resited": [],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_suppression": {
   "masked_fraction": 0.129,
   "windows_resited": [
    2.0,
    3.0,
    5.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 3,
   "windows_masked": [
    {
     "window_m": 25.0,
     "start_m": 2121.0,
     "end_m": 2146.0,
     "raw_pct": 23.83,
     "reason": "hump"
    },
    {
     "window_m": 20.0,
     "start_m": 2122.0,
     "end_m": 2142.0,
     "raw_pct": 24.4,
     "reason": "hump"
    },
    {
     "window_m": 10.0,
     "start_m": 2021.0,
     "end_m": 2031.0,
     "raw_pct": 33.59,
     "reason": "short-step"
    },
    {
     "window_m": 5.0,
     "start_m": 3397.0,
     "end_m": 3402.0,
     "raw_pct": 46.09,
     "reason": "hump"
    },
    {
     "window_m": 25.0,
     "start_m": 2457.0,
     "end_m": 2482.0,
     "raw_pct": 21.51,
     "reason": "hump"
    },
    {
     "window_m": 10.0,
     "start_m": 2304.0,
     "end_m": 2314.0,
     "raw_pct": 32.8,
     "reason": "short-step"
    },
    {
     "window_m": 5.0,
     "start_m": 201.0,
     "end_m": 206.0,
     "raw_pct": 37.43,
     "reason": "short-step"
    },
    {
     "window_m": 5.0,
     "start_m": 2776.0,
     "end_m": 2781.0,
     "raw_pct": 36.11,
     "reason": "mask-edge+short-step"
    }
   ],
   "advisory": [],
   "unresolved": [],
   "unstable": [
    {
     "window_m": 10.0,
     "start_m": 3622.0,
     "end_m": 3632.0,
     "raw_pct": 26.97,
     "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.53,
   "obstruction_max_height_m": 17.55,
   "flagged_windows_m": [
    2,
    3,
    20,
    25,
    50,
    100
   ]
  },
  "excluded_ranges_m": [
   [
    199.0,
    208.0
   ],
   [
    1940.0,
    1970.0
   ],
   [
    2019.0,
    2033.0
   ],
   [
    2119.0,
    2148.0
   ],
   [
    2180.0,
    2220.0
   ],
   [
    2302.0,
    2316.0
   ],
   [
    2455.0,
    2484.0
   ],
   [
    2566.0,
    2575.0
   ],
   [
    2730.0,
    2783.0
   ],
   [
    2814.0,
    2872.0
   ],
   [
    2875.0,
    2881.0
   ],
   [
    3110.0,
    3140.0
   ],
   [
    3175.0,
    3210.0
   ],
   [
    3230.0,
    3270.0
   ],
   [
    3395.0,
    3409.0
   ],
   [
    3420.0,
    3470.0
   ],
   [
    3737.0,
    3744.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-n3",
   "road_pbf": "block-batch-nz-n3.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:7959a7d1d462b1b3"
  },
  "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/BB33.tiff"
  ],
  "calculated_at": "2026-09-28T05:50:46+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-n3.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-n3",
  "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": [
   "BB33"
  ],
  "route_summit_trim_m": 2925.3,
  "route_summit_trim_loss_m": 277.4,
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "suppression_unstable": [
   10.0
  ],
  "carriageway": {
   "stations": 157,
   "stations_resolved": 157,
   "width_median_m": 4.5,
   "width_p10_m": 2.25,
   "width_min_m": 1.0,
   "width_max_m": 12.0,
   "bounded_share": 0.146,
   "unbounded_share": 0.854,
   "confidence_median": 0.0,
   "width_median_bounded_m": 2.25,
   "window_m": [
    1977.0,
    2002.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": 157,
    "stations_resolved": 157,
    "width_median_m": 2.75,
    "width_p10_m": 0.75,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.955,
    "unbounded_share": 0.045,
    "confidence_median": 1.0,
    "width_median_bounded_m": 2.5,
    "window_m": [
     1977.0,
     2002.0
    ],
    "width_at_max25_m": 4.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": "Franklin",
  "county": "Waikato",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}