{
 "ocl_version": "0.1.0",
 "name": "Kupe Road",
 "slug": "kupe-road-2",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 27.11156782004629,
   "diagnostic": true,
   "flags": [
    "texture_excluded"
   ],
   "start_distance_m": 261.0,
   "end_distance_m": 263.0,
   "start_elevation_m": 38.88381791174457,
   "end_elevation_m": 39.4260492681455,
   "min_gradient_pct": -7.5372761368640795,
   "suppressed_max_gradient_pct": 44.836907072934906,
   "suppressed_location_m": [
    722.0,
    724.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 25.401403866795864,
   "diagnostic": true,
   "flags": [
    "texture_excluded"
   ],
   "start_distance_m": 261.0,
   "end_distance_m": 264.0,
   "start_elevation_m": 38.88381791174457,
   "end_elevation_m": 39.64586002774845,
   "min_gradient_pct": -4.245782567644578,
   "suppressed_max_gradient_pct": 37.271814722699524,
   "suppressed_location_m": [
    721.0,
    724.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 21.745798690770926,
   "diagnostic": false,
   "flags": [
    "texture_excluded",
    "texture_excluded_min"
   ],
   "start_distance_m": 260.0,
   "end_distance_m": 265.0,
   "start_elevation_m": 38.717149374442755,
   "end_elevation_m": 39.8044393089813,
   "min_gradient_pct": 1.6900042909675506,
   "suppressed_max_gradient_pct": 29.034459113929074,
   "suppressed_location_m": [
    721.0,
    726.0
   ],
   "suppressed_min_gradient_pct": -0.9366518922075784,
   "suppressed_min_location_m": [
    716.0,
    721.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 20.69569967835946,
   "diagnostic": false,
   "flags": [
    "texture_excluded"
   ],
   "start_distance_m": 70.0,
   "end_distance_m": 80.0,
   "start_elevation_m": 16.27908658311928,
   "end_elevation_m": 18.348656550955226,
   "min_gradient_pct": 3.41177260758343,
   "suppressed_max_gradient_pct": 22.48019000419248,
   "suppressed_location_m": [
    721.0,
    731.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 19.153686713318123,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 62.0,
   "end_distance_m": 82.0,
   "start_elevation_m": 14.853512727332337,
   "end_elevation_m": 18.68425006999596,
   "min_gradient_pct": 4.093299579135845
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 18.27161894174896,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 58.0,
   "end_distance_m": 83.0,
   "start_elevation_m": 14.275280192540636,
   "end_elevation_m": 18.843184927977877,
   "min_gradient_pct": 4.613240351654213
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 16.752895253705244,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 32.0,
   "end_distance_m": 82.0,
   "start_elevation_m": 10.30780244314334,
   "end_elevation_m": 18.68425006999596,
   "min_gradient_pct": 6.137619577535304
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 15.414881193570647,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 18.0,
   "end_distance_m": 118.0,
   "start_elevation_m": 8.180430003216486,
   "end_elevation_m": 23.595311196787133,
   "min_gradient_pct": 6.781610540590435
  }
 ],
 "shape": {
  "ascent_concentration": 0.265,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 330.0,
  "shape_class": "sustained"
 },
 "length_m": 2103.435860616286,
 "start_elevation_m": 5.380420544276925,
 "end_elevation_m": 238.83628242162195,
 "endpoint_gain_m": 233.45586187734503,
 "overall_gradient_pct": 11.098786811067525,
 "accumulated_ascent_m": 233.93461577428445,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 21.745798690770926,
   "start_distance_m": 260.0,
   "end_distance_m": 265.0,
   "midpoint_distance_m": 262.5,
   "start_elevation_m": 38.717149374442755,
   "end_elevation_m": 39.8044393089813,
   "start_xy": [
    1666793.4124706225,
    5473359.990425724
   ],
   "end_xy": [
    1666792.9654876646,
    5473355.071278674
   ]
  },
  "max_10m": {
   "gradient_pct": 20.69569967835946,
   "start_distance_m": 70.0,
   "end_distance_m": 80.0,
   "midpoint_distance_m": 75.0,
   "start_elevation_m": 16.27908658311928,
   "end_elevation_m": 18.348656550955226,
   "start_xy": [
    1666972.5810323725,
    5473382.639667524
   ],
   "end_xy": [
    1666962.6079110045,
    5473381.907666243
   ]
  },
  "max_20m": {
   "gradient_pct": 19.153686713318123,
   "start_distance_m": 62.0,
   "end_distance_m": 82.0,
   "midpoint_distance_m": 72.0,
   "start_elevation_m": 14.853512727332337,
   "end_elevation_m": 18.68425006999596,
   "start_xy": [
    1666980.5637502791,
    5473383.165228961
   ],
   "end_xy": [
    1666960.6145161344,
    5473381.826983065
   ]
  },
  "max_25m": {
   "gradient_pct": 18.27161894174896,
   "start_distance_m": 58.0,
   "end_distance_m": 83.0,
   "midpoint_distance_m": 70.5,
   "start_elevation_m": 14.275280192540636,
   "end_elevation_m": 18.843184927977877,
   "start_xy": [
    1666984.5577380257,
    5473383.3804008225
   ],
   "end_xy": [
    1666959.620020889,
    5473381.931764778
   ]
  },
  "max_50m": {
   "gradient_pct": 16.752895253705244,
   "start_distance_m": 32.0,
   "end_distance_m": 82.0,
   "midpoint_distance_m": 57.0,
   "start_elevation_m": 10.30780244314334,
   "end_elevation_m": 18.68425006999596,
   "start_xy": [
    1667009.5034897781,
    5473376.910202098
   ],
   "end_xy": [
    1666960.6145161344,
    5473381.826983065
   ]
  },
  "max_100m": {
   "gradient_pct": 15.414881193570647,
   "start_distance_m": 18.0,
   "end_distance_m": 118.0,
   "midpoint_distance_m": 68.0,
   "start_elevation_m": 8.180430003216486,
   "end_elevation_m": 23.595311196787133,
   "start_xy": [
    1667022.2131765333,
    5473371.042600852
   ],
   "end_xy": [
    1666926.2425416943,
    5473374.6843989575
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": 1.6900042909675506,
   "start_distance_m": 254.0,
   "end_distance_m": 259.0,
   "midpoint_distance_m": 256.5,
   "start_elevation_m": 38.50326822454843,
   "end_elevation_m": 38.587768439096806,
   "start_xy": [
    1666796.5918085882,
    5473364.819843999
   ],
   "end_xy": [
    1666793.6619745488,
    5473360.95879951
   ]
  },
  "min_10m": {
   "gradient_pct": 3.41177260758343,
   "start_distance_m": 2014.0,
   "end_distance_m": 2024.0,
   "midpoint_distance_m": 2019.0,
   "start_elevation_m": 229.3219643240883,
   "end_elevation_m": 229.66314158484664,
   "start_xy": [
    1666793.2956326117,
    5474051.499705701
   ],
   "end_xy": [
    1666787.0966627162,
    5474043.789311312
   ]
  },
  "min_20m": {
   "gradient_pct": 4.093299579135845,
   "start_distance_m": 2007.0,
   "end_distance_m": 2027.0,
   "midpoint_distance_m": 2017.0,
   "start_elevation_m": 228.9692292149288,
   "end_elevation_m": 229.78788913075596,
   "start_xy": [
    1666796.905712009,
    5474057.496982312
   ],
   "end_xy": [
    1666784.6259002052,
    5474042.149914068
   ]
  },
  "min_25m": {
   "gradient_pct": 4.613240351654213,
   "start_distance_m": 2003.0,
   "end_distance_m": 2028.0,
   "midpoint_distance_m": 2015.5,
   "start_elevation_m": 228.69897652790735,
   "end_elevation_m": 229.8522866158209,
   "start_xy": [
    1666798.9686145217,
    5474060.923997519
   ],
   "end_xy": [
    1666783.717178021,
    5474041.732512592
   ]
  },
  "min_50m": {
   "gradient_pct": 6.137619577535304,
   "start_distance_m": 1976.0,
   "end_distance_m": 2026.0,
   "midpoint_distance_m": 2001.0,
   "start_elevation_m": 226.67809742199827,
   "end_elevation_m": 229.74690721076593,
   "start_xy": [
    1666813.3527294789,
    5474083.7721560635
   ],
   "end_xy": [
    1666785.5346223894,
    5474042.567315544
   ]
  },
  "min_100m": {
   "gradient_pct": 6.781610540590435,
   "start_distance_m": 1945.0,
   "end_distance_m": 2045.0,
   "midpoint_distance_m": 1995.0,
   "start_elevation_m": 224.51643150172555,
   "end_elevation_m": 231.29804204231598,
   "start_xy": [
    1666828.0975875892,
    5474110.95637538
   ],
   "end_xy": [
    1666773.8222877402,
    5474051.028094024
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 27.11156782004629,
   "start_distance_m": 261.0,
   "end_distance_m": 263.0,
   "midpoint_distance_m": 262.0,
   "start_elevation_m": 38.88381791174457,
   "end_elevation_m": 39.4260492681455,
   "start_xy": [
    1666793.1629666958,
    5473359.022051937
   ],
   "end_xy": [
    1666792.8461614887,
    5473357.067715816
   ]
  },
  "max_3m": {
   "gradient_pct": 25.401403866795864,
   "start_distance_m": 261.0,
   "end_distance_m": 264.0,
   "midpoint_distance_m": 262.5,
   "start_elevation_m": 38.88381791174457,
   "end_elevation_m": 39.64586002774845,
   "start_xy": [
    1666793.1629666958,
    5473359.022051937
   ],
   "end_xy": [
    1666792.9058245765,
    5473356.069497244
   ]
  }
 },
 "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": {
  "texture_suppression": {
   "masked_fraction": 0.005,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    10.0
   ],
   "windows_unresolved": [],
   "minima_resited": [
    5.0
   ],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 1,
   "windows_masked": [
    {
     "window_m": 5.0,
     "start_m": 721.0,
     "end_m": 726.0,
     "raw_pct": 29.03,
     "reason": "short-step"
    }
   ],
   "advisory": [],
   "unresolved": []
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.01,
   "obstruction_max_height_m": 5.18,
   "flagged_windows_m": []
  },
  "excluded_ranges_m": [
   [
    719.0,
    728.0
   ]
  ],
  "review": [],
  "extent": [
   "may_start_earlier",
   "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-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/BP28.tiff"
  ],
  "calculated_at": "2026-09-28T05:20:08+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": [
   "BP28"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "carriageway": {
   "stations": 91,
   "stations_resolved": 91,
   "width_median_m": 4.0,
   "width_p10_m": 3.0,
   "width_min_m": 1.25,
   "width_max_m": 8.25,
   "bounded_share": 0.637,
   "unbounded_share": 0.363,
   "confidence_median": 0.64,
   "width_median_bounded_m": 4.0,
   "window_m": [
    58.0,
    83.0
   ],
   "width_at_max25_m": 4.0,
   "window_stations": 7,
   "single_track": true,
   "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": 91,
    "stations_resolved": 91,
    "width_median_m": 5.0,
    "width_p10_m": 3.0,
    "width_min_m": 0.5,
    "width_max_m": 10.75,
    "bounded_share": 0.923,
    "unbounded_share": 0.077,
    "confidence_median": 1.0,
    "width_median_bounded_m": 5.0,
    "window_m": [
     58.0,
     83.0
    ],
    "width_at_max25_m": 5.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": "Marlborough",
  "county": "Marlborough",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}