{
 "ocl_version": "0.1.0",
 "name": "Preston Road",
 "slug": "preston-road",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 40.844348305765266,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded_min",
    "texture_excluded"
   ],
   "start_distance_m": 2798.0,
   "end_distance_m": 2800.0,
   "start_elevation_m": 337.1025638364378,
   "end_elevation_m": 337.9194508025531,
   "min_gradient_pct": -40.04365869949709,
   "suppressed_max_gradient_pct": 59.63798591646707,
   "suppressed_location_m": [
    649.0,
    651.0
   ],
   "suppressed_min_gradient_pct": -81.82358823344771,
   "suppressed_min_location_m": [
    617.0,
    619.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 33.53253205156079,
   "diagnostic": true,
   "flags": [
    "structure_excluded_min",
    "texture_excluded"
   ],
   "start_distance_m": 3319.0,
   "end_distance_m": 3322.0,
   "start_elevation_m": 355.72586960605844,
   "end_elevation_m": 356.73184556760526,
   "min_gradient_pct": -34.25970487623241,
   "suppressed_max_gradient_pct": 53.545733537475826,
   "suppressed_location_m": [
    834.0,
    837.0
   ],
   "suppressed_min_gradient_pct": -78.04638389856109,
   "suppressed_min_location_m": [
    617.0,
    620.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 31.152923398088888,
   "diagnostic": false,
   "flags": [
    "structure_excluded_min",
    "texture_excluded"
   ],
   "start_distance_m": 3319.0,
   "end_distance_m": 3324.0,
   "start_elevation_m": 355.72586960605844,
   "end_elevation_m": 357.2835157759629,
   "min_gradient_pct": -30.84978080260271,
   "suppressed_max_gradient_pct": 44.539108693603566,
   "suppressed_location_m": [
    833.0,
    838.0
   ],
   "suppressed_min_gradient_pct": -71.37409928972488,
   "suppressed_min_location_m": [
    616.0,
    621.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 26.651482009002052,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "placement_excluded",
    "texture_excluded"
   ],
   "start_distance_m": 3314.0,
   "end_distance_m": 3324.0,
   "start_elevation_m": 354.6183675750627,
   "end_elevation_m": 357.2835157759629,
   "min_gradient_pct": -27.670507449577713,
   "suppressed_max_gradient_pct": 36.74213295888421,
   "suppressed_location_m": [
    712.0,
    722.0
   ],
   "suppressed_min_gradient_pct": -50.643906422201326,
   "suppressed_min_location_m": [
    612.0,
    622.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 21.698251659332755,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "placement_excluded"
   ],
   "start_distance_m": 3314.0,
   "end_distance_m": 3334.0,
   "start_elevation_m": 354.6183675750627,
   "end_elevation_m": 358.95801790692923,
   "min_gradient_pct": -20.610945283721094,
   "suppressed_max_gradient_pct": 30.918373271207997,
   "suppressed_location_m": [
    701.0,
    721.0
   ],
   "suppressed_min_gradient_pct": -35.61986093672317,
   "suppressed_min_location_m": [
    729.0,
    749.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 20.371288851279814,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min"
   ],
   "start_distance_m": 3314.0,
   "end_distance_m": 3339.0,
   "start_elevation_m": 354.6183675750627,
   "end_elevation_m": 359.71118978788263,
   "min_gradient_pct": -17.636630794587063,
   "suppressed_max_gradient_pct": 29.97866624625931,
   "suppressed_location_m": [
    696.0,
    721.0
   ],
   "suppressed_min_gradient_pct": -28.740413839957,
   "suppressed_min_location_m": [
    731.0,
    756.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 16.697852515525028,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "canopy_or_structure"
   ],
   "start_distance_m": 3313.0,
   "end_distance_m": 3363.0,
   "start_elevation_m": 354.4746680454347,
   "end_elevation_m": 362.82359430319724,
   "min_gradient_pct": -15.769507510666926,
   "suppressed_max_gradient_pct": 20.53879221077443,
   "suppressed_location_m": [
    679.0,
    729.0
   ],
   "suppressed_min_gradient_pct": -22.209633990052794,
   "suppressed_min_location_m": [
    730.0,
    780.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 13.221676938892927,
   "diagnostic": false,
   "flags": [
    "structure_excluded_min",
    "canopy_or_structure"
   ],
   "start_distance_m": 3303.0,
   "end_distance_m": 3403.0,
   "start_elevation_m": 353.7412387225628,
   "end_elevation_m": 366.9629156614557,
   "min_gradient_pct": -8.893084830158216,
   "suppressed_min_gradient_pct": -12.241559191337103,
   "suppressed_min_location_m": [
    861.0,
    961.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.332,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 89.0,
  "shape_class": "sustained"
 },
 "length_m": 4182.999999999704,
 "start_elevation_m": 341.69448807011076,
 "end_elevation_m": 385.85433476358196,
 "endpoint_gain_m": 44.159846693471195,
 "overall_gradient_pct": 1.0556979845439711,
 "accumulated_ascent_m": 187.02299910582332,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 31.152923398088888,
   "start_distance_m": 3319.0,
   "end_distance_m": 3324.0,
   "midpoint_distance_m": 3321.5,
   "start_elevation_m": 355.72586960605844,
   "end_elevation_m": 357.2835157759629,
   "start_xy": [
    1977147.5111553464,
    5683726.437617478
   ],
   "end_xy": [
    1977143.6731137177,
    5683723.233021332
   ]
  },
  "max_10m": {
   "gradient_pct": 26.651482009002052,
   "start_distance_m": 3314.0,
   "end_distance_m": 3324.0,
   "midpoint_distance_m": 3319.0,
   "start_elevation_m": 354.6183675750627,
   "end_elevation_m": 357.2835157759629,
   "start_xy": [
    1977151.3491969754,
    5683729.642213623
   ],
   "end_xy": [
    1977143.6731137177,
    5683723.233021332
   ]
  },
  "max_20m": {
   "gradient_pct": 21.698251659332755,
   "start_distance_m": 3314.0,
   "end_distance_m": 3334.0,
   "midpoint_distance_m": 3324.0,
   "start_elevation_m": 354.6183675750627,
   "end_elevation_m": 358.95801790692923,
   "start_xy": [
    1977151.3491969754,
    5683729.642213623
   ],
   "end_xy": [
    1977134.4051596255,
    5683719.664618673
   ]
  },
  "max_25m": {
   "gradient_pct": 20.371288851279814,
   "start_distance_m": 3314.0,
   "end_distance_m": 3339.0,
   "midpoint_distance_m": 3326.5,
   "start_elevation_m": 354.6183675750627,
   "end_elevation_m": 359.71118978788263,
   "start_xy": [
    1977151.3491969754,
    5683729.642213623
   ],
   "end_xy": [
    1977129.668237033,
    5683718.064129887
   ]
  },
  "max_50m": {
   "gradient_pct": 16.697852515525028,
   "start_distance_m": 3313.0,
   "end_distance_m": 3363.0,
   "midpoint_distance_m": 3338.0,
   "start_elevation_m": 354.4746680454347,
   "end_elevation_m": 362.82359430319724,
   "start_xy": [
    1977152.1168053013,
    5683730.283132852
   ],
   "end_xy": [
    1977105.7860039135,
    5683716.208195542
   ]
  },
  "max_100m": {
   "gradient_pct": 13.221676938892927,
   "start_distance_m": 3303.0,
   "end_distance_m": 3403.0,
   "midpoint_distance_m": 3353.0,
   "start_elevation_m": 353.7412387225628,
   "end_elevation_m": 366.9629156614557,
   "start_xy": [
    1977159.272358113,
    5683737.2377755
   ],
   "end_xy": [
    1977067.349656378,
    5683705.3728484325
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -30.84978080260271,
   "start_distance_m": 891.0,
   "end_distance_m": 896.0,
   "midpoint_distance_m": 893.5,
   "start_elevation_m": 327.50715596557586,
   "end_elevation_m": 325.9646669254457,
   "start_xy": [
    1979194.6110810405,
    5683423.071923254
   ],
   "end_xy": [
    1979190.098213326,
    5683420.919244692
   ]
  },
  "min_10m": {
   "gradient_pct": -27.670507449577713,
   "start_distance_m": 888.0,
   "end_distance_m": 898.0,
   "midpoint_distance_m": 893.0,
   "start_elevation_m": 328.2484262670174,
   "end_elevation_m": 325.48137552205964,
   "start_xy": [
    1979197.3188016694,
    5683424.363530391
   ],
   "end_xy": [
    1979188.2930662401,
    5683420.058173267
   ]
  },
  "min_20m": {
   "gradient_pct": -20.610945283721094,
   "start_distance_m": 887.0,
   "end_distance_m": 907.0,
   "midpoint_distance_m": 897.0,
   "start_elevation_m": 328.31831510096674,
   "end_elevation_m": 324.1961260442225,
   "start_xy": [
    1979198.2213752123,
    5683424.794066103
   ],
   "end_xy": [
    1979180.1699043538,
    5683416.183351856
   ]
  },
  "min_25m": {
   "gradient_pct": -17.636630794587063,
   "start_distance_m": 888.0,
   "end_distance_m": 913.0,
   "midpoint_distance_m": 900.5,
   "start_elevation_m": 328.2484262670174,
   "end_elevation_m": 323.83926856837064,
   "start_xy": [
    1979197.3188016694,
    5683424.363530391
   ],
   "end_xy": [
    1979175.7695948954,
    5683412.295860353
   ]
  },
  "min_50m": {
   "gradient_pct": -15.769507510666926,
   "start_distance_m": 16.0,
   "end_distance_m": 66.0,
   "midpoint_distance_m": 41.0,
   "start_elevation_m": 339.5981186236216,
   "end_elevation_m": 331.7133648682881,
   "start_xy": [
    1979821.6445518695,
    5683717.893243901
   ],
   "end_xy": [
    1979816.6744014611,
    5683668.140881094
   ]
  },
  "min_100m": {
   "gradient_pct": -8.893084830158216,
   "start_distance_m": 1919.0,
   "end_distance_m": 2019.0,
   "midpoint_distance_m": 1969.0,
   "start_elevation_m": 328.68081241563533,
   "end_elevation_m": 319.7877275854771,
   "start_xy": [
    1978249.3013619469,
    5683396.57503979
   ],
   "end_xy": [
    1978162.7969436403,
    5683440.943796851
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 40.844348305765266,
   "start_distance_m": 2798.0,
   "end_distance_m": 2800.0,
   "midpoint_distance_m": 2799.0,
   "start_elevation_m": 337.1025638364378,
   "end_elevation_m": 337.9194508025531,
   "start_xy": [
    1977537.8117331709,
    5683721.504289596
   ],
   "end_xy": [
    1977536.275724494,
    5683722.785178876
   ]
  },
  "max_3m": {
   "gradient_pct": 33.53253205156079,
   "start_distance_m": 3319.0,
   "end_distance_m": 3322.0,
   "midpoint_distance_m": 3320.5,
   "start_elevation_m": 355.72586960605844,
   "end_elevation_m": 356.73184556760526,
   "start_xy": [
    1977147.5111553464,
    5683726.437617478
   ],
   "end_xy": [
    1977145.208330369,
    5683724.514859791
   ]
  }
 },
 "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.017,
   "windows_resited": [
    2.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.081,
   "windows_resited": [],
   "windows_unresolved": [],
   "minima_resited": [
    2.0
   ],
   "minima_unresolved": []
  },
  "placement_suppression": {
   "masked_fraction": 0.085,
   "windows_resited": [
    10.0,
    20.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_suppression": {
   "masked_fraction": 0.088,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    10.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 1,
   "windows_masked": [
    {
     "window_m": 10.0,
     "start_m": 828.0,
     "end_m": 838.0,
     "raw_pct": 27.87,
     "reason": "mask-edge+short-step"
    },
    {
     "window_m": 5.0,
     "start_m": 833.0,
     "end_m": 838.0,
     "raw_pct": 44.54,
     "reason": "mask-edge+short-step"
    }
   ],
   "advisory": [],
   "unresolved": []
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.434,
   "obstruction_max_height_m": 35.35,
   "flagged_windows_m": [
    50,
    100
   ]
  },
  "excluded_ranges_m": [
   [
    430.0,
    470.0
   ],
   [
    610.0,
    680.0
   ],
   [
    700.0,
    780.0
   ],
   [
    826.0,
    844.0
   ],
   [
    862.0,
    869.0
   ],
   [
    1050.0,
    1090.0
   ],
   [
    2060.0,
    2090.0
   ],
   [
    2280.0,
    2320.0
   ],
   [
    2801.0,
    2806.0
   ],
   [
    4080.0,
    4110.0
   ]
  ],
  "review": [],
  "extent": [
   "descends_at_start",
   "may_continue_beyond_end"
  ],
  "leading_descent_m": 27.3,
  "suggested_base_cut_m": 1524
 },
 "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/BH41.tiff"
  ],
  "calculated_at": "2026-09-28T06:21:25+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": [
   "BH41"
  ],
  "route_summit_trim_m": 499.3,
  "route_summit_trim_loss_m": 7.9,
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "carriageway": {
   "stations": 174,
   "stations_resolved": 174,
   "width_median_m": 4.5,
   "width_p10_m": 2.25,
   "width_min_m": 1.0,
   "width_max_m": 12.0,
   "bounded_share": 0.218,
   "unbounded_share": 0.782,
   "confidence_median": 0.0,
   "width_median_bounded_m": 3.12,
   "window_m": [
    3314.0,
    3339.0
   ],
   "width_at_max25_m": 4.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": 174,
    "stations_resolved": 174,
    "width_median_m": 3.5,
    "width_p10_m": 0.83,
    "width_min_m": 0.0,
    "width_max_m": 12.0,
    "bounded_share": 0.759,
    "unbounded_share": 0.241,
    "confidence_median": 1.0,
    "width_median_bounded_m": 1.75,
    "window_m": [
     3314.0,
     3339.0
    ],
    "width_at_max25_m": 8.25,
    "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)"
 }
}