{
 "ocl_version": "0.1.0",
 "name": "Bayview Road",
 "slug": "bayview-road",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 43.47315328688275,
   "diagnostic": true,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 278.0,
   "end_distance_m": 280.0,
   "start_elevation_m": 36.323167061324874,
   "end_elevation_m": 37.19263012706253,
   "min_gradient_pct": -14.828371212501423
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 32.90662047591416,
   "diagnostic": true,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 277.0,
   "end_distance_m": 280.0,
   "start_elevation_m": 36.205431512785104,
   "end_elevation_m": 37.19263012706253,
   "min_gradient_pct": -12.61855702264493
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 24.674048214206863,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 275.0,
   "end_distance_m": 280.0,
   "start_elevation_m": 35.958927716352186,
   "end_elevation_m": 37.19263012706253,
   "min_gradient_pct": -12.194816000558006
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 22.820586989544864,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 396.0,
   "end_distance_m": 406.0,
   "start_elevation_m": 36.108228180730606,
   "end_elevation_m": 38.39028687968509,
   "min_gradient_pct": -11.312252414381163
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 21.943024629215095,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 396.0,
   "end_distance_m": 416.0,
   "start_elevation_m": 36.108228180730606,
   "end_elevation_m": 40.496833106573625,
   "min_gradient_pct": -10.763775283521184
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 20.03495529319784,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 392.0,
   "end_distance_m": 417.0,
   "start_elevation_m": 35.666354538085535,
   "end_elevation_m": 40.675093361384995,
   "min_gradient_pct": -10.298313128727443
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 14.495355046096776,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 167.0,
   "end_distance_m": 217.0,
   "start_elevation_m": 21.153924011252286,
   "end_elevation_m": 28.401601534300674,
   "min_gradient_pct": -9.79483307624659
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 14.02451035388415,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 180.0,
   "end_distance_m": 280.0,
   "start_elevation_m": 23.16811977317838,
   "end_elevation_m": 37.19263012706253,
   "min_gradient_pct": -3.067765827052554
  }
 ],
 "shape": {
  "ascent_concentration": 0.365,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 207.0,
  "shape_class": "sustained"
 },
 "length_m": 417.4699709895127,
 "start_elevation_m": 6.268736623847342,
 "end_elevation_m": 40.77259936585969,
 "endpoint_gain_m": 34.503862742012345,
 "overall_gradient_pct": 8.264992727555754,
 "accumulated_ascent_m": 40.105134066234314,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 24.674048214206863,
   "start_distance_m": 275.0,
   "end_distance_m": 280.0,
   "midpoint_distance_m": 277.5,
   "start_elevation_m": 35.958927716352186,
   "end_elevation_m": 37.19263012706253,
   "start_xy": [
    1699004.5448879828,
    6095137.844755511
   ],
   "end_xy": [
    1699009.275629141,
    6095136.226086893
   ]
  },
  "max_10m": {
   "gradient_pct": 22.820586989544864,
   "start_distance_m": 396.0,
   "end_distance_m": 406.0,
   "midpoint_distance_m": 401.0,
   "start_elevation_m": 36.108228180730606,
   "end_elevation_m": 38.39028687968509,
   "start_xy": [
    1698996.6415745902,
    6095067.960960772
   ],
   "end_xy": [
    1698986.6699590944,
    6095068.581570214
   ]
  },
  "max_20m": {
   "gradient_pct": 21.943024629215095,
   "start_distance_m": 396.0,
   "end_distance_m": 416.0,
   "midpoint_distance_m": 406.0,
   "start_elevation_m": 36.108228180730606,
   "end_elevation_m": 40.496833106573625,
   "start_xy": [
    1698996.6415745902,
    6095067.960960772
   ],
   "end_xy": [
    1698976.739716808,
    6095069.760675015
   ]
  },
  "max_25m": {
   "gradient_pct": 20.03495529319784,
   "start_distance_m": 392.0,
   "end_distance_m": 417.0,
   "midpoint_distance_m": 404.5,
   "start_elevation_m": 35.666354538085535,
   "end_elevation_m": 40.675093361384995,
   "start_xy": [
    1699000.6398100657,
    6095067.84216228
   ],
   "end_xy": [
    1698975.7466925795,
    6095069.878585495
   ]
  },
  "max_50m": {
   "gradient_pct": 14.495355046096776,
   "start_distance_m": 167.0,
   "end_distance_m": 217.0,
   "midpoint_distance_m": 192.0,
   "start_elevation_m": 21.153924011252286,
   "end_elevation_m": 28.401601534300674,
   "start_xy": [
    1698934.8413188756,
    6095196.471467056
   ],
   "end_xy": [
    1698952.0043934712,
    6095162.053087169
   ]
  },
  "max_100m": {
   "gradient_pct": 14.02451035388415,
   "start_distance_m": 180.0,
   "end_distance_m": 280.0,
   "midpoint_distance_m": 230.0,
   "start_elevation_m": 23.16811977317838,
   "end_elevation_m": 37.19263012706253,
   "start_xy": [
    1698927.8309370033,
    6095185.932626765
   ],
   "end_xy": [
    1699009.275629141,
    6095136.226086893
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -12.194816000558006,
   "start_distance_m": 321.0,
   "end_distance_m": 326.0,
   "midpoint_distance_m": 323.5,
   "start_elevation_m": 37.870936663761825,
   "end_elevation_m": 37.261195863733924,
   "start_xy": [
    1699040.5257151395,
    6095113.15988593
   ],
   "end_xy": [
    1699041.2414545685,
    6095108.21137938
   ]
  },
  "min_10m": {
   "gradient_pct": -11.312252414381163,
   "start_distance_m": 317.0,
   "end_distance_m": 327.0,
   "midpoint_distance_m": 322.0,
   "start_elevation_m": 38.28925677198805,
   "end_elevation_m": 37.158031530549934,
   "start_xy": [
    1699039.3686061949,
    6095116.923834962
   ],
   "end_xy": [
    1699041.3310776444,
    6095107.220107496
   ]
  },
  "min_20m": {
   "gradient_pct": -10.763775283521184,
   "start_distance_m": 317.0,
   "end_distance_m": 337.0,
   "midpoint_distance_m": 327.0,
   "start_elevation_m": 38.28925677198805,
   "end_elevation_m": 36.13650171528381,
   "start_xy": [
    1699039.3686061949,
    6095116.923834962
   ],
   "end_xy": [
    1699040.085643429,
    6095097.328540117
   ]
  },
  "min_25m": {
   "gradient_pct": -10.298313128727443,
   "start_distance_m": 315.0,
   "end_distance_m": 340.0,
   "midpoint_distance_m": 327.5,
   "start_elevation_m": 38.484161998621595,
   "end_elevation_m": 35.909583716439734,
   "start_xy": [
    1699038.4099089513,
    6095118.679084117
   ],
   "end_xy": [
    1699039.2686760316,
    6095094.441921979
   ]
  },
  "min_50m": {
   "gradient_pct": -9.79483307624659,
   "start_distance_m": 312.0,
   "end_distance_m": 362.0,
   "midpoint_distance_m": 337.0,
   "start_elevation_m": 38.67284755362327,
   "end_elevation_m": 33.775431015499976,
   "start_xy": [
    1699036.8396911407,
    6095121.224791748
   ],
   "end_xy": [
    1699028.4754420568,
    6095075.595356237
   ]
  },
  "min_100m": {
   "gradient_pct": -3.067765827052554,
   "start_distance_m": 280.0,
   "end_distance_m": 380.0,
   "midpoint_distance_m": 330.0,
   "start_elevation_m": 37.19263012706253,
   "end_elevation_m": 34.124864300009975,
   "start_xy": [
    1699009.275629141,
    6095136.226086893
   ],
   "end_xy": [
    1699012.6040922937,
    6095067.764802457
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 43.47315328688275,
   "start_distance_m": 278.0,
   "end_distance_m": 280.0,
   "midpoint_distance_m": 279.0,
   "start_elevation_m": 36.323167061324874,
   "end_elevation_m": 37.19263012706253,
   "start_xy": [
    1699007.3833326777,
    6095136.873554341
   ],
   "end_xy": [
    1699009.275629141,
    6095136.226086893
   ]
  },
  "max_3m": {
   "gradient_pct": 32.90662047591416,
   "start_distance_m": 277.0,
   "end_distance_m": 280.0,
   "midpoint_distance_m": 278.5,
   "start_elevation_m": 36.205431512785104,
   "end_elevation_m": 37.19263012706253,
   "start_xy": [
    1699006.437184446,
    6095137.197288064
   ],
   "end_xy": [
    1699009.275629141,
    6095136.226086893
   ]
  }
 },
 "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.181,
   "obstruction_max_height_m": 15.04,
   "flagged_windows_m": [
    2,
    3,
    5,
    10,
    25,
    50,
    100
   ]
  },
  "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-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/AV29.tiff"
  ],
  "calculated_at": "2026-09-28T05:17:09+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": [
   "AV29"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 2,
  "carriageway": {
   "stations": 23,
   "stations_resolved": 23,
   "width_median_m": 6.5,
   "width_p10_m": 4.2,
   "width_min_m": 2.25,
   "width_max_m": 12.0,
   "bounded_share": 0.304,
   "unbounded_share": 0.696,
   "confidence_median": 0.0,
   "width_median_bounded_m": 6.0,
   "window_m": [
    392.0,
    417.0
   ],
   "width_at_max25_m": 5.25,
   "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": 23,
    "stations_resolved": 23,
    "width_median_m": 4.0,
    "width_p10_m": 1.1,
    "width_min_m": 1.0,
    "width_max_m": 12.0,
    "bounded_share": 0.913,
    "unbounded_share": 0.087,
    "confidence_median": 1.0,
    "width_median_bounded_m": 3.75,
    "window_m": [
     392.0,
     417.0
    ],
    "width_at_max25_m": 1.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": "Bay of Islands",
  "county": "Northland",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}