{
 "ocl_version": "0.1.0",
 "name": "Flagstaff Road",
 "slug": "flagstaff-road-2",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 28.50185503341649,
   "diagnostic": true,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 429.0,
   "end_distance_m": 431.0,
   "start_elevation_m": 40.30036797740858,
   "end_elevation_m": 40.87040507807691,
   "min_gradient_pct": -0.7129970335074454
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 26.039791157437975,
   "diagnostic": true,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 478.0,
   "end_distance_m": 481.0,
   "start_elevation_m": 49.853210503594376,
   "end_elevation_m": 50.634404238317515,
   "min_gradient_pct": -0.22510060079420727
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 23.761672903555535,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 461.0,
   "end_distance_m": 466.0,
   "start_elevation_m": 46.45809780600851,
   "end_elevation_m": 47.64618145118629,
   "min_gradient_pct": 0.11425040814210696
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 21.813962375222005,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 471.0,
   "end_distance_m": 481.0,
   "start_elevation_m": 48.453008000795315,
   "end_elevation_m": 50.634404238317515,
   "min_gradient_pct": 0.1836871593084899
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 20.881532161545024,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 461.0,
   "end_distance_m": 481.0,
   "start_elevation_m": 46.45809780600851,
   "end_elevation_m": 50.634404238317515,
   "min_gradient_pct": 0.33409620085477876
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 20.356736726814262,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 441.0,
   "end_distance_m": 466.0,
   "start_elevation_m": 42.55699726948272,
   "end_elevation_m": 47.64618145118629,
   "min_gradient_pct": 0.36023035754514865
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 19.624751316598392,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 436.0,
   "end_distance_m": 486.0,
   "start_elevation_m": 41.612342245018105,
   "end_elevation_m": 51.4247179033173,
   "min_gradient_pct": 0.6224630714664237
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 18.311528951283805,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 424.0,
   "end_distance_m": 524.0,
   "start_elevation_m": 39.50864851637027,
   "end_elevation_m": 57.82017746765408,
   "min_gradient_pct": 1.7694338618908647
  }
 ],
 "shape": {
  "ascent_concentration": 0.388,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 381.0,
  "shape_class": "sustained"
 },
 "length_m": 625.465813366586,
 "start_elevation_m": 2.354333892028058,
 "end_elevation_m": 72.82450906144524,
 "endpoint_gain_m": 70.47017516941719,
 "overall_gradient_pct": 11.266830842457983,
 "accumulated_ascent_m": 70.53789389766942,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 23.761672903555535,
   "start_distance_m": 461.0,
   "end_distance_m": 466.0,
   "midpoint_distance_m": 463.5,
   "start_elevation_m": 46.45809780600851,
   "end_elevation_m": 47.64618145118629,
   "start_xy": [
    1702013.401322106,
    6097915.877114633
   ],
   "end_xy": [
    1702014.0591843175,
    6097920.833647424
   ]
  },
  "max_10m": {
   "gradient_pct": 21.813962375222005,
   "start_distance_m": 471.0,
   "end_distance_m": 481.0,
   "midpoint_distance_m": 476.0,
   "start_elevation_m": 48.453008000795315,
   "end_elevation_m": 50.634404238317515,
   "start_xy": [
    1702014.717046529,
    6097925.790180216
   ],
   "end_xy": [
    1702016.2405061754,
    6097935.673255284
   ]
  },
  "max_20m": {
   "gradient_pct": 20.881532161545024,
   "start_distance_m": 461.0,
   "end_distance_m": 481.0,
   "midpoint_distance_m": 471.0,
   "start_elevation_m": 46.45809780600851,
   "end_elevation_m": 50.634404238317515,
   "start_xy": [
    1702013.401322106,
    6097915.877114633
   ],
   "end_xy": [
    1702016.2405061754,
    6097935.673255284
   ]
  },
  "max_25m": {
   "gradient_pct": 20.356736726814262,
   "start_distance_m": 441.0,
   "end_distance_m": 466.0,
   "midpoint_distance_m": 453.5,
   "start_elevation_m": 42.55699726948272,
   "end_elevation_m": 47.64618145118629,
   "start_xy": [
    1702011.9165300434,
    6097895.948937244
   ],
   "end_xy": [
    1702014.0591843175,
    6097920.833647424
   ]
  },
  "max_50m": {
   "gradient_pct": 19.624751316598392,
   "start_distance_m": 436.0,
   "end_distance_m": 486.0,
   "midpoint_distance_m": 461.0,
   "start_elevation_m": 41.612342245018105,
   "end_elevation_m": 51.4247179033173,
   "start_xy": [
    1702011.856283301,
    6097890.949300224
   ],
   "end_xy": [
    1702017.0114263266,
    6097940.613466021
   ]
  },
  "max_100m": {
   "gradient_pct": 18.311528951283805,
   "start_distance_m": 424.0,
   "end_distance_m": 524.0,
   "midpoint_distance_m": 474.0,
   "start_elevation_m": 39.50864851637027,
   "end_elevation_m": 57.82017746765408,
   "start_xy": [
    1702012.45456675,
    6097878.966946632
   ],
   "end_xy": [
    1702026.4011301363,
    6097977.394971553
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": 0.11425040814210696,
   "start_distance_m": 1.0,
   "end_distance_m": 6.0,
   "midpoint_distance_m": 3.5,
   "start_elevation_m": 2.361840814674381,
   "end_elevation_m": 2.367553335081486,
   "start_xy": [
    1702053.5778048118,
    6097465.219659441
   ],
   "end_xy": [
    1702052.5268288706,
    6097470.107956646
   ]
  },
  "min_10m": {
   "gradient_pct": 0.1836871593084899,
   "start_distance_m": 0.0,
   "end_distance_m": 10.0,
   "midpoint_distance_m": 5.0,
   "start_elevation_m": 2.354333892028058,
   "end_elevation_m": 2.372702607958907,
   "start_xy": [
    1702053.788,
    6097464.242
   ],
   "end_xy": [
    1702051.6860481177,
    6097474.018594411
   ]
  },
  "min_20m": {
   "gradient_pct": 0.33409620085477876,
   "start_distance_m": 1.0,
   "end_distance_m": 21.0,
   "midpoint_distance_m": 11.0,
   "start_elevation_m": 2.361840814674381,
   "end_elevation_m": 2.4286600548453365,
   "start_xy": [
    1702053.5778048118,
    6097465.219659441
   ],
   "end_xy": [
    1702049.373901047,
    6097484.772848263
   ]
  },
  "min_25m": {
   "gradient_pct": 0.36023035754514865,
   "start_distance_m": 1.0,
   "end_distance_m": 26.0,
   "midpoint_distance_m": 13.5,
   "start_elevation_m": 2.361840814674381,
   "end_elevation_m": 2.451898404060668,
   "start_xy": [
    1702053.5778048118,
    6097465.219659441
   ],
   "end_xy": [
    1702048.322925106,
    6097489.661145469
   ]
  },
  "min_50m": {
   "gradient_pct": 0.6224630714664237,
   "start_distance_m": 0.0,
   "end_distance_m": 50.0,
   "midpoint_distance_m": 25.0,
   "start_elevation_m": 2.354333892028058,
   "end_elevation_m": 2.66556542776127,
   "start_xy": [
    1702053.788,
    6097464.242
   ],
   "end_xy": [
    1702043.2782405885,
    6097513.124972057
   ]
  },
  "min_100m": {
   "gradient_pct": 1.7694338618908647,
   "start_distance_m": 0.0,
   "end_distance_m": 100.0,
   "midpoint_distance_m": 50.0,
   "start_elevation_m": 2.354333892028058,
   "end_elevation_m": 4.123767753918923,
   "start_xy": [
    1702053.788,
    6097464.242
   ],
   "end_xy": [
    1702033.0854194504,
    6097562.061437677
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 28.50185503341649,
   "start_distance_m": 429.0,
   "end_distance_m": 431.0,
   "midpoint_distance_m": 430.0,
   "start_elevation_m": 40.30036797740858,
   "end_elevation_m": 40.87040507807691,
   "start_xy": [
    1702012.1686977695,
    6097883.958767835
   ],
   "end_xy": [
    1702012.0543501775,
    6097885.955496316
   ]
  },
  "max_3m": {
   "gradient_pct": 26.039791157437975,
   "start_distance_m": 478.0,
   "end_distance_m": 481.0,
   "midpoint_distance_m": 479.5,
   "start_elevation_m": 49.853210503594376,
   "end_elevation_m": 50.634404238317515,
   "start_xy": [
    1702015.7779540848,
    6097932.709128843
   ],
   "end_xy": [
    1702016.2405061754,
    6097935.673255284
   ]
  }
 },
 "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.22,
   "obstruction_max_height_m": 18.54,
   "flagged_windows_m": [
    2,
    3,
    5,
    10,
    20,
    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:06:17+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": 5,
  "carriageway": {
   "stations": 32,
   "stations_resolved": 32,
   "width_median_m": 7.75,
   "width_p10_m": 4.88,
   "width_min_m": 2.25,
   "width_max_m": 12.0,
   "bounded_share": 0.188,
   "unbounded_share": 0.812,
   "confidence_median": 0.0,
   "width_median_bounded_m": 7.62,
   "window_m": [
    441.0,
    466.0
   ],
   "width_at_max25_m": 7.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": 32,
    "stations_resolved": 32,
    "width_median_m": 7.0,
    "width_p10_m": 1.02,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.625,
    "unbounded_share": 0.375,
    "confidence_median": 1.0,
    "width_median_bounded_m": 3.0,
    "window_m": [
     441.0,
     466.0
    ],
    "width_at_max25_m": 7.0,
    "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)"
 }
}