{
 "ocl_version": "0.1.0",
 "name": "Cathedral Road",
 "slug": "cathedral-road",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 28.299894423422245,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded"
   ],
   "start_distance_m": 1642.0,
   "end_distance_m": 1644.0,
   "start_elevation_m": 113.04677429539838,
   "end_elevation_m": 113.61277218386682,
   "min_gradient_pct": -54.3920784660898,
   "suppressed_max_gradient_pct": 62.899072043268944,
   "suppressed_location_m": [
    1483.0,
    1485.0
   ],
   "suppressed_min_gradient_pct": -136.661635763528,
   "suppressed_min_location_m": [
    1477.0,
    1479.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 24.98240861644116,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded"
   ],
   "start_distance_m": 342.0,
   "end_distance_m": 345.0,
   "start_elevation_m": 54.82116830734929,
   "end_elevation_m": 55.570640565842524,
   "min_gradient_pct": -51.80095399077563,
   "suppressed_max_gradient_pct": 63.06067801982351,
   "suppressed_location_m": [
    1483.0,
    1486.0
   ],
   "suppressed_min_gradient_pct": -122.40169974509787,
   "suppressed_min_location_m": [
    1477.0,
    1480.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 24.500762105156042,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min"
   ],
   "start_distance_m": 347.0,
   "end_distance_m": 352.0,
   "start_elevation_m": 56.00374482029327,
   "end_elevation_m": 57.22878292555107,
   "min_gradient_pct": -38.61423685956481,
   "suppressed_max_gradient_pct": 61.087179197121486,
   "suppressed_location_m": [
    1482.0,
    1487.0
   ],
   "suppressed_min_gradient_pct": -106.42606464817675,
   "suppressed_min_location_m": [
    1475.0,
    1480.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 24.076146182017837,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min"
   ],
   "start_distance_m": 342.0,
   "end_distance_m": 352.0,
   "start_elevation_m": 54.82116830734929,
   "end_elevation_m": 57.22878292555107,
   "min_gradient_pct": -27.99151813296021,
   "suppressed_max_gradient_pct": 46.26671949816753,
   "suppressed_location_m": [
    1481.0,
    1491.0
   ],
   "suppressed_min_gradient_pct": -61.78771978128439,
   "suppressed_min_location_m": [
    1470.0,
    1480.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 22.048103743724212,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min"
   ],
   "start_distance_m": 335.0,
   "end_distance_m": 355.0,
   "start_elevation_m": 53.32405586765424,
   "end_elevation_m": 57.73367661639908,
   "min_gradient_pct": -22.1555117350141,
   "suppressed_max_gradient_pct": 25.611425519958072,
   "suppressed_location_m": [
    1480.0,
    1500.0
   ],
   "suppressed_min_gradient_pct": -36.27838084027019,
   "suppressed_min_location_m": [
    1460.0,
    1480.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 20.58461516597177,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min"
   ],
   "start_distance_m": 328.0,
   "end_distance_m": 353.0,
   "start_elevation_m": 52.26675667796239,
   "end_elevation_m": 57.41291046945533,
   "min_gradient_pct": -19.60196360717822,
   "suppressed_max_gradient_pct": 21.444650797450322,
   "suppressed_location_m": [
    1481.0,
    1506.0
   ],
   "suppressed_min_gradient_pct": -31.4497275018266,
   "suppressed_min_location_m": [
    1455.0,
    1480.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 18.907098385180007,
   "diagnostic": false,
   "flags": [
    "structure_excluded_min"
   ],
   "start_distance_m": 335.0,
   "end_distance_m": 385.0,
   "start_elevation_m": 53.32405586765424,
   "end_elevation_m": 62.77760506024424,
   "min_gradient_pct": -13.279016188245066,
   "suppressed_min_gradient_pct": -21.144645995018838,
   "suppressed_min_location_m": [
    1430.0,
    1480.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 17.466181777853087,
   "diagnostic": false,
   "flags": [
    "structure_excluded_min"
   ],
   "start_distance_m": 316.0,
   "end_distance_m": 416.0,
   "start_elevation_m": 50.333639693602244,
   "end_elevation_m": 67.79982147145533,
   "min_gradient_pct": -11.91020658659302,
   "suppressed_min_gradient_pct": -15.738098242259499,
   "suppressed_min_location_m": [
    1380.0,
    1480.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.441,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 526.0,
  "shape_class": "sustained"
 },
 "length_m": 4114.9999999999645,
 "start_elevation_m": 7.54062696266249,
 "end_elevation_m": 174.97927648226266,
 "endpoint_gain_m": 167.43864951960018,
 "overall_gradient_pct": 4.068982977390076,
 "accumulated_ascent_m": 234.36796578893353,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 24.500762105156042,
   "start_distance_m": 347.0,
   "end_distance_m": 352.0,
   "midpoint_distance_m": 349.5,
   "start_elevation_m": 56.00374482029327,
   "end_elevation_m": 57.22878292555107,
   "start_xy": [
    1624956.0439359515,
    5253878.599136288
   ],
   "end_xy": [
    1624959.247093092,
    5253874.759893612
   ]
  },
  "max_10m": {
   "gradient_pct": 24.076146182017837,
   "start_distance_m": 342.0,
   "end_distance_m": 352.0,
   "midpoint_distance_m": 347.0,
   "start_elevation_m": 54.82116830734929,
   "end_elevation_m": 57.22878292555107,
   "start_xy": [
    1624952.8407788111,
    5253882.4383789655
   ],
   "end_xy": [
    1624959.247093092,
    5253874.759893612
   ]
  },
  "max_20m": {
   "gradient_pct": 22.048103743724212,
   "start_distance_m": 335.0,
   "end_distance_m": 355.0,
   "midpoint_distance_m": 345.0,
   "start_elevation_m": 53.32405586765424,
   "end_elevation_m": 57.73367661639908,
   "start_xy": [
    1624951.6884018278,
    5253889.222141856
   ],
   "end_xy": [
    1624961.1689873764,
    5253872.456348006
   ]
  },
  "max_25m": {
   "gradient_pct": 20.58461516597177,
   "start_distance_m": 328.0,
   "end_distance_m": 353.0,
   "midpoint_distance_m": 340.5,
   "start_elevation_m": 52.26675667796239,
   "end_elevation_m": 57.41291046945533,
   "start_xy": [
    1624953.1970500932,
    5253895.669341454
   ],
   "end_xy": [
    1624959.8877245202,
    5253873.992045077
   ]
  },
  "max_50m": {
   "gradient_pct": 18.907098385180007,
   "start_distance_m": 335.0,
   "end_distance_m": 385.0,
   "midpoint_distance_m": 360.0,
   "start_elevation_m": 53.32405586765424,
   "end_elevation_m": 62.77760506024424,
   "start_xy": [
    1624951.6884018278,
    5253889.222141856
   ],
   "end_xy": [
    1624990.5654550374,
    5253868.659648985
   ]
  },
  "max_100m": {
   "gradient_pct": 17.466181777853087,
   "start_distance_m": 316.0,
   "end_distance_m": 416.0,
   "midpoint_distance_m": 366.0,
   "start_elevation_m": 50.333639693602244,
   "end_elevation_m": 67.79982147145533,
   "start_xy": [
    1624960.5931871275,
    5253905.072039047
   ],
   "end_xy": [
    1625020.5512295011,
    5253873.627160567
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -38.61423685956481,
   "start_distance_m": 1957.0,
   "end_distance_m": 1962.0,
   "midpoint_distance_m": 1959.5,
   "start_elevation_m": 102.81700441432824,
   "end_elevation_m": 100.88629257135,
   "start_xy": [
    1625097.250512904,
    5252690.1703181155
   ],
   "end_xy": [
    1625098.5567565826,
    5252685.343960539
   ]
  },
  "min_10m": {
   "gradient_pct": -27.99151813296021,
   "start_distance_m": 1953.0,
   "end_distance_m": 1963.0,
   "midpoint_distance_m": 1958.0,
   "start_elevation_m": 103.46115972266804,
   "end_elevation_m": 100.66200790937202,
   "start_xy": [
    1625096.2055179612,
    5252694.031404177
   ],
   "end_xy": [
    1625098.5538860362,
    5252684.361079222
   ]
  },
  "min_20m": {
   "gradient_pct": -22.1555117350141,
   "start_distance_m": 1943.0,
   "end_distance_m": 1963.0,
   "midpoint_distance_m": 1953.0,
   "start_elevation_m": 105.09311025637484,
   "end_elevation_m": 100.66200790937202,
   "start_xy": [
    1625093.593030604,
    5252703.684119329
   ],
   "end_xy": [
    1625098.5538860362,
    5252684.361079222
   ]
  },
  "min_25m": {
   "gradient_pct": -19.60196360717822,
   "start_distance_m": 1942.0,
   "end_distance_m": 1967.0,
   "midpoint_distance_m": 1954.5,
   "start_elevation_m": 105.17332135538732,
   "end_elevation_m": 100.27283045359276,
   "start_xy": [
    1625093.3317818684,
    5252704.649390844
   ],
   "end_xy": [
    1625098.030727716,
    5252680.395438621
   ]
  },
  "min_50m": {
   "gradient_pct": -13.279016188245066,
   "start_distance_m": 1360.0,
   "end_distance_m": 1410.0,
   "midpoint_distance_m": 1385.0,
   "start_elevation_m": 117.19156369273435,
   "end_elevation_m": 110.55205559861182,
   "start_xy": [
    1624905.1257934207,
    5253095.2288613655
   ],
   "end_xy": [
    1624873.3291814115,
    5253056.782294902
   ]
  },
  "min_100m": {
   "gradient_pct": -11.91020658659302,
   "start_distance_m": 1360.0,
   "end_distance_m": 1460.0,
   "midpoint_distance_m": 1410.0,
   "start_elevation_m": 117.19156369273435,
   "end_elevation_m": 105.28135710614133,
   "start_xy": [
    1624905.1257934207,
    5253095.2288613655
   ],
   "end_xy": [
    1624872.908582794,
    5253010.988651423
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 28.299894423422245,
   "start_distance_m": 1642.0,
   "end_distance_m": 1644.0,
   "midpoint_distance_m": 1643.0,
   "start_elevation_m": 113.04677429539838,
   "end_elevation_m": 113.61277218386682,
   "start_xy": [
    1625031.7469887505,
    5252992.346339166
   ],
   "end_xy": [
    1625032.4626874656,
    5252990.478780505
   ]
  },
  "max_3m": {
   "gradient_pct": 24.98240861644116,
   "start_distance_m": 342.0,
   "end_distance_m": 345.0,
   "midpoint_distance_m": 343.5,
   "start_elevation_m": 54.82116830734929,
   "end_elevation_m": 55.570640565842524,
   "start_xy": [
    1624952.8407788111,
    5253882.4383789655
   ],
   "end_xy": [
    1624954.7626730956,
    5253880.134833359
   ]
  }
 },
 "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.006,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    10.0,
    20.0,
    25.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.05,
   "windows_resited": [
    2.0,
    3.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.204,
   "obstruction_max_height_m": 33.0,
   "flagged_windows_m": []
  },
  "excluded_ranges_m": [
   [
    1471.0,
    1494.0
   ],
   [
    1820.0,
    1850.0
   ],
   [
    3530.0,
    3560.0
   ],
   [
    3990.0,
    4110.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-s3",
   "road_pbf": "block-batch-nz-s3.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:65f98740b9968e3e"
  },
  "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/BV26.tiff"
  ],
  "calculated_at": "2026-09-28T05:35:05+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-s3.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-s3",
  "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": [
   "BV26"
  ],
  "route_summit_trim_m": 2970.1,
  "route_summit_trim_loss_m": 135.6,
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": "none \u2014 the route carried no way list and no mapped way runs along it; own decks unmasked",
  "carriageway": {
   "stations": 171,
   "stations_resolved": 171,
   "width_median_m": 6.25,
   "width_p10_m": 3.75,
   "width_min_m": 1.0,
   "width_max_m": 11.0,
   "bounded_share": 0.129,
   "unbounded_share": 0.871,
   "confidence_median": 0.0,
   "width_median_bounded_m": 6.88,
   "window_m": [
    328.0,
    353.0
   ],
   "width_at_max25_m": 3.75,
   "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": 171,
    "stations_resolved": 171,
    "width_median_m": 6.25,
    "width_p10_m": 1.0,
    "width_min_m": 0.0,
    "width_max_m": 12.0,
    "bounded_share": 0.76,
    "unbounded_share": 0.24,
    "confidence_median": 1.0,
    "width_median_bounded_m": 5.25,
    "window_m": [
     328.0,
     353.0
    ],
    "width_at_max25_m": 6.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": "Canterbury",
  "county": "Canterbury",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}