{
 "ocl_version": "0.1.0",
 "name": "Stafford Street",
 "slug": "stafford-street",
 "confidence": "A",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 22.83407600766907,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 609.0,
   "end_distance_m": 611.0,
   "start_elevation_m": 60.55089315823814,
   "end_elevation_m": 61.00757467839152,
   "min_gradient_pct": -0.3923761227220268
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 22.428630767448965,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 605.0,
   "end_distance_m": 608.0,
   "start_elevation_m": 59.68185275273671,
   "end_elevation_m": 60.35471167576018,
   "min_gradient_pct": -0.09531689723634902
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 22.157228510294686,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 602.0,
   "end_distance_m": 607.0,
   "start_elevation_m": 59.02291072912262,
   "end_elevation_m": 60.130772154637356,
   "min_gradient_pct": 0.04151841395383826
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 21.90320024528127,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 602.0,
   "end_distance_m": 612.0,
   "start_elevation_m": 59.02291072912262,
   "end_elevation_m": 61.21323075365075,
   "min_gradient_pct": 0.28193557285618454
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 21.725024013185745,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 592.0,
   "end_distance_m": 612.0,
   "start_elevation_m": 56.8682259510136,
   "end_elevation_m": 61.21323075365075,
   "min_gradient_pct": 1.0061741794847023
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 21.648709615377637,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 588.0,
   "end_distance_m": 613.0,
   "start_elevation_m": 56.02554552755658,
   "end_elevation_m": 61.43772293140099,
   "min_gradient_pct": 0.9052883541498886
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 21.249145190898474,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 573.0,
   "end_distance_m": 623.0,
   "start_elevation_m": 52.92039706291407,
   "end_elevation_m": 63.54496965836331,
   "min_gradient_pct": 1.4575961310705452
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 19.27091001033306,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 539.0,
   "end_distance_m": 639.0,
   "start_elevation_m": 46.80108797894332,
   "end_elevation_m": 66.07199798927638,
   "min_gradient_pct": 2.125901516716155
  }
 ],
 "shape": {
  "ascent_concentration": 0.355,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 112.0,
  "shape_class": "sustained"
 },
 "length_m": 1663.1011080748144,
 "start_elevation_m": 3.2594082845662617,
 "end_elevation_m": 137.8056680485103,
 "endpoint_gain_m": 134.54625976394405,
 "overall_gradient_pct": 8.090082984773737,
 "accumulated_ascent_m": 134.61381799943365,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 22.157228510294686,
   "start_distance_m": 602.0,
   "end_distance_m": 607.0,
   "midpoint_distance_m": 604.5,
   "start_elevation_m": 59.02291072912262,
   "end_elevation_m": 60.130772154637356,
   "start_xy": [
    1405417.1702627318,
    4915970.455179025
   ],
   "end_xy": [
    1405415.024899138,
    4915974.971528774
   ]
  },
  "max_10m": {
   "gradient_pct": 21.90320024528127,
   "start_distance_m": 602.0,
   "end_distance_m": 612.0,
   "midpoint_distance_m": 607.0,
   "start_elevation_m": 59.02291072912262,
   "end_elevation_m": 61.21323075365075,
   "start_xy": [
    1405417.1702627318,
    4915970.455179025
   ],
   "end_xy": [
    1405412.8795355437,
    4915979.487878523
   ]
  },
  "max_20m": {
   "gradient_pct": 21.725024013185745,
   "start_distance_m": 592.0,
   "end_distance_m": 612.0,
   "midpoint_distance_m": 602.0,
   "start_elevation_m": 56.8682259510136,
   "end_elevation_m": 61.21323075365075,
   "start_xy": [
    1405421.46098992,
    4915961.422479529
   ],
   "end_xy": [
    1405412.8795355437,
    4915979.487878523
   ]
  },
  "max_25m": {
   "gradient_pct": 21.648709615377637,
   "start_distance_m": 588.0,
   "end_distance_m": 613.0,
   "midpoint_distance_m": 600.5,
   "start_elevation_m": 56.02554552755658,
   "end_elevation_m": 61.43772293140099,
   "start_xy": [
    1405423.1772807953,
    4915957.8093997305
   ],
   "end_xy": [
    1405412.450462825,
    4915980.391148472
   ]
  },
  "max_50m": {
   "gradient_pct": 21.249145190898474,
   "start_distance_m": 573.0,
   "end_distance_m": 623.0,
   "midpoint_distance_m": 598.0,
   "start_elevation_m": 52.92039706291407,
   "end_elevation_m": 63.54496965836331,
   "start_xy": [
    1405429.6133715773,
    4915944.260350485
   ],
   "end_xy": [
    1405408.159735637,
    4915989.423847969
   ]
  },
  "max_100m": {
   "gradient_pct": 19.27091001033306,
   "start_distance_m": 539.0,
   "end_distance_m": 639.0,
   "midpoint_distance_m": 589.0,
   "start_elevation_m": 46.80108797894332,
   "end_elevation_m": 66.07199798927638,
   "start_xy": [
    1405444.2018440168,
    4915913.549172197
   ],
   "end_xy": [
    1405401.294266089,
    4916003.876021732
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": 0.04151841395383826,
   "start_distance_m": 778.0,
   "end_distance_m": 783.0,
   "midpoint_distance_m": 780.5,
   "start_elevation_m": 70.50370606473643,
   "end_elevation_m": 70.50578198543413,
   "start_xy": [
    1405300.7748914436,
    4915927.857813491
   ],
   "end_xy": [
    1405301.1699850294,
    4915922.875425587
   ]
  },
  "min_10m": {
   "gradient_pct": 0.28193557285618454,
   "start_distance_m": 774.0,
   "end_distance_m": 784.0,
   "midpoint_distance_m": 779.0,
   "start_elevation_m": 70.48035951318042,
   "end_elevation_m": 70.50855307046604,
   "start_xy": [
    1405301.7921323797,
    4915931.726304266
   ],
   "end_xy": [
    1405301.2513509947,
    4915921.878741295
   ]
  },
  "min_20m": {
   "gradient_pct": 1.0061741794847023,
   "start_distance_m": 768.0,
   "end_distance_m": 788.0,
   "midpoint_distance_m": 778.0,
   "start_elevation_m": 70.37063208150474,
   "end_elevation_m": 70.57186691740168,
   "start_xy": [
    1405304.5130835536,
    4915937.015444222
   ],
   "end_xy": [
    1405301.5768148554,
    4915917.892004123
   ]
  },
  "min_25m": {
   "gradient_pct": 0.9052883541498886,
   "start_distance_m": 759.0,
   "end_distance_m": 784.0,
   "midpoint_distance_m": 771.5,
   "start_elevation_m": 70.28223098192856,
   "end_elevation_m": 70.50855307046604,
   "start_xy": [
    1405309.2528857556,
    4915944.6662137965
   ],
   "end_xy": [
    1405301.2513509947,
    4915921.878741295
   ]
  },
  "min_50m": {
   "gradient_pct": 1.4575961310705452,
   "start_distance_m": 740.0,
   "end_distance_m": 790.0,
   "midpoint_distance_m": 765.0,
   "start_elevation_m": 69.90124969030076,
   "end_elevation_m": 70.63004775583603,
   "start_xy": [
    1405324.809276305,
    4915955.223100613
   ],
   "end_xy": [
    1405302.0243333855,
    4915915.946271578
   ]
  },
  "min_100m": {
   "gradient_pct": 2.125901516716155,
   "start_distance_m": 690.0,
   "end_distance_m": 790.0,
   "midpoint_distance_m": 740.0,
   "start_elevation_m": 68.50414623911988,
   "end_elevation_m": 70.63004775583603,
   "start_xy": [
    1405367.227869467,
    4915980.71564897
   ],
   "end_xy": [
    1405302.0243333855,
    4915915.946271578
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 22.83407600766907,
   "start_distance_m": 609.0,
   "end_distance_m": 611.0,
   "midpoint_distance_m": 610.0,
   "start_elevation_m": 60.55089315823814,
   "end_elevation_m": 61.00757467839152,
   "start_xy": [
    1405414.1667537002,
    4915976.778068674
   ],
   "end_xy": [
    1405413.3086082626,
    4915978.584608573
   ]
  },
  "max_3m": {
   "gradient_pct": 22.428630767448965,
   "start_distance_m": 605.0,
   "end_distance_m": 608.0,
   "midpoint_distance_m": 606.5,
   "start_elevation_m": 59.68185275273671,
   "end_elevation_m": 60.35471167576018,
   "start_xy": [
    1405415.8830445753,
    4915973.164988874
   ],
   "end_xy": [
    1405414.595826419,
    4915975.8747987235
   ]
  }
 },
 "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.004,
   "obstruction_max_height_m": 7.52,
   "flagged_windows_m": []
  },
  "review": [],
  "extent": []
 },
 "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-s2",
   "road_pbf": "block-batch-nz-s2.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:996c8a61eaf9687f"
  },
  "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/CE17.tiff"
  ],
  "calculated_at": "2026-09-28T05:32:25+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-s2.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-s2",
  "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": [
   "CE17"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 8,
  "carriageway": {
   "stations": 73,
   "stations_resolved": 73,
   "width_median_m": 9.0,
   "width_p10_m": 7.0,
   "width_min_m": 5.5,
   "width_max_m": 12.0,
   "bounded_share": 0.014,
   "unbounded_share": 0.986,
   "confidence_median": 0.0,
   "width_median_bounded_m": 8.0,
   "window_m": [
    588.0,
    613.0
   ],
   "width_at_max25_m": 8.0,
   "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": 73,
    "stations_resolved": 73,
    "width_median_m": 11.25,
    "width_p10_m": 8.05,
    "width_min_m": 1.0,
    "width_max_m": 12.0,
    "bounded_share": 0.205,
    "unbounded_share": 0.795,
    "confidence_median": 0.0,
    "width_median_bounded_m": 8.0,
    "window_m": [
     588.0,
     613.0
    ],
    "width_at_max25_m": 12.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": "Otago",
  "county": "Otago",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}