{
 "ocl_version": "0.1.0",
 "name": "Whaka Terrace",
 "slug": "whaka-terrace",
 "confidence": "A",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 26.9969201324038,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 593.0,
   "end_distance_m": 595.0,
   "start_elevation_m": 82.44114634325035,
   "end_elevation_m": 82.98108474589843,
   "min_gradient_pct": 2.428844223356341
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 26.856793147585734,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 592.0,
   "end_distance_m": 595.0,
   "start_elevation_m": 82.17538095147086,
   "end_elevation_m": 82.98108474589843,
   "min_gradient_pct": 2.6278344994167036
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 26.718536644156075,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 591.0,
   "end_distance_m": 596.0,
   "start_elevation_m": 81.90931287515073,
   "end_elevation_m": 83.24523970735854,
   "min_gradient_pct": 3.3199104454924466
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 26.42912824659362,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 591.0,
   "end_distance_m": 601.0,
   "start_elevation_m": 81.90931287515073,
   "end_elevation_m": 84.5522256998101,
   "min_gradient_pct": 4.431224391475208
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 26.24889427296779,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 584.0,
   "end_distance_m": 604.0,
   "start_elevation_m": 80.09290013035249,
   "end_elevation_m": 85.34267898494605,
   "min_gradient_pct": 5.529220720513033
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 25.552491840851417,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 579.0,
   "end_distance_m": 604.0,
   "start_elevation_m": 78.9545560247332,
   "end_elevation_m": 85.34267898494605,
   "min_gradient_pct": 5.859731857553005
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 23.03832485441939,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 554.0,
   "end_distance_m": 604.0,
   "start_elevation_m": 73.82351655773635,
   "end_elevation_m": 85.34267898494605,
   "min_gradient_pct": 6.74081998356348
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 21.02384039428837,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 504.0,
   "end_distance_m": 604.0,
   "start_elevation_m": 64.31883859065768,
   "end_elevation_m": 85.34267898494605,
   "min_gradient_pct": 7.563484971016228
  }
 ],
 "shape": {
  "ascent_concentration": 0.383,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 336.0,
  "shape_class": "sustained"
 },
 "length_m": 604.1430587877901,
 "start_elevation_m": 5.870015573690839,
 "end_elevation_m": 85.37999899739722,
 "endpoint_gain_m": 79.50998342370639,
 "overall_gradient_pct": 13.160787377619261,
 "accumulated_ascent_m": 79.50998342370639,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 26.718536644156075,
   "start_distance_m": 591.0,
   "end_distance_m": 596.0,
   "midpoint_distance_m": 593.5,
   "start_elevation_m": 81.90931287515073,
   "end_elevation_m": 83.24523970735854,
   "start_xy": [
    1571797.26524767,
    5175773.581041386
   ],
   "end_xy": [
    1571802.2521921436,
    5175773.942129763
   ]
  },
  "max_10m": {
   "gradient_pct": 26.42912824659362,
   "start_distance_m": 591.0,
   "end_distance_m": 601.0,
   "midpoint_distance_m": 596.0,
   "start_elevation_m": 81.90931287515073,
   "end_elevation_m": 84.5522256998101,
   "start_xy": [
    1571797.26524767,
    5175773.581041386
   ],
   "end_xy": [
    1571807.1762062237,
    5175774.766451892
   ]
  },
  "max_20m": {
   "gradient_pct": 26.24889427296779,
   "start_distance_m": 584.0,
   "end_distance_m": 604.0,
   "midpoint_distance_m": 594.0,
   "start_elevation_m": 80.09290013035249,
   "end_elevation_m": 85.34267898494605,
   "start_xy": [
    1571790.329843794,
    5175772.662130509
   ],
   "end_xy": [
    1571810.1177297372,
    5175775.355891813
   ]
  },
  "max_25m": {
   "gradient_pct": 25.552491840851417,
   "start_distance_m": 579.0,
   "end_distance_m": 604.0,
   "midpoint_distance_m": 591.5,
   "start_elevation_m": 78.9545560247332,
   "end_elevation_m": 85.34267898494605,
   "start_xy": [
    1571785.4120179913,
    5175771.759362889
   ],
   "end_xy": [
    1571810.1177297372,
    5175775.355891813
   ]
  },
  "max_50m": {
   "gradient_pct": 23.03832485441939,
   "start_distance_m": 554.0,
   "end_distance_m": 604.0,
   "midpoint_distance_m": 579.0,
   "start_elevation_m": 73.82351655773635,
   "end_elevation_m": 85.34267898494605,
   "start_xy": [
    1571760.8228889774,
    5175767.245524796
   ],
   "end_xy": [
    1571810.1177297372,
    5175775.355891813
   ]
  },
  "max_100m": {
   "gradient_pct": 21.02384039428837,
   "start_distance_m": 504.0,
   "end_distance_m": 604.0,
   "midpoint_distance_m": 554.0,
   "start_elevation_m": 64.31883859065768,
   "end_elevation_m": 85.34267898494605,
   "start_xy": [
    1571711.6446309497,
    5175758.217848607
   ],
   "end_xy": [
    1571810.1177297372,
    5175775.355891813
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": 3.3199104454924466,
   "start_distance_m": 0.0,
   "end_distance_m": 5.0,
   "midpoint_distance_m": 2.5,
   "start_elevation_m": 5.870015573690839,
   "end_elevation_m": 6.036011095965462,
   "start_xy": [
    1571431.214,
    5176018.928
   ],
   "end_xy": [
    1571435.6547730283,
    5176016.630276146
   ]
  },
  "min_10m": {
   "gradient_pct": 4.431224391475208,
   "start_distance_m": 0.0,
   "end_distance_m": 10.0,
   "midpoint_distance_m": 5.0,
   "start_elevation_m": 5.870015573690839,
   "end_elevation_m": 6.31313801283836,
   "start_xy": [
    1571431.214,
    5176018.928
   ],
   "end_xy": [
    1571440.0950466313,
    5176014.331587958
   ]
  },
  "min_20m": {
   "gradient_pct": 5.529220720513033,
   "start_distance_m": 0.0,
   "end_distance_m": 20.0,
   "midpoint_distance_m": 10.0,
   "start_elevation_m": 5.870015573690839,
   "end_elevation_m": 6.975859717793446,
   "start_xy": [
    1571431.214,
    5176018.928
   ],
   "end_xy": [
    1571448.9773352193,
    5176009.737575612
   ]
  },
  "min_25m": {
   "gradient_pct": 5.859731857553005,
   "start_distance_m": 0.0,
   "end_distance_m": 25.0,
   "midpoint_distance_m": 12.5,
   "start_elevation_m": 5.870015573690839,
   "end_elevation_m": 7.33494853807909,
   "start_xy": [
    1571431.214,
    5176018.928
   ],
   "end_xy": [
    1571453.4184795134,
    5176007.440569439
   ]
  },
  "min_50m": {
   "gradient_pct": 6.74081998356348,
   "start_distance_m": 0.0,
   "end_distance_m": 50.0,
   "midpoint_distance_m": 25.0,
   "start_elevation_m": 5.870015573690839,
   "end_elevation_m": 9.240425565472579,
   "start_xy": [
    1571431.214,
    5176018.928
   ],
   "end_xy": [
    1571475.6242009832,
    5175995.955538573
   ]
  },
  "min_100m": {
   "gradient_pct": 7.563484971016228,
   "start_distance_m": 0.0,
   "end_distance_m": 100.0,
   "midpoint_distance_m": 50.0,
   "start_elevation_m": 5.870015573690839,
   "end_elevation_m": 13.433500544707067,
   "start_xy": [
    1571431.214,
    5176018.928
   ],
   "end_xy": [
    1571520.035643923,
    5175972.98547684
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 26.9969201324038,
   "start_distance_m": 593.0,
   "end_distance_m": 595.0,
   "midpoint_distance_m": 594.0,
   "start_elevation_m": 82.44114634325035,
   "end_elevation_m": 82.98108474589843,
   "start_xy": [
    1571799.2600254593,
    5175773.725476737
   ],
   "end_xy": [
    1571801.254803249,
    5175773.869912088
   ]
  },
  "max_3m": {
   "gradient_pct": 26.856793147585734,
   "start_distance_m": 592.0,
   "end_distance_m": 595.0,
   "midpoint_distance_m": 593.5,
   "start_elevation_m": 82.17538095147086,
   "end_elevation_m": 82.98108474589843,
   "start_xy": [
    1571798.2626365647,
    5175773.653259062
   ],
   "end_xy": [
    1571801.254803249,
    5175773.869912088
   ]
  }
 },
 "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": {
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.061,
   "obstruction_max_height_m": 7.74,
   "flagged_windows_m": []
  },
  "review": [],
  "extent": [
   "may_continue_beyond_end"
  ]
 },
 "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/BX24.tiff"
  ],
  "calculated_at": "2026-09-28T05:30:14+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": [
   "BX24"
  ],
  "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": 31,
   "stations_resolved": 31,
   "width_median_m": 9.0,
   "width_p10_m": 6.0,
   "width_min_m": 5.75,
   "width_max_m": 12.0,
   "bounded_share": 0.194,
   "unbounded_share": 0.806,
   "confidence_median": 0.0,
   "width_median_bounded_m": 6.62,
   "window_m": [
    579.0,
    604.0
   ],
   "width_at_max25_m": 6.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": 31,
    "stations_resolved": 31,
    "width_median_m": 7.25,
    "width_p10_m": 3.5,
    "width_min_m": 2.5,
    "width_max_m": 12.0,
    "bounded_share": 0.452,
    "unbounded_share": 0.548,
    "confidence_median": 0.0,
    "width_median_bounded_m": 5.5,
    "window_m": [
     579.0,
     604.0
    ],
    "width_at_max25_m": 7.5,
    "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": "Spreydon-Cashmere Community",
  "county": "Canterbury",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}