{
 "ocl_version": "0.1.0",
 "name": "Middle Road",
 "slug": "middle-road",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 41.56889459022182,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1700.0,
   "end_distance_m": 1702.0,
   "start_elevation_m": 246.21488632711885,
   "end_elevation_m": 247.04626421892328,
   "min_gradient_pct": -43.970717308833684,
   "suppressed_max_gradient_pct": 77.26005390527106,
   "suppressed_location_m": [
    226.0,
    228.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 33.89369062598083,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1699.0,
   "end_distance_m": 1702.0,
   "start_elevation_m": 246.02945350014386,
   "end_elevation_m": 247.04626421892328,
   "min_gradient_pct": -43.92289049808653,
   "suppressed_max_gradient_pct": 69.65895343958266,
   "suppressed_location_m": [
    226.0,
    229.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 28.516556877172548,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1697.0,
   "end_distance_m": 1702.0,
   "start_elevation_m": 245.62043637506466,
   "end_elevation_m": 247.04626421892328,
   "min_gradient_pct": -37.31760246562857,
   "suppressed_max_gradient_pct": 45.96229866285256,
   "suppressed_location_m": [
    225.0,
    230.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 26.48588819912618,
   "diagnostic": false,
   "flags": [
    "structure_excluded_min",
    "canopy_or_structure"
   ],
   "start_distance_m": 1677.0,
   "end_distance_m": 1687.0,
   "start_elevation_m": 241.5961886535191,
   "end_elevation_m": 244.24477747343172,
   "min_gradient_pct": -17.77692185438525,
   "suppressed_min_gradient_pct": -17.991410806712906,
   "suppressed_min_location_m": [
    215.0,
    225.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 26.002413077266056,
   "diagnostic": false,
   "flags": [
    "structure_excluded_min"
   ],
   "start_distance_m": 1834.0,
   "end_distance_m": 1854.0,
   "start_elevation_m": 277.32907721799415,
   "end_elevation_m": 282.52955983344737,
   "min_gradient_pct": -7.241215438802726,
   "suppressed_min_gradient_pct": -7.269948144588838,
   "suppressed_min_location_m": [
    204.0,
    224.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 25.802544489158436,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1829.0,
   "end_distance_m": 1854.0,
   "start_elevation_m": 276.07892371115776,
   "end_elevation_m": 282.52955983344737,
   "min_gradient_pct": -5.771368364531213
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 25.509640227488944,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1834.0,
   "end_distance_m": 1884.0,
   "start_elevation_m": 277.32907721799415,
   "end_elevation_m": 290.0838973317386,
   "min_gradient_pct": -4.135341313777246
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 24.92125314638122,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1788.0,
   "end_distance_m": 1888.0,
   "start_elevation_m": 266.1293543995239,
   "end_elevation_m": 291.0506075459051,
   "min_gradient_pct": -1.5310274050041812
  }
 ],
 "shape": {
  "ascent_concentration": 0.428,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 880.0,
  "shape_class": "sustained"
 },
 "length_m": 3039.016485223496,
 "start_elevation_m": 69.21788407516237,
 "end_elevation_m": 423.49576659805285,
 "endpoint_gain_m": 354.2778825228905,
 "overall_gradient_pct": 11.657649250850843,
 "accumulated_ascent_m": 361.52770881286233,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 28.516556877172548,
   "start_distance_m": 1697.0,
   "end_distance_m": 1702.0,
   "midpoint_distance_m": 1699.5,
   "start_elevation_m": 245.62043637506466,
   "end_elevation_m": 247.04626421892328,
   "start_xy": [
    1591655.9780719539,
    5157801.540768565
   ],
   "end_xy": [
    1591659.8854705393,
    5157798.431529022
   ]
  },
  "max_10m": {
   "gradient_pct": 26.48588819912618,
   "start_distance_m": 1677.0,
   "end_distance_m": 1687.0,
   "midpoint_distance_m": 1682.0,
   "start_elevation_m": 241.5961886535191,
   "end_elevation_m": 244.24477747343172,
   "start_xy": [
    1591638.5307719223,
    5157811.062905597
   ],
   "end_xy": [
    1591647.6654757624,
    5157807.0601665
   ]
  },
  "max_20m": {
   "gradient_pct": 26.002413077266056,
   "start_distance_m": 1834.0,
   "end_distance_m": 1854.0,
   "midpoint_distance_m": 1844.0,
   "start_elevation_m": 277.32907721799415,
   "end_elevation_m": 282.52955983344737,
   "start_xy": [
    1591672.8395783093,
    5157670.30412385
   ],
   "end_xy": [
    1591676.5266045067,
    5157650.653710361
   ]
  },
  "max_25m": {
   "gradient_pct": 25.802544489158436,
   "start_distance_m": 1829.0,
   "end_distance_m": 1854.0,
   "midpoint_distance_m": 1841.5,
   "start_elevation_m": 276.07892371115776,
   "end_elevation_m": 282.52955983344737,
   "start_xy": [
    1591671.8176325425,
    5157675.198192317
   ],
   "end_xy": [
    1591676.5266045067,
    5157650.653710361
   ]
  },
  "max_50m": {
   "gradient_pct": 25.509640227488944,
   "start_distance_m": 1834.0,
   "end_distance_m": 1884.0,
   "midpoint_distance_m": 1859.0,
   "start_elevation_m": 277.32907721799415,
   "end_elevation_m": 290.0838973317386,
   "start_xy": [
    1591672.8395783093,
    5157670.30412385
   ],
   "end_xy": [
    1591679.6903301887,
    5157620.832868995
   ]
  },
  "max_100m": {
   "gradient_pct": 24.92125314638122,
   "start_distance_m": 1788.0,
   "end_distance_m": 1888.0,
   "midpoint_distance_m": 1838.0,
   "start_elevation_m": 266.1293543995239,
   "end_elevation_m": 291.0506075459051,
   "start_xy": [
    1591663.694511801,
    5157715.348258013
   ],
   "end_xy": [
    1591679.940211105,
    5157616.840681684
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -37.31760246562857,
   "start_distance_m": 218.0,
   "end_distance_m": 223.0,
   "midpoint_distance_m": 220.5,
   "start_elevation_m": 76.66633106622659,
   "end_elevation_m": 74.80045094294516,
   "start_xy": [
    1591865.1316055956,
    5159183.166743893
   ],
   "end_xy": [
    1591864.2547017178,
    5159178.259171055
   ]
  },
  "min_10m": {
   "gradient_pct": -17.77692185438525,
   "start_distance_m": 213.0,
   "end_distance_m": 223.0,
   "midpoint_distance_m": 218.0,
   "start_elevation_m": 76.57814312838369,
   "end_elevation_m": 74.80045094294516,
   "start_xy": [
    1591865.2284165563,
    5159188.165806569
   ],
   "end_xy": [
    1591864.2547017178,
    5159178.259171055
   ]
  },
  "min_20m": {
   "gradient_pct": -7.241215438802726,
   "start_distance_m": 203.0,
   "end_distance_m": 223.0,
   "midpoint_distance_m": 213.0,
   "start_elevation_m": 76.2486940307057,
   "end_elevation_m": 74.80045094294516,
   "start_xy": [
    1591865.4220384771,
    5159198.163931921
   ],
   "end_xy": [
    1591864.2547017178,
    5159178.259171055
   ]
  },
  "min_25m": {
   "gradient_pct": -5.771368364531213,
   "start_distance_m": 1167.0,
   "end_distance_m": 1192.0,
   "midpoint_distance_m": 1179.5,
   "start_elevation_m": 185.71808046994175,
   "end_elevation_m": 184.27523837880895,
   "start_xy": [
    1591726.7418090103,
    5158263.515995356
   ],
   "end_xy": [
    1591720.8221920975,
    5158239.227067621
   ]
  },
  "min_50m": {
   "gradient_pct": -4.135341313777246,
   "start_distance_m": 1159.0,
   "end_distance_m": 1209.0,
   "midpoint_distance_m": 1184.0,
   "start_elevation_m": 185.8481304457779,
   "end_elevation_m": 183.7804597888893,
   "start_xy": [
    1591728.493168962,
    5158271.321937856
   ],
   "end_xy": [
    1591716.7880121027,
    5158222.712668093
   ]
  },
  "min_100m": {
   "gradient_pct": -1.5310274050041812,
   "start_distance_m": 2735.0,
   "end_distance_m": 2835.0,
   "midpoint_distance_m": 2785.0,
   "start_elevation_m": 418.9475955359869,
   "end_elevation_m": 417.41656813098274,
   "start_xy": [
    1591608.0570159873,
    5157058.799682044
   ],
   "end_xy": [
    1591508.891358919,
    5157046.14571969
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 41.56889459022182,
   "start_distance_m": 1700.0,
   "end_distance_m": 1702.0,
   "midpoint_distance_m": 1701.0,
   "start_elevation_m": 246.21488632711885,
   "end_elevation_m": 247.04626421892328,
   "start_xy": [
    1591658.339396404,
    5157799.690323526
   ],
   "end_xy": [
    1591659.8854705393,
    5157798.431529022
   ]
  },
  "max_3m": {
   "gradient_pct": 33.89369062598083,
   "start_distance_m": 1699.0,
   "end_distance_m": 1702.0,
   "midpoint_distance_m": 1700.5,
   "start_elevation_m": 246.02945350014386,
   "end_elevation_m": 247.04626421892328,
   "start_xy": [
    1591657.552288254,
    5157800.307138539
   ],
   "end_xy": [
    1591659.8854705393,
    5157798.431529022
   ]
  }
 },
 "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.002,
   "windows_resited": [
    2.0,
    3.0,
    5.0
   ],
   "windows_unresolved": [],
   "minima_resited": [
    10.0,
    20.0
   ],
   "minima_unresolved": []
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.16,
   "obstruction_max_height_m": 21.65,
   "flagged_windows_m": [
    2,
    3,
    5,
    10
   ]
  },
  "excluded_ranges_m": [
   [
    224.0,
    230.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/BX25.tiff"
  ],
  "calculated_at": "2026-09-28T05:28:54+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": [
   "BX25"
  ],
  "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": 128,
   "stations_resolved": 128,
   "width_median_m": 5.75,
   "width_p10_m": 3.75,
   "width_min_m": 3.0,
   "width_max_m": 12.0,
   "bounded_share": 0.305,
   "unbounded_share": 0.695,
   "confidence_median": 0.0,
   "width_median_bounded_m": 5.0,
   "window_m": [
    1829.0,
    1854.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": 128,
    "stations_resolved": 128,
    "width_median_m": 5.75,
    "width_p10_m": 1.0,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.766,
    "unbounded_share": 0.234,
    "confidence_median": 1.0,
    "width_median_bounded_m": 5.0,
    "window_m": [
     1829.0,
     1854.0
    ],
    "width_at_max25_m": 4.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": "Banks Peninsula Community",
  "county": "Canterbury",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}