{
 "ocl_version": "0.1.0",
 "name": "Ruapapa Road",
 "slug": "ruapapa-road-4",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 38.65644214288011,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "placement_excluded_min",
    "texture_excluded"
   ],
   "start_distance_m": 2722.0,
   "end_distance_m": 2724.0,
   "start_elevation_m": 397.0436211583214,
   "end_elevation_m": 397.816750001179,
   "min_gradient_pct": -39.57566034806348,
   "suppressed_max_gradient_pct": 92.23999067665147,
   "suppressed_location_m": [
    960.0,
    962.0
   ],
   "suppressed_min_gradient_pct": -54.647416966327,
   "suppressed_min_location_m": [
    1844.0,
    1846.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 35.95966276803703,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "placement_excluded_min",
    "texture_excluded"
   ],
   "start_distance_m": 2722.0,
   "end_distance_m": 2725.0,
   "start_elevation_m": 397.0436211583214,
   "end_elevation_m": 398.1224110413625,
   "min_gradient_pct": -34.265937412033054,
   "suppressed_max_gradient_pct": 69.97913061008394,
   "suppressed_location_m": [
    959.0,
    962.0
   ],
   "suppressed_min_gradient_pct": -45.27258836262339,
   "suppressed_min_location_m": [
    1844.0,
    1847.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 24.11403991224006,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "placement_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "suppression_unstable"
   ],
   "start_distance_m": 2721.0,
   "end_distance_m": 2726.0,
   "start_elevation_m": 396.8725097069846,
   "end_elevation_m": 398.0782117025966,
   "min_gradient_pct": -26.831812158991397,
   "suppressed_max_gradient_pct": 58.40433838816921,
   "suppressed_location_m": [
    1949.0,
    1954.0
   ],
   "suppressed_min_gradient_pct": -41.292605294147506,
   "suppressed_min_location_m": [
    1844.0,
    1849.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 16.461646491886768,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "placement_excluded",
    "placement_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "suppression_unstable"
   ],
   "start_distance_m": 2716.0,
   "end_distance_m": 2726.0,
   "start_elevation_m": 396.4320470534079,
   "end_elevation_m": 398.0782117025966,
   "min_gradient_pct": -19.842508002241175,
   "suppressed_max_gradient_pct": 53.87582063523837,
   "suppressed_location_m": [
    1946.0,
    1956.0
   ],
   "suppressed_min_gradient_pct": -30.78540781663321,
   "suppressed_min_location_m": [
    1841.0,
    1851.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 15.008734264935981,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "placement_excluded_min",
    "texture_excluded",
    "suppression_unstable",
    "texture_excluded"
   ],
   "start_distance_m": 2180.0,
   "end_distance_m": 2200.0,
   "start_elevation_m": 334.6333853355047,
   "end_elevation_m": 337.6351321884919,
   "min_gradient_pct": -16.357763503334866,
   "suppressed_max_gradient_pct": 36.23030626721061,
   "suppressed_location_m": [
    1787.0,
    1807.0
   ],
   "suppressed_min_gradient_pct": -19.30688662930862,
   "suppressed_min_location_m": [
    1835.0,
    1855.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 14.501297775626085,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1222.0,
   "end_distance_m": 1247.0,
   "start_elevation_m": 215.686920642354,
   "end_elevation_m": 219.31224508626053,
   "min_gradient_pct": -15.411297059957633,
   "suppressed_max_gradient_pct": 34.609503488758264,
   "suppressed_location_m": [
    1782.0,
    1807.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 13.888564822800303,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "texture_excluded"
   ],
   "start_distance_m": 278.0,
   "end_distance_m": 328.0,
   "start_elevation_m": 105.7155366880854,
   "end_elevation_m": 112.65981909948555,
   "min_gradient_pct": -8.005899727079168,
   "suppressed_max_gradient_pct": 29.81820803630785,
   "suppressed_location_m": [
    1763.0,
    1813.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 13.338583608890701,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "texture_excluded_min"
   ],
   "start_distance_m": 1434.0,
   "end_distance_m": 1534.0,
   "start_elevation_m": 241.12420892886905,
   "end_elevation_m": 254.46279253775975,
   "min_gradient_pct": -0.7728857353570788,
   "suppressed_max_gradient_pct": 20.818695105999442,
   "suppressed_location_m": [
    1714.0,
    1814.0
   ],
   "suppressed_min_gradient_pct": -2.3773398050759056,
   "suppressed_min_location_m": [
    2827.0,
    2927.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.29,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 413.0,
  "shape_class": "sustained"
 },
 "length_m": 2941.5264879658926,
 "start_elevation_m": 74.12170789574084,
 "end_elevation_m": 399.1730100479356,
 "endpoint_gain_m": 325.05130215219475,
 "overall_gradient_pct": 11.050429206808618,
 "accumulated_ascent_m": 344.1217117380207,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 24.11403991224006,
   "start_distance_m": 2721.0,
   "end_distance_m": 2726.0,
   "midpoint_distance_m": 2723.5,
   "start_elevation_m": 396.8725097069846,
   "end_elevation_m": 398.0782117025966,
   "start_xy": [
    1955358.7110659694,
    5682963.440271648
   ],
   "end_xy": [
    1955359.7581502777,
    5682968.329403928
   ]
  },
  "max_10m": {
   "gradient_pct": 16.461646491886768,
   "start_distance_m": 2716.0,
   "end_distance_m": 2726.0,
   "midpoint_distance_m": 2721.0,
   "start_elevation_m": 396.4320470534079,
   "end_elevation_m": 398.0782117025966,
   "start_xy": [
    1955357.6639816614,
    5682958.551139368
   ],
   "end_xy": [
    1955359.7581502777,
    5682968.329403928
   ]
  },
  "max_20m": {
   "gradient_pct": 15.008734264935981,
   "start_distance_m": 2180.0,
   "end_distance_m": 2200.0,
   "midpoint_distance_m": 2190.0,
   "start_elevation_m": 334.6333853355047,
   "end_elevation_m": 337.6351321884919,
   "start_xy": [
    1955517.7027219925,
    5682569.673560772
   ],
   "end_xy": [
    1955506.1713288992,
    5682585.966082852
   ]
  },
  "max_25m": {
   "gradient_pct": 14.501297775626085,
   "start_distance_m": 1222.0,
   "end_distance_m": 1247.0,
   "midpoint_distance_m": 1234.5,
   "start_elevation_m": 215.686920642354,
   "end_elevation_m": 219.31224508626053,
   "start_xy": [
    1955808.2428880988,
    5681905.755929151
   ],
   "end_xy": [
    1955792.9527994005,
    5681925.508222209
   ]
  },
  "max_50m": {
   "gradient_pct": 13.888564822800303,
   "start_distance_m": 278.0,
   "end_distance_m": 328.0,
   "midpoint_distance_m": 303.0,
   "start_elevation_m": 105.7155366880854,
   "end_elevation_m": 112.65981909948555,
   "start_xy": [
    1956649.6023929,
    5681770.73023609
   ],
   "end_xy": [
    1956615.7226270856,
    5681806.2525084745
   ]
  },
  "max_100m": {
   "gradient_pct": 13.338583608890701,
   "start_distance_m": 1434.0,
   "end_distance_m": 1534.0,
   "midpoint_distance_m": 1484.0,
   "start_elevation_m": 241.12420892886905,
   "end_elevation_m": 254.46279253775975,
   "start_xy": [
    1955894.440097485,
    5682050.063578424
   ],
   "end_xy": [
    1955929.9547454554,
    5682139.6183073865
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -26.831812158991397,
   "start_distance_m": 2726.0,
   "end_distance_m": 2731.0,
   "midpoint_distance_m": 2728.5,
   "start_elevation_m": 398.0782117025966,
   "end_elevation_m": 396.73662109464703,
   "start_xy": [
    1955359.7581502777,
    5682968.329403928
   ],
   "end_xy": [
    1955360.8052345857,
    5682973.218536208
   ]
  },
  "min_10m": {
   "gradient_pct": -19.842508002241175,
   "start_distance_m": 2908.0,
   "end_distance_m": 2918.0,
   "midpoint_distance_m": 2913.0,
   "start_elevation_m": 401.29652128619796,
   "end_elevation_m": 399.31227048597384,
   "start_xy": [
    1955349.7099535575,
    5683148.690861865
   ],
   "end_xy": [
    1955349.8710340867,
    5683158.689564434
   ]
  },
  "min_20m": {
   "gradient_pct": -16.357763503334866,
   "start_distance_m": 2898.0,
   "end_distance_m": 2918.0,
   "midpoint_distance_m": 2908.0,
   "start_elevation_m": 402.5838231866408,
   "end_elevation_m": 399.31227048597384,
   "start_xy": [
    1955349.5488730283,
    5683138.692159296
   ],
   "end_xy": [
    1955349.8710340867,
    5683158.689564434
   ]
  },
  "min_25m": {
   "gradient_pct": -15.411297059957633,
   "start_distance_m": 2897.0,
   "end_distance_m": 2922.0,
   "midpoint_distance_m": 2909.5,
   "start_elevation_m": 402.73684029381513,
   "end_elevation_m": 398.8840160288257,
   "start_xy": [
    1955349.5327649752,
    5683137.6922890395
   ],
   "end_xy": [
    1955349.9354662984,
    5683162.689045462
   ]
  },
  "min_50m": {
   "gradient_pct": -8.005899727079168,
   "start_distance_m": 2887.0,
   "end_distance_m": 2937.0,
   "midpoint_distance_m": 2912.0,
   "start_elevation_m": 402.7826649199002,
   "end_elevation_m": 398.7797150563606,
   "start_xy": [
    1955349.371684446,
    5683127.693586471
   ],
   "end_xy": [
    1955350.1770870923,
    5683177.687099315
   ]
  },
  "min_100m": {
   "gradient_pct": -0.7728857353570788,
   "start_distance_m": 2771.0,
   "end_distance_m": 2871.0,
   "midpoint_distance_m": 2821.0,
   "start_elevation_m": 401.69147753905537,
   "end_elevation_m": 400.9185918036983,
   "start_xy": [
    1955354.5895530528,
    5683011.939968783
   ],
   "end_xy": [
    1955349.135151942,
    5683111.695770777
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 38.65644214288011,
   "start_distance_m": 2722.0,
   "end_distance_m": 2724.0,
   "midpoint_distance_m": 2723.0,
   "start_elevation_m": 397.0436211583214,
   "end_elevation_m": 397.816750001179,
   "start_xy": [
    1955358.920482831,
    5682964.418098104
   ],
   "end_xy": [
    1955359.3393165544,
    5682966.373751016
   ]
  },
  "max_3m": {
   "gradient_pct": 35.95966276803703,
   "start_distance_m": 2722.0,
   "end_distance_m": 2725.0,
   "midpoint_distance_m": 2723.5,
   "start_elevation_m": 397.0436211583214,
   "end_elevation_m": 398.1224110413625,
   "start_xy": [
    1955358.920482831,
    5682964.418098104
   ],
   "end_xy": [
    1955359.548733416,
    5682967.351577472
   ]
  }
 },
 "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.014,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    10.0,
    20.0,
    25.0,
    50.0,
    100.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "placement_suppression": {
   "masked_fraction": 0.036,
   "windows_resited": [
    10.0
   ],
   "windows_unresolved": [],
   "minima_resited": [
    2.0,
    3.0,
    5.0,
    10.0,
    20.0
   ],
   "minima_unresolved": []
  },
  "texture_suppression": {
   "masked_fraction": 0.066,
   "windows_resited": [
    10.0
   ],
   "windows_unresolved": [],
   "minima_resited": [
    100.0
   ],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 3,
   "windows_masked": [
    {
     "window_m": 25.0,
     "start_m": 2688.0,
     "end_m": 2713.0,
     "raw_pct": 20.58,
     "reason": "hump"
    },
    {
     "window_m": 20.0,
     "start_m": 2693.0,
     "end_m": 2713.0,
     "raw_pct": 21.51,
     "reason": "hump"
    },
    {
     "window_m": 10.0,
     "start_m": 2752.0,
     "end_m": 2762.0,
     "raw_pct": 26.65,
     "reason": "hump"
    },
    {
     "window_m": 5.0,
     "start_m": 2759.0,
     "end_m": 2764.0,
     "raw_pct": 38.32,
     "reason": "hump+short-step"
    },
    {
     "window_m": 25.0,
     "start_m": 2652.0,
     "end_m": 2677.0,
     "raw_pct": 18.21,
     "reason": "mask-edge"
    },
    {
     "window_m": 10.0,
     "start_m": 2874.0,
     "end_m": 2884.0,
     "raw_pct": 19.82,
     "reason": "short-step"
    }
   ],
   "advisory": [],
   "unresolved": [],
   "unstable": [
    {
     "window_m": 20.0,
     "start_m": 2654.0,
     "end_m": 2674.0,
     "raw_pct": 19.45,
     "reason": "mask-edge",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "mask-edge",
      "mask-edge",
      ""
     ]
    },
    {
     "window_m": 5.0,
     "start_m": 2721.0,
     "end_m": 2726.0,
     "raw_pct": 24.11,
     "reason": "mask-edge",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "",
      "mask-edge",
      ""
     ]
    },
    {
     "window_m": 10.0,
     "start_m": 2716.0,
     "end_m": 2726.0,
     "raw_pct": 16.46,
     "reason": "mask-edge",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "mask-edge",
      "mask-edge",
      ""
     ]
    }
   ]
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.023,
   "obstruction_max_height_m": 15.19,
   "flagged_windows_m": [
    25
   ]
  },
  "excluded_ranges_m": [
   [
    958.0,
    964.0
   ],
   [
    1770.0,
    1850.0
   ],
   [
    1946.0,
    1956.0
   ],
   [
    2646.0,
    2679.0
   ],
   [
    2686.0,
    2715.0
   ],
   [
    2750.0,
    2766.0
   ],
   [
    2872.0,
    2886.0
   ]
  ],
  "review": [],
  "extent": []
 },
 "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-n5",
   "road_pbf": "block-batch-nz-n5.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:5991b43afbe40ae2"
  },
  "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/BH40.tiff"
  ],
  "calculated_at": "2026-09-28T05:50:13+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-n5.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-n5",
  "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": [
   "BH40"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 3,
  "suppression_unstable": [
   5.0,
   10.0,
   20.0
  ],
  "carriageway": {
   "stations": 124,
   "stations_resolved": 124,
   "width_median_m": 5.0,
   "width_p10_m": 2.5,
   "width_min_m": 0.5,
   "width_max_m": 9.25,
   "bounded_share": 0.169,
   "unbounded_share": 0.831,
   "confidence_median": 0.0,
   "width_median_bounded_m": 2.75,
   "window_m": [
    1222.0,
    1247.0
   ],
   "width_at_max25_m": 5.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": 124,
    "stations_resolved": 124,
    "width_median_m": 9.88,
    "width_p10_m": 3.83,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.395,
    "unbounded_share": 0.605,
    "confidence_median": 0.0,
    "width_median_bounded_m": 6.5,
    "window_m": [
     1222.0,
     1247.0
    ],
    "width_at_max25_m": 12.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": "Hawke's Bay",
  "county": "Hawke's Bay",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}