{
 "ocl_version": "0.1.0",
 "name": "Hopai Road",
 "slug": "hopai-road-2",
 "confidence": "U",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 48.098543636967506,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded"
   ],
   "start_distance_m": 1379.0,
   "end_distance_m": 1381.0,
   "start_elevation_m": 23.352459895736253,
   "end_elevation_m": 24.314430768475603,
   "min_gradient_pct": -55.68735674913157,
   "suppressed_max_gradient_pct": 130.41455482702258,
   "suppressed_location_m": [
    2153.0,
    2155.0
   ],
   "suppressed_min_gradient_pct": -75.15153878468972,
   "suppressed_min_location_m": [
    2192.0,
    2194.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 34.1518413491786,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded"
   ],
   "start_distance_m": 1231.0,
   "end_distance_m": 1234.0,
   "start_elevation_m": 23.597576901215422,
   "end_elevation_m": 24.62213214169078,
   "min_gradient_pct": -52.21210482252019,
   "suppressed_max_gradient_pct": 126.82906577085949,
   "suppressed_location_m": [
    2153.0,
    2156.0
   ],
   "suppressed_min_gradient_pct": -74.68541812921572,
   "suppressed_min_location_m": [
    2192.0,
    2195.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 28.331738780259457,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_unresolved",
    "canopy_or_structure"
   ],
   "start_distance_m": 2642.0,
   "end_distance_m": 2647.0,
   "start_elevation_m": 78.36126911495299,
   "end_elevation_m": 79.77785605396596,
   "min_gradient_pct": -46.38023240883982,
   "suppressed_max_gradient_pct": 111.55252694723963,
   "suppressed_location_m": [
    2151.0,
    2156.0
   ],
   "suppressed_min_gradient_pct": -70.69296293871759,
   "suppressed_min_location_m": [
    2191.0,
    2196.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 26.78598156247034,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 2860.0,
   "end_distance_m": 2870.0,
   "start_elevation_m": 91.56994041141148,
   "end_elevation_m": 94.24853856765851,
   "min_gradient_pct": -33.24536073543683,
   "suppressed_max_gradient_pct": 91.01880976466681,
   "suppressed_location_m": [
    1726.0,
    1736.0
   ],
   "suppressed_min_gradient_pct": -56.907047711567984,
   "suppressed_min_location_m": [
    2188.0,
    2198.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 21.586164764472358,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 2855.0,
   "end_distance_m": 2875.0,
   "start_elevation_m": 90.54927039154012,
   "end_elevation_m": 94.86650334443459,
   "min_gradient_pct": -27.57362351919847,
   "suppressed_max_gradient_pct": 77.07953239769435,
   "suppressed_location_m": [
    1726.0,
    1746.0
   ],
   "suppressed_min_gradient_pct": -34.76510229832332,
   "suppressed_min_location_m": [
    1777.0,
    1797.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 21.204008793341192,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded_min",
    "canopy_or_structure"
   ],
   "start_distance_m": 2859.0,
   "end_distance_m": 2884.0,
   "start_elevation_m": 91.40676566372116,
   "end_elevation_m": 96.70776786205646,
   "min_gradient_pct": -22.680493276906162,
   "suppressed_max_gradient_pct": 63.248494059307035,
   "suppressed_location_m": [
    1722.0,
    1747.0
   ],
   "suppressed_min_gradient_pct": -30.410263229812927,
   "suppressed_min_location_m": [
    1777.0,
    1802.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 15.517895240784041,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 2855.0,
   "end_distance_m": 2905.0,
   "start_elevation_m": 90.54927039154012,
   "end_elevation_m": 98.30821801193214,
   "min_gradient_pct": -14.045511132850756,
   "suppressed_max_gradient_pct": 33.83498435521799,
   "suppressed_location_m": [
    2134.0,
    2184.0
   ],
   "suppressed_min_gradient_pct": -22.751667183752403,
   "suppressed_min_location_m": [
    1750.0,
    1800.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 11.293904965845968,
   "diagnostic": false,
   "flags": [
    "structure_excluded_min",
    "no_bench_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 2509.0,
   "end_distance_m": 2609.0,
   "start_elevation_m": 65.08506029573823,
   "end_elevation_m": 76.3789652615842,
   "min_gradient_pct": -11.28933771707687,
   "suppressed_max_gradient_pct": 19.672420874930133,
   "suppressed_location_m": [
    2414.0,
    2514.0
   ],
   "suppressed_min_gradient_pct": -13.542496859642249,
   "suppressed_min_location_m": [
    1748.0,
    1848.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.453,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 115.0,
  "shape_class": "stepped"
 },
 "length_m": 2976.5915507692416,
 "start_elevation_m": 6.499766394713545,
 "end_elevation_m": 101.20359671472131,
 "endpoint_gain_m": 94.70383032000777,
 "overall_gradient_pct": 3.1816199402814744,
 "accumulated_ascent_m": 212.39730613485935,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 28.331738780259457,
   "start_distance_m": 2642.0,
   "end_distance_m": 2647.0,
   "midpoint_distance_m": 2644.5,
   "start_elevation_m": 78.36126911495299,
   "end_elevation_m": 79.77785605396596,
   "start_xy": [
    1685663.2237620226,
    5449507.3981897775
   ],
   "end_xy": [
    1685658.433061808,
    5449508.8296895
   ]
  },
  "max_10m": {
   "gradient_pct": 26.78598156247034,
   "start_distance_m": 2860.0,
   "end_distance_m": 2870.0,
   "midpoint_distance_m": 2865.0,
   "start_elevation_m": 91.56994041141148,
   "end_elevation_m": 94.24853856765851,
   "start_xy": [
    1685452.9835665897,
    5449499.2856907705
   ],
   "end_xy": [
    1685444.1502290396,
    5449494.598245013
   ]
  },
  "max_20m": {
   "gradient_pct": 21.586164764472358,
   "start_distance_m": 2855.0,
   "end_distance_m": 2875.0,
   "midpoint_distance_m": 2865.0,
   "start_elevation_m": 90.54927039154012,
   "end_elevation_m": 94.86650334443459,
   "start_xy": [
    1685457.4002353647,
    5449501.6294136485
   ],
   "end_xy": [
    1685439.7335602648,
    5449492.254522134
   ]
  },
  "max_25m": {
   "gradient_pct": 21.204008793341192,
   "start_distance_m": 2859.0,
   "end_distance_m": 2884.0,
   "midpoint_distance_m": 2871.5,
   "start_elevation_m": 91.40676566372116,
   "end_elevation_m": 96.70776786205646,
   "start_xy": [
    1685453.8669003446,
    5449499.7544353455
   ],
   "end_xy": [
    1685430.9657739745,
    5449490.967013734
   ]
  },
  "max_50m": {
   "gradient_pct": 15.517895240784041,
   "start_distance_m": 2855.0,
   "end_distance_m": 2905.0,
   "midpoint_distance_m": 2880.0,
   "start_elevation_m": 90.54927039154012,
   "end_elevation_m": 98.30821801193214,
   "start_xy": [
    1685457.4002353647,
    5449501.6294136485
   ],
   "end_xy": [
    1685414.865524577,
    5449504.4496681215
   ]
  },
  "max_100m": {
   "gradient_pct": 11.293904965845968,
   "start_distance_m": 2509.0,
   "end_distance_m": 2609.0,
   "midpoint_distance_m": 2559.0,
   "start_elevation_m": 65.08506029573823,
   "end_elevation_m": 76.3789652615842,
   "start_xy": [
    1685788.591086369,
    5449463.283556861
   ],
   "end_xy": [
    1685694.842383437,
    5449497.950291607
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -46.38023240883982,
   "start_distance_m": 1885.0,
   "end_distance_m": 1890.0,
   "midpoint_distance_m": 1887.5,
   "start_elevation_m": 36.34045211963221,
   "end_elevation_m": 34.02144049919022,
   "start_xy": [
    1686007.6116006384,
    5449097.764282436
   ],
   "end_xy": [
    1686003.6645820453,
    5449100.833607487
   ]
  },
  "min_10m": {
   "gradient_pct": -33.24536073543683,
   "start_distance_m": 1881.0,
   "end_distance_m": 1891.0,
   "midpoint_distance_m": 1886.0,
   "start_elevation_m": 37.17858326188372,
   "end_elevation_m": 33.85404718834004,
   "start_xy": [
    1686010.765389217,
    5449095.303872389
   ],
   "end_xy": [
    1686002.8706746509,
    5449101.441646178
   ]
  },
  "min_20m": {
   "gradient_pct": -27.57362351919847,
   "start_distance_m": 1913.0,
   "end_distance_m": 1933.0,
   "midpoint_distance_m": 1923.0,
   "start_elevation_m": 36.647721000441436,
   "end_elevation_m": 31.132996296601743,
   "start_xy": [
    1685985.404711975,
    5449114.81849737
   ],
   "end_xy": [
    1685967.7857819044,
    5449123.692273334
   ]
  },
  "min_25m": {
   "gradient_pct": -22.680493276906162,
   "start_distance_m": 1913.0,
   "end_distance_m": 1938.0,
   "midpoint_distance_m": 1925.5,
   "start_elevation_m": 36.647721000441436,
   "end_elevation_m": 30.977597681214895,
   "start_xy": [
    1685985.404711975,
    5449114.81849737
   ],
   "end_xy": [
    1685962.900332771,
    5449124.722809749
   ]
  },
  "min_50m": {
   "gradient_pct": -14.045511132850756,
   "start_distance_m": 2023.0,
   "end_distance_m": 2073.0,
   "midpoint_distance_m": 2048.0,
   "start_elevation_m": 25.67072828686539,
   "end_elevation_m": 18.647972720440013,
   "start_xy": [
    1685880.012183063,
    5449142.887265302
   ],
   "end_xy": [
    1685834.9248864145,
    5449164.3514213525
   ]
  },
  "min_100m": {
   "gradient_pct": -11.28933771707687,
   "start_distance_m": 1973.0,
   "end_distance_m": 2073.0,
   "midpoint_distance_m": 2023.0,
   "start_elevation_m": 29.937310437516885,
   "end_elevation_m": 18.647972720440013,
   "start_xy": [
    1685928.4654487139,
    5449130.984979468
   ],
   "end_xy": [
    1685834.9248864145,
    5449164.3514213525
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 48.098543636967506,
   "start_distance_m": 1379.0,
   "end_distance_m": 1381.0,
   "midpoint_distance_m": 1380.0,
   "start_elevation_m": 23.352459895736253,
   "end_elevation_m": 24.314430768475603,
   "start_xy": [
    1686456.4935301484,
    5448988.791281321
   ],
   "end_xy": [
    1686454.584204478,
    5448989.386659758
   ]
  },
  "max_3m": {
   "gradient_pct": 34.1518413491786,
   "start_distance_m": 1231.0,
   "end_distance_m": 1234.0,
   "midpoint_distance_m": 1232.5,
   "start_elevation_m": 23.597576901215422,
   "end_elevation_m": 24.62213214169078,
   "start_xy": [
    1686560.842102858,
    5448906.1111187935
   ],
   "end_xy": [
    1686560.807121582,
    5448909.110914838
   ]
  }
 },
 "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.068,
   "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,
    50.0,
    100.0
   ],
   "minima_unresolved": []
  },
  "no_bench_suppression": {
   "masked_fraction": 0.159,
   "windows_resited": [
    10.0,
    20.0,
    25.0,
    50.0,
    100.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "placement_suppression": {
   "masked_fraction": 0.161,
   "windows_resited": [],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_suppression": {
   "masked_fraction": 0.197,
   "windows_resited": [
    2.0,
    3.0,
    5.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 4,
   "windows_masked": [
    {
     "window_m": 25.0,
     "start_m": 1490.0,
     "end_m": 1515.0,
     "raw_pct": 23.29,
     "reason": "staircase+spike"
    },
    {
     "window_m": 20.0,
     "start_m": 1494.0,
     "end_m": 1514.0,
     "raw_pct": 26.85,
     "reason": "spike"
    },
    {
     "window_m": 10.0,
     "start_m": 1495.0,
     "end_m": 1505.0,
     "raw_pct": 37.32,
     "reason": "short-step"
    },
    {
     "window_m": 25.0,
     "start_m": 2481.0,
     "end_m": 2506.0,
     "raw_pct": 21.31,
     "reason": "mask-edge"
    },
    {
     "window_m": 20.0,
     "start_m": 2481.0,
     "end_m": 2501.0,
     "raw_pct": 23.68,
     "reason": "mask-edge"
    },
    {
     "window_m": 10.0,
     "start_m": 1898.0,
     "end_m": 1908.0,
     "raw_pct": 27.86,
     "reason": "short-step"
    },
    {
     "window_m": 10.0,
     "start_m": 867.0,
     "end_m": 877.0,
     "raw_pct": 27.16,
     "reason": "hump+short-step"
    },
    {
     "window_m": 5.0,
     "start_m": 1546.0,
     "end_m": 1551.0,
     "raw_pct": 30.34,
     "reason": "short-step"
    },
    {
     "window_m": 5.0,
     "start_m": 1342.0,
     "end_m": 1347.0,
     "raw_pct": 29.21,
     "reason": "short-step"
    }
   ],
   "advisory": [],
   "unresolved": [
    {
     "window_m": 5.0,
     "start_m": 2642.0,
     "end_m": 2647.0,
     "pct": 28.33,
     "reason": "short-step"
    }
   ]
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.254,
   "obstruction_max_height_m": 36.15,
   "flagged_windows_m": [
    5,
    10,
    20,
    25,
    50,
    100
   ]
  },
  "excluded_ranges_m": [
   [
    133.0,
    138.0
   ],
   [
    149.0,
    154.0
   ],
   [
    865.0,
    879.0
   ],
   [
    958.0,
    963.0
   ],
   [
    988.0,
    1015.0
   ],
   [
    1099.0,
    1104.0
   ],
   [
    1315.0,
    1320.0
   ],
   [
    1340.0,
    1349.0
   ],
   [
    1360.0,
    1365.0
   ],
   [
    1439.0,
    1444.0
   ],
   [
    1488.0,
    1517.0
   ],
   [
    1526.0,
    1531.0
   ],
   [
    1544.0,
    1553.0
   ],
   [
    1724.0,
    1770.0
   ],
   [
    1784.0,
    1789.0
   ],
   [
    1896.0,
    1910.0
   ],
   [
    2149.0,
    2225.0
   ],
   [
    2250.0,
    2508.0
   ],
   [
    2690.0,
    2730.0
   ]
  ],
  "review": [
   "texture_unresolved"
  ],
  "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-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/BP29.tiff"
  ],
  "calculated_at": "2026-09-28T05:14:07+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": [
   "BP29"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "carriageway": {
   "stations": 126,
   "stations_resolved": 126,
   "width_median_m": 4.5,
   "width_p10_m": 2.0,
   "width_min_m": 1.0,
   "width_max_m": 11.75,
   "bounded_share": 0.397,
   "unbounded_share": 0.603,
   "confidence_median": 0.0,
   "width_median_bounded_m": 2.75,
   "window_m": [
    2859.0,
    2884.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": 126,
    "stations_resolved": 126,
    "width_median_m": 5.0,
    "width_p10_m": 1.12,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.714,
    "unbounded_share": 0.286,
    "confidence_median": 1.0,
    "width_median_bounded_m": 3.5,
    "window_m": [
     2859.0,
     2884.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)"
 }
}