{
 "ocl_version": "0.1.0",
 "name": "Flagstaff Road",
 "slug": "flagstaff-road",
 "confidence": "A",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 27.680292084225755,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 2000.0,
   "end_distance_m": 2002.0,
   "start_elevation_m": 211.64167684717384,
   "end_elevation_m": 212.19528268885836,
   "min_gradient_pct": -10.916338678527637
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 26.696033341791765,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 1994.0,
   "end_distance_m": 1997.0,
   "start_elevation_m": 210.12749013003457,
   "end_elevation_m": 210.92837113028833,
   "min_gradient_pct": -10.005312115337972
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 26.25357369127812,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1992.0,
   "end_distance_m": 1997.0,
   "start_elevation_m": 209.61569244572442,
   "end_elevation_m": 210.92837113028833,
   "min_gradient_pct": -9.043828660286977
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 25.795902431339357,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1992.0,
   "end_distance_m": 2002.0,
   "start_elevation_m": 209.61569244572442,
   "end_elevation_m": 212.19528268885836,
   "min_gradient_pct": -8.490658871069812
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 25.496281308529234,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1982.0,
   "end_distance_m": 2002.0,
   "start_elevation_m": 207.0960264271525,
   "end_elevation_m": 212.19528268885836,
   "min_gradient_pct": -8.169519575873032
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 25.3482178796919,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1982.0,
   "end_distance_m": 2007.0,
   "start_elevation_m": 207.0960264271525,
   "end_elevation_m": 213.43308089707548,
   "min_gradient_pct": -8.116541157772446
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 24.386105763084743,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1967.0,
   "end_distance_m": 2017.0,
   "start_elevation_m": 203.6203181935564,
   "end_elevation_m": 215.81337107509876,
   "min_gradient_pct": -7.533876543022501
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 22.18048471707453,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1939.0,
   "end_distance_m": 2039.0,
   "start_elevation_m": 198.0384832488874,
   "end_elevation_m": 220.21896796596192,
   "min_gradient_pct": -6.982573491853543
  }
 ],
 "shape": {
  "ascent_concentration": 0.361,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 797.0,
  "shape_class": "sustained"
 },
 "length_m": 2299.3964202257625,
 "start_elevation_m": 4.742693561194111,
 "end_elevation_m": 255.73029481418882,
 "endpoint_gain_m": 250.98760125299472,
 "overall_gradient_pct": 10.915368878775235,
 "accumulated_ascent_m": 258.97244277885255,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 26.25357369127812,
   "start_distance_m": 1992.0,
   "end_distance_m": 1997.0,
   "midpoint_distance_m": 1994.5,
   "start_elevation_m": 209.61569244572442,
   "end_elevation_m": 210.92837113028833,
   "start_xy": [
    1243173.0299492767,
    4827216.481076347
   ],
   "end_xy": [
    1243171.59646149,
    4827211.694825868
   ]
  },
  "max_10m": {
   "gradient_pct": 25.795902431339357,
   "start_distance_m": 1992.0,
   "end_distance_m": 2002.0,
   "midpoint_distance_m": 1997.0,
   "start_elevation_m": 209.61569244572442,
   "end_elevation_m": 212.19528268885836,
   "start_xy": [
    1243173.0299492767,
    4827216.481076347
   ],
   "end_xy": [
    1243169.4744443991,
    4827207.1674598055
   ]
  },
  "max_20m": {
   "gradient_pct": 25.496281308529234,
   "start_distance_m": 1982.0,
   "end_distance_m": 2002.0,
   "midpoint_distance_m": 1992.0,
   "start_elevation_m": 207.0960264271525,
   "end_elevation_m": 212.19528268885836,
   "start_xy": [
    1243174.8414156497,
    4827226.277603
   ],
   "end_xy": [
    1243169.4744443991,
    4827207.1674598055
   ]
  },
  "max_25m": {
   "gradient_pct": 25.3482178796919,
   "start_distance_m": 1982.0,
   "end_distance_m": 2007.0,
   "midpoint_distance_m": 1994.5,
   "start_elevation_m": 207.0960264271525,
   "end_elevation_m": 213.43308089707548,
   "start_xy": [
    1243174.8414156497,
    4827226.277603
   ],
   "end_xy": [
    1243167.3309541456,
    4827202.65161453
   ]
  },
  "max_50m": {
   "gradient_pct": 24.386105763084743,
   "start_distance_m": 1967.0,
   "end_distance_m": 2017.0,
   "midpoint_distance_m": 1992.0,
   "start_elevation_m": 203.6203181935564,
   "end_elevation_m": 215.81337107509876,
   "start_xy": [
    1243172.2187558627,
    4827240.8864095975
   ],
   "end_xy": [
    1243162.1333752475,
    4827194.108478478
   ]
  },
  "max_100m": {
   "gradient_pct": 22.18048471707453,
   "start_distance_m": 1939.0,
   "end_distance_m": 2039.0,
   "midpoint_distance_m": 1989.0,
   "start_elevation_m": 198.0384832488874,
   "end_elevation_m": 220.21896796596192,
   "start_xy": [
    1243155.526775553,
    4827263.245555791
   ],
   "end_xy": [
    1243145.700104609,
    4827179.633933195
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -9.043828660286977,
   "start_distance_m": 529.0,
   "end_distance_m": 534.0,
   "midpoint_distance_m": 531.5,
   "start_elevation_m": 42.90861463027808,
   "end_elevation_m": 42.45642319726373,
   "start_xy": [
    1243203.3210346852,
    4828311.989244176
   ],
   "end_xy": [
    1243204.386325162,
    4828307.104046513
   ]
  },
  "min_10m": {
   "gradient_pct": -8.490658871069812,
   "start_distance_m": 479.0,
   "end_distance_m": 489.0,
   "midpoint_distance_m": 484.0,
   "start_elevation_m": 46.586601013698846,
   "end_elevation_m": 45.737535126591865,
   "start_xy": [
    1243192.6681299177,
    4828360.8412208
   ],
   "end_xy": [
    1243194.7987108713,
    4828351.070825475
   ]
  },
  "min_20m": {
   "gradient_pct": -8.169519575873032,
   "start_distance_m": 479.0,
   "end_distance_m": 499.0,
   "midpoint_distance_m": 489.0,
   "start_elevation_m": 46.586601013698846,
   "end_elevation_m": 44.95269709852424,
   "start_xy": [
    1243192.6681299177,
    4828360.8412208
   ],
   "end_xy": [
    1243196.9292918246,
    4828341.30043015
   ]
  },
  "min_25m": {
   "gradient_pct": -8.116541157772446,
   "start_distance_m": 479.0,
   "end_distance_m": 504.0,
   "midpoint_distance_m": 491.5,
   "start_elevation_m": 46.586601013698846,
   "end_elevation_m": 44.557465724255735,
   "start_xy": [
    1243192.6681299177,
    4828360.8412208
   ],
   "end_xy": [
    1243197.9945823015,
    4828336.415232488
   ]
  },
  "min_50m": {
   "gradient_pct": -7.533876543022501,
   "start_distance_m": 473.0,
   "end_distance_m": 523.0,
   "midpoint_distance_m": 498.0,
   "start_elevation_m": 47.03475310427273,
   "end_elevation_m": 43.26781483276148,
   "start_xy": [
    1243191.3897813456,
    4828366.703457994
   ],
   "end_xy": [
    1243202.0426861132,
    4828317.851481371
   ]
  },
  "min_100m": {
   "gradient_pct": -6.982573491853543,
   "start_distance_m": 467.0,
   "end_distance_m": 567.0,
   "midpoint_distance_m": 517.0,
   "start_elevation_m": 47.33644251895492,
   "end_elevation_m": 40.353869027101375,
   "start_xy": [
    1243190.1114327735,
    4828372.565695189
   ],
   "end_xy": [
    1243211.4172423084,
    4828274.861741942
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 27.680292084225755,
   "start_distance_m": 2000.0,
   "end_distance_m": 2002.0,
   "midpoint_distance_m": 2001.0,
   "start_elevation_m": 211.64167684717384,
   "end_elevation_m": 212.19528268885836,
   "start_xy": [
    1243170.3232512353,
    4827208.97840623
   ],
   "end_xy": [
    1243169.4744443991,
    4827207.1674598055
   ]
  },
  "max_3m": {
   "gradient_pct": 26.696033341791765,
   "start_distance_m": 1994.0,
   "end_distance_m": 1997.0,
   "midpoint_distance_m": 1995.5,
   "start_elevation_m": 210.12749013003457,
   "end_elevation_m": 210.92837113028833,
   "start_xy": [
    1243172.475345653,
    4827214.559510626
   ],
   "end_xy": [
    1243171.59646149,
    4827211.694825868
   ]
  }
 },
 "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.0,
   "obstruction_max_height_m": 0.16,
   "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-s1",
   "road_pbf": "block-batch-nz-s1.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/CH10.tiff"
  ],
  "calculated_at": "2026-09-28T05:14:09+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-s1.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-s1",
  "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": [
   "CH10"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 4,
  "carriageway": {
   "stations": 98,
   "stations_resolved": 98,
   "width_median_m": 7.0,
   "width_p10_m": 5.43,
   "width_min_m": 3.75,
   "width_max_m": 12.0,
   "bounded_share": 0.01,
   "unbounded_share": 0.99,
   "confidence_median": 0.0,
   "width_median_bounded_m": 5.75,
   "window_m": [
    1982.0,
    2007.0
   ],
   "width_at_max25_m": 8.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": 98,
    "stations_resolved": 98,
    "width_median_m": 10.25,
    "width_p10_m": 8.0,
    "width_min_m": 5.0,
    "width_max_m": 12.0,
    "bounded_share": 0.398,
    "unbounded_share": 0.602,
    "confidence_median": 0.0,
    "width_median_bounded_m": 9.0,
    "window_m": [
     1982.0,
     2007.0
    ],
    "width_at_max25_m": 10.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": "Southland",
  "county": "Southland",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}