{
 "ocl_version": "0.1.0",
 "name": "Torehape Road West",
 "slug": "torehape-road-west",
 "confidence": "U",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 49.08184424433841,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded"
   ],
   "start_distance_m": 1970.0,
   "end_distance_m": 1972.0,
   "start_elevation_m": 72.32033675932084,
   "end_elevation_m": 73.3019736442076,
   "min_gradient_pct": -51.57021720176189,
   "suppressed_max_gradient_pct": 77.01681561285909,
   "suppressed_location_m": [
    3317.0,
    3319.0
   ],
   "suppressed_min_gradient_pct": -85.271616781327,
   "suppressed_min_location_m": [
    3286.0,
    3288.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 45.386120887569824,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded"
   ],
   "start_distance_m": 1970.0,
   "end_distance_m": 1973.0,
   "start_elevation_m": 72.32033675932084,
   "end_elevation_m": 73.68192038594793,
   "min_gradient_pct": -49.27231512937359,
   "suppressed_max_gradient_pct": 72.25295299079353,
   "suppressed_location_m": [
    3316.0,
    3319.0
   ],
   "suppressed_min_gradient_pct": -79.75526069787786,
   "suppressed_min_location_m": [
    3286.0,
    3289.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 36.21234252390764,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "suppression_unstable",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 3775.0,
   "end_distance_m": 3780.0,
   "start_elevation_m": 182.90308968656961,
   "end_elevation_m": 184.713706812765,
   "min_gradient_pct": -46.208674543038626,
   "suppressed_max_gradient_pct": 67.96994410320053,
   "suppressed_location_m": [
    3315.0,
    3320.0
   ],
   "suppressed_min_gradient_pct": -77.27611281679799,
   "suppressed_min_location_m": [
    3286.0,
    3291.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 29.36302316601285,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_unresolved",
    "canopy_or_structure"
   ],
   "start_distance_m": 3341.0,
   "end_distance_m": 3351.0,
   "start_elevation_m": 133.81957697066446,
   "end_elevation_m": 136.75587928726574,
   "min_gradient_pct": -29.207587469058183,
   "suppressed_max_gradient_pct": 51.8550695973542,
   "suppressed_location_m": [
    3313.0,
    3323.0
   ],
   "suppressed_min_gradient_pct": -63.82279849808782,
   "suppressed_min_location_m": [
    3286.0,
    3296.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 23.37283740050495,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 3768.0,
   "end_distance_m": 3788.0,
   "start_elevation_m": 181.7366157508995,
   "end_elevation_m": 186.41118323100048,
   "min_gradient_pct": -16.925836207099536,
   "suppressed_max_gradient_pct": 37.66364391356795,
   "suppressed_location_m": [
    3310.0,
    3330.0
   ],
   "suppressed_min_gradient_pct": -31.12885971842985,
   "suppressed_min_location_m": [
    3282.0,
    3302.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 22.14968402608622,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 3763.0,
   "end_distance_m": 3788.0,
   "start_elevation_m": 180.87376222447892,
   "end_elevation_m": 186.41118323100048,
   "min_gradient_pct": -16.114147021987378,
   "suppressed_max_gradient_pct": 34.6975965460652,
   "suppressed_location_m": [
    3304.0,
    3329.0
   ],
   "suppressed_min_gradient_pct": -23.192330885207753,
   "suppressed_min_location_m": [
    3277.0,
    3302.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 20.58487115212637,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 3757.0,
   "end_distance_m": 3807.0,
   "start_elevation_m": 179.80826892516245,
   "end_elevation_m": 190.10070450122564,
   "min_gradient_pct": -7.751529061028862,
   "suppressed_max_gradient_pct": 22.428125085494003,
   "suppressed_location_m": [
    3303.0,
    3353.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 17.503794707660603,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 3708.0,
   "end_distance_m": 3808.0,
   "start_elevation_m": 172.8053059833569,
   "end_elevation_m": 190.3091006910175,
   "min_gradient_pct": -5.734066363460513
  }
 ],
 "shape": {
  "ascent_concentration": 0.474,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 92.0,
  "shape_class": "stepped"
 },
 "length_m": 4039.3952855670364,
 "start_elevation_m": 31.630036963335762,
 "end_elevation_m": 217.95733606424383,
 "endpoint_gain_m": 186.32729910090808,
 "overall_gradient_pct": 4.612752303956609,
 "accumulated_ascent_m": 271.4714329966382,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 36.21234252390764,
   "start_distance_m": 3775.0,
   "end_distance_m": 3780.0,
   "midpoint_distance_m": 3777.5,
   "start_elevation_m": 182.90308968656961,
   "end_elevation_m": 184.713706812765,
   "start_xy": [
    1811299.2580004388,
    5862472.45450703
   ],
   "end_xy": [
    1811303.2739748654,
    5862469.475925253
   ]
  },
  "max_10m": {
   "gradient_pct": 29.36302316601285,
   "start_distance_m": 3341.0,
   "end_distance_m": 3351.0,
   "midpoint_distance_m": 3346.0,
   "start_elevation_m": 133.81957697066446,
   "end_elevation_m": 136.75587928726574,
   "start_xy": [
    1811306.962424999,
    5862767.172426966
   ],
   "end_xy": [
    1811303.972775793,
    5862757.629785947
   ]
  },
  "max_20m": {
   "gradient_pct": 23.37283740050495,
   "start_distance_m": 3768.0,
   "end_distance_m": 3788.0,
   "midpoint_distance_m": 3778.0,
   "start_elevation_m": 181.7366157508995,
   "end_elevation_m": 186.41118323100048,
   "start_xy": [
    1811293.1478041082,
    5862475.664319982
   ],
   "end_xy": [
    1811309.699533948,
    5862464.710194409
   ]
  },
  "max_25m": {
   "gradient_pct": 22.14968402608622,
   "start_distance_m": 3763.0,
   "end_distance_m": 3788.0,
   "midpoint_distance_m": 3775.5,
   "start_elevation_m": 180.87376222447892,
   "end_elevation_m": 186.41118323100048,
   "start_xy": [
    1811288.3740557067,
    5862477.151372839
   ],
   "end_xy": [
    1811309.699533948,
    5862464.710194409
   ]
  },
  "max_50m": {
   "gradient_pct": 20.58487115212637,
   "start_distance_m": 3757.0,
   "end_distance_m": 3807.0,
   "midpoint_distance_m": 3782.0,
   "start_elevation_m": 179.80826892516245,
   "end_elevation_m": 190.10070450122564,
   "start_xy": [
    1811282.645557625,
    5862478.935836267
   ],
   "end_xy": [
    1811320.3569181059,
    5862449.268585846
   ]
  },
  "max_100m": {
   "gradient_pct": 17.503794707660603,
   "start_distance_m": 3708.0,
   "end_distance_m": 3808.0,
   "midpoint_distance_m": 3758.0,
   "start_elevation_m": 172.8053059833569,
   "end_elevation_m": 190.3091006910175,
   "start_xy": [
    1811269.5739167714,
    5862513.519869484
   ],
   "end_xy": [
    1811320.860882564,
    5862448.404861455
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -46.208674543038626,
   "start_distance_m": 3240.0,
   "end_distance_m": 3245.0,
   "midpoint_distance_m": 3242.5,
   "start_elevation_m": 128.43167704953714,
   "end_elevation_m": 126.12124332238521,
   "start_xy": [
    1811272.8101759527,
    5862853.036588536
   ],
   "end_xy": [
    1811271.1340418737,
    5862848.325901266
   ]
  },
  "min_10m": {
   "gradient_pct": -29.207587469058183,
   "start_distance_m": 1743.0,
   "end_distance_m": 1753.0,
   "midpoint_distance_m": 1748.0,
   "start_elevation_m": 79.57087101300036,
   "end_elevation_m": 76.65011226609454,
   "start_xy": [
    1812446.0417356258,
    5863438.226551106
   ],
   "end_xy": [
    1812442.2297492393,
    5863428.981619533
   ]
  },
  "min_20m": {
   "gradient_pct": -16.925836207099536,
   "start_distance_m": 1732.0,
   "end_distance_m": 1752.0,
   "midpoint_distance_m": 1742.0,
   "start_elevation_m": 80.21188468267613,
   "end_elevation_m": 76.82671744125622,
   "start_xy": [
    1812450.234920651,
    5863448.395975837
   ],
   "end_xy": [
    1812442.6109478779,
    5863429.90611269
   ]
  },
  "min_25m": {
   "gradient_pct": -16.114147021987378,
   "start_distance_m": 1728.0,
   "end_distance_m": 1753.0,
   "midpoint_distance_m": 1740.5,
   "start_elevation_m": 80.67864902159138,
   "end_elevation_m": 76.65011226609454,
   "start_xy": [
    1812451.7597152055,
    5863452.093948466
   ],
   "end_xy": [
    1812442.2297492393,
    5863428.981619533
   ]
  },
  "min_50m": {
   "gradient_pct": -7.751529061028862,
   "start_distance_m": 1703.0,
   "end_distance_m": 1753.0,
   "midpoint_distance_m": 1728.0,
   "start_elevation_m": 80.52587679660897,
   "end_elevation_m": 76.65011226609454,
   "start_xy": [
    1812461.1951654614,
    5863475.228038301
   ],
   "end_xy": [
    1812442.2297492393,
    5863428.981619533
   ]
  },
  "min_100m": {
   "gradient_pct": -5.734066363460513,
   "start_distance_m": 1654.0,
   "end_distance_m": 1754.0,
   "midpoint_distance_m": 1704.0,
   "start_elevation_m": 82.33867115097071,
   "end_elevation_m": 76.6046047875102,
   "start_xy": [
    1812469.8828343842,
    5863523.051218345
   ],
   "end_xy": [
    1812441.8485506007,
    5863428.057126376
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 49.08184424433841,
   "start_distance_m": 1970.0,
   "end_distance_m": 1972.0,
   "midpoint_distance_m": 1971.0,
   "start_elevation_m": 72.32033675932084,
   "end_elevation_m": 73.3019736442076,
   "start_xy": [
    1812291.0463733706,
    5863279.434321616
   ],
   "end_xy": [
    1812289.2995035457,
    5863278.460439788
   ]
  },
  "max_3m": {
   "gradient_pct": 45.386120887569824,
   "start_distance_m": 1970.0,
   "end_distance_m": 1973.0,
   "midpoint_distance_m": 1971.5,
   "start_elevation_m": 72.32033675932084,
   "end_elevation_m": 73.68192038594793,
   "start_xy": [
    1812291.0463733706,
    5863279.434321616
   ],
   "end_xy": [
    1812288.4260686333,
    5863277.973498874
   ]
  }
 },
 "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.018,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    10.0,
    20.0,
    25.0,
    50.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.025,
   "windows_resited": [],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "placement_suppression": {
   "masked_fraction": 0.026,
   "windows_resited": [],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_suppression": {
   "masked_fraction": 0.058,
   "windows_resited": [
    5.0,
    10.0,
    20.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 4,
   "windows_masked": [
    {
     "window_m": 25.0,
     "start_m": 3409.0,
     "end_m": 3434.0,
     "raw_pct": 22.85,
     "reason": "staircase+spike+hump"
    },
    {
     "window_m": 10.0,
     "start_m": 3407.0,
     "end_m": 3417.0,
     "raw_pct": 41.55,
     "reason": "hump+short-step"
    },
    {
     "window_m": 5.0,
     "start_m": 3409.0,
     "end_m": 3414.0,
     "raw_pct": 46.4,
     "reason": "hump"
    },
    {
     "window_m": 25.0,
     "start_m": 2362.0,
     "end_m": 2387.0,
     "raw_pct": 22.21,
     "reason": "staircase+spike"
    },
    {
     "window_m": 10.0,
     "start_m": 3250.0,
     "end_m": 3260.0,
     "raw_pct": 39.49,
     "reason": "short-step"
    },
    {
     "window_m": 20.0,
     "start_m": 2161.0,
     "end_m": 2181.0,
     "raw_pct": 24.83,
     "reason": "staircase+spike"
    },
    {
     "window_m": 10.0,
     "start_m": 2163.0,
     "end_m": 2173.0,
     "raw_pct": 37.48,
     "reason": "short-step"
    },
    {
     "window_m": 20.0,
     "start_m": 3109.0,
     "end_m": 3129.0,
     "raw_pct": 23.53,
     "reason": "staircase+spike+hump"
    },
    {
     "window_m": 10.0,
     "start_m": 3112.0,
     "end_m": 3122.0,
     "raw_pct": 35.23,
     "reason": "hump+short-step"
    }
   ],
   "advisory": [],
   "unresolved": [
    {
     "window_m": 10.0,
     "start_m": 3341.0,
     "end_m": 3351.0,
     "pct": 29.36,
     "reason": "hump"
    }
   ],
   "unstable": [
    {
     "window_m": 5.0,
     "start_m": 3113.0,
     "end_m": 3118.0,
     "raw_pct": 42.74,
     "reason": "hump",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "hump",
      "hump",
      ""
     ]
    }
   ]
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.324,
   "obstruction_max_height_m": 22.54,
   "flagged_windows_m": [
    5,
    10,
    20,
    25,
    50,
    100
   ]
  },
  "excluded_ranges_m": [
   [
    2159.0,
    2183.0
   ],
   [
    2360.0,
    2389.0
   ],
   [
    2520.0,
    2526.0
   ],
   [
    2539.0,
    2544.0
   ],
   [
    2620.0,
    2650.0
   ],
   [
    3107.0,
    3131.0
   ],
   [
    3143.0,
    3148.0
   ],
   [
    3248.0,
    3262.0
   ],
   [
    3280.0,
    3322.0
   ],
   [
    3392.0,
    3397.0
   ],
   [
    3405.0,
    3436.0
   ],
   [
    3645.0,
    3651.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-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/BC34.tiff"
  ],
  "calculated_at": "2026-09-28T05:06:51+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": [
   "BC34"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 2,
  "suppression_unstable": [
   5.0
  ],
  "carriageway": {
   "stations": 168,
   "stations_resolved": 168,
   "width_median_m": 4.25,
   "width_p10_m": 2.0,
   "width_min_m": 0.5,
   "width_max_m": 12.0,
   "bounded_share": 0.22,
   "unbounded_share": 0.78,
   "confidence_median": 0.0,
   "width_median_bounded_m": 2.75,
   "window_m": [
    3763.0,
    3788.0
   ],
   "width_at_max25_m": 2.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": 168,
    "stations_resolved": 168,
    "width_median_m": 3.25,
    "width_p10_m": 1.0,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.827,
    "unbounded_share": 0.173,
    "confidence_median": 1.0,
    "width_median_bounded_m": 2.75,
    "window_m": [
     3763.0,
     3788.0
    ],
    "width_at_max25_m": 2.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)"
 }
}