{
 "ocl_version": "0.1.0",
 "name": "Lighthouse Road",
 "slug": "lighthouse-road-2",
 "confidence": "U",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 40.4014217248573,
   "diagnostic": true,
   "flags": [
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1116.0,
   "end_distance_m": 1118.0,
   "start_elevation_m": 502.6710556469933,
   "end_elevation_m": 503.47908408149044,
   "min_gradient_pct": -37.73894272127336,
   "suppressed_max_gradient_pct": 50.207919135107204,
   "suppressed_location_m": [
    1064.0,
    1066.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 39.23369654020803,
   "diagnostic": true,
   "flags": [
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1116.0,
   "end_distance_m": 1119.0,
   "start_elevation_m": 502.6710556469933,
   "end_elevation_m": 503.84806654319954,
   "min_gradient_pct": -35.44540756588314,
   "suppressed_max_gradient_pct": 48.20097563456329,
   "suppressed_location_m": [
    1064.0,
    1067.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 33.89903392373867,
   "diagnostic": false,
   "flags": [
    "texture_excluded",
    "suppression_unstable",
    "canopy_or_structure"
   ],
   "start_distance_m": 1116.0,
   "end_distance_m": 1121.0,
   "start_elevation_m": 502.6710556469933,
   "end_elevation_m": 504.36600734318023,
   "min_gradient_pct": -29.49741537925547,
   "suppressed_max_gradient_pct": 42.90681822751367,
   "suppressed_location_m": [
    1063.0,
    1068.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 25.157733168576897,
   "diagnostic": false,
   "flags": [
    "texture_excluded"
   ],
   "start_distance_m": 225.0,
   "end_distance_m": 235.0,
   "start_elevation_m": 467.7624674959169,
   "end_elevation_m": 470.2782408127746,
   "min_gradient_pct": -15.463812160615475,
   "suppressed_max_gradient_pct": 36.7902479957354,
   "suppressed_location_m": [
    1063.0,
    1073.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 24.73453837611487,
   "diagnostic": false,
   "flags": [
    "texture_excluded"
   ],
   "start_distance_m": 215.0,
   "end_distance_m": 235.0,
   "start_elevation_m": 465.3313331375516,
   "end_elevation_m": 470.2782408127746,
   "min_gradient_pct": -8.96991019743183,
   "suppressed_max_gradient_pct": 27.08899499229915,
   "suppressed_location_m": [
    1057.0,
    1077.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 24.65722008162129,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 210.0,
   "end_distance_m": 235.0,
   "start_elevation_m": 464.11393579236926,
   "end_elevation_m": 470.2782408127746,
   "min_gradient_pct": -8.705780899908632
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 24.17289614269214,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 187.0,
   "end_distance_m": 237.0,
   "start_elevation_m": 458.6658118253407,
   "end_elevation_m": 470.7522598966868,
   "min_gradient_pct": -7.177092843058972
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 22.87481950833939,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 150.0,
   "end_distance_m": 250.0,
   "start_elevation_m": 450.733570889549,
   "end_elevation_m": 473.6083903978884,
   "min_gradient_pct": -6.292968384485221
  }
 ],
 "shape": {
  "ascent_concentration": 0.315,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 315.0,
  "shape_class": "sustained"
 },
 "length_m": 2715.6079993513467,
 "start_elevation_m": 418.521481539891,
 "end_elevation_m": 651.1755608325439,
 "endpoint_gain_m": 232.65407929265285,
 "overall_gradient_pct": 8.567292457093398,
 "accumulated_ascent_m": 256.41066786117113,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 33.89903392373867,
   "start_distance_m": 1116.0,
   "end_distance_m": 1121.0,
   "midpoint_distance_m": 1118.5,
   "start_elevation_m": 502.6710556469933,
   "end_elevation_m": 504.36600734318023,
   "start_xy": [
    1597821.6308267652,
    5146074.724567627
   ],
   "end_xy": [
    1597822.9089997709,
    5146069.890700255
   ]
  },
  "max_10m": {
   "gradient_pct": 25.157733168576897,
   "start_distance_m": 225.0,
   "end_distance_m": 235.0,
   "midpoint_distance_m": 230.0,
   "start_elevation_m": 467.7624674959169,
   "end_elevation_m": 470.2782408127746,
   "start_xy": [
    1597526.9410598825,
    5146818.542900068
   ],
   "end_xy": [
    1597530.5221292954,
    5146809.222419936
   ]
  },
  "max_20m": {
   "gradient_pct": 24.73453837611487,
   "start_distance_m": 215.0,
   "end_distance_m": 235.0,
   "midpoint_distance_m": 225.0,
   "start_elevation_m": 465.3313331375516,
   "end_elevation_m": 470.2782408127746,
   "start_xy": [
    1597522.93930234,
    5146827.707284202
   ],
   "end_xy": [
    1597530.5221292954,
    5146809.222419936
   ]
  },
  "max_25m": {
   "gradient_pct": 24.65722008162129,
   "start_distance_m": 210.0,
   "end_distance_m": 235.0,
   "midpoint_distance_m": 222.5,
   "start_elevation_m": 464.11393579236926,
   "end_elevation_m": 470.2782408127746,
   "start_xy": [
    1597521.0266262772,
    5146832.326969366
   ],
   "end_xy": [
    1597530.5221292954,
    5146809.222419936
   ]
  },
  "max_50m": {
   "gradient_pct": 24.17289614269214,
   "start_distance_m": 187.0,
   "end_distance_m": 237.0,
   "midpoint_distance_m": 212.0,
   "start_elevation_m": 458.6658118253407,
   "end_elevation_m": 470.7522598966868,
   "start_xy": [
    1597511.7588141055,
    5146853.374283579
   ],
   "end_xy": [
    1597530.6756678445,
    5146807.228322166
   ]
  },
  "max_100m": {
   "gradient_pct": 22.87481950833939,
   "start_distance_m": 150.0,
   "end_distance_m": 250.0,
   "midpoint_distance_m": 200.0,
   "start_elevation_m": 450.733570889549,
   "end_elevation_m": 473.6083903978884,
   "start_xy": [
    1597490.2149070995,
    5146883.269258699
   ],
   "end_xy": [
    1597529.5923800585,
    5146794.353681146
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -29.49741537925547,
   "start_distance_m": 769.0,
   "end_distance_m": 774.0,
   "midpoint_distance_m": 771.5,
   "start_elevation_m": 493.1430377997183,
   "end_elevation_m": 491.6681670307555,
   "start_xy": [
    1597740.6365926827,
    5146396.934620069
   ],
   "end_xy": [
    1597744.2564385124,
    5146393.485458408
   ]
  },
  "min_10m": {
   "gradient_pct": -15.463812160615475,
   "start_distance_m": 765.0,
   "end_distance_m": 775.0,
   "midpoint_distance_m": 770.0,
   "start_elevation_m": 493.2504418113104,
   "end_elevation_m": 491.70406059524885,
   "start_xy": [
    1597737.740716019,
    5146399.693949399
   ],
   "end_xy": [
    1597744.9804076783,
    5146392.795626075
   ]
  },
  "min_20m": {
   "gradient_pct": -8.96991019743183,
   "start_distance_m": 614.0,
   "end_distance_m": 634.0,
   "midpoint_distance_m": 624.0,
   "start_elevation_m": 494.3258268431968,
   "end_elevation_m": 492.53184480371044,
   "start_xy": [
    1597630.8794263897,
    5146485.089878274
   ],
   "end_xy": [
    1597643.9904086706,
    5146470.23405885
   ]
  },
  "min_25m": {
   "gradient_pct": -8.705780899908632,
   "start_distance_m": 658.0,
   "end_distance_m": 683.0,
   "midpoint_distance_m": 670.5,
   "start_elevation_m": 491.89120894521136,
   "end_elevation_m": 489.7147637202342,
   "start_xy": [
    1597653.7813158147,
    5146448.3604073655
   ],
   "end_xy": [
    1597665.1144004732,
    5146426.210096199
   ]
  },
  "min_50m": {
   "gradient_pct": -7.177092843058972,
   "start_distance_m": 649.0,
   "end_distance_m": 699.0,
   "midpoint_distance_m": 674.0,
   "start_elevation_m": 492.352200383117,
   "end_elevation_m": 488.7636539615875,
   "start_xy": [
    1597650.4774223538,
    5146456.732043287
   ],
   "end_xy": [
    1597677.1046756667,
    5146415.637542749
   ]
  },
  "min_100m": {
   "gradient_pct": -6.292968384485221,
   "start_distance_m": 599.0,
   "end_distance_m": 699.0,
   "midpoint_distance_m": 649.0,
   "start_elevation_m": 495.05662234607274,
   "end_elevation_m": 488.7636539615875,
   "start_xy": [
    1597621.3566415557,
    5146496.564482625
   ],
   "end_xy": [
    1597677.1046756667,
    5146415.637542749
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 40.4014217248573,
   "start_distance_m": 1116.0,
   "end_distance_m": 1118.0,
   "midpoint_distance_m": 1117.0,
   "start_elevation_m": 502.6710556469933,
   "end_elevation_m": 503.47908408149044,
   "start_xy": [
    1597821.6308267652,
    5146074.724567627
   ],
   "end_xy": [
    1597822.1420959674,
    5146072.791020677
   ]
  },
  "max_3m": {
   "gradient_pct": 39.23369654020803,
   "start_distance_m": 1116.0,
   "end_distance_m": 1119.0,
   "midpoint_distance_m": 1117.5,
   "start_elevation_m": 502.6710556469933,
   "end_elevation_m": 503.84806654319954,
   "start_xy": [
    1597821.6308267652,
    5146074.724567627
   ],
   "end_xy": [
    1597822.3977305687,
    5146071.824247203
   ]
  }
 },
 "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.006,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    10.0,
    20.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 1,
   "windows_masked": [
    {
     "window_m": 10.0,
     "start_m": 1063.0,
     "end_m": 1073.0,
     "raw_pct": 36.79,
     "reason": "short-step"
    }
   ],
   "advisory": [],
   "unresolved": [],
   "unstable": [
    {
     "window_m": 5.0,
     "start_m": 1116.0,
     "end_m": 1121.0,
     "raw_pct": 33.9,
     "reason": "short-step",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "",
      "",
      "short-step"
     ]
    }
   ]
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.075,
   "obstruction_max_height_m": 11.1,
   "flagged_windows_m": [
    2,
    3,
    5
   ]
  },
  "excluded_ranges_m": [
   [
    1061.0,
    1075.0
   ]
  ],
  "review": [
   "short_window_divergence"
  ],
  "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-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/BY25.tiff"
  ],
  "calculated_at": "2026-09-28T05:28:49+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": [
   "BY25"
  ],
  "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",
  "suppression_unstable": [
   5.0
  ],
  "carriageway": {
   "stations": 114,
   "stations_resolved": 114,
   "width_median_m": 4.0,
   "width_p10_m": 2.25,
   "width_min_m": 1.25,
   "width_max_m": 6.75,
   "bounded_share": 0.43,
   "unbounded_share": 0.57,
   "confidence_median": 0.0,
   "width_median_bounded_m": 4.25,
   "window_m": [
    210.0,
    235.0
   ],
   "width_at_max25_m": 6.12,
   "window_stations": 6,
   "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": 114,
    "stations_resolved": 114,
    "width_median_m": 4.75,
    "width_p10_m": 2.25,
    "width_min_m": 0.5,
    "width_max_m": 10.75,
    "bounded_share": 0.974,
    "unbounded_share": 0.026,
    "confidence_median": 1.0,
    "width_median_bounded_m": 4.75,
    "window_m": [
     210.0,
     235.0
    ],
    "width_at_max25_m": 8.25,
    "window_stations": 6,
    "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)"
 }
}