{
 "ocl_version": "0.1.0",
 "name": "Malaghan Street",
 "slug": "malaghan-street",
 "confidence": "A",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 34.64187766638247,
   "diagnostic": true,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 0.0,
   "end_distance_m": 2.0,
   "start_elevation_m": 328.79112755918806,
   "end_elevation_m": 329.4839651125157,
   "min_gradient_pct": 5.616656094846917
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 32.380503421152675,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 211.0,
   "end_distance_m": 214.0,
   "start_elevation_m": 377.95589046420855,
   "end_elevation_m": 378.92730556684313,
   "min_gradient_pct": 6.106697453600418
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 31.881608749497445,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 211.0,
   "end_distance_m": 216.0,
   "start_elevation_m": 377.95589046420855,
   "end_elevation_m": 379.5499709016834,
   "min_gradient_pct": 6.0261017137577255
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 30.380701134765786,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 207.0,
   "end_distance_m": 217.0,
   "start_elevation_m": 376.7689088448449,
   "end_elevation_m": 379.80697895832145,
   "min_gradient_pct": 7.197133721840032
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 29.112634888348907,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 200.0,
   "end_distance_m": 220.0,
   "start_elevation_m": 374.83963931687754,
   "end_elevation_m": 380.6621662945473,
   "min_gradient_pct": 9.7469939018859
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 28.73236769355549,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 196.0,
   "end_distance_m": 221.0,
   "start_elevation_m": 373.75525531296705,
   "end_elevation_m": 380.9383472363559,
   "min_gradient_pct": 11.091544852131847
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 28.18202225005041,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 169.0,
   "end_distance_m": 219.0,
   "start_elevation_m": 366.31803335075756,
   "end_elevation_m": 380.40904447578276,
   "min_gradient_pct": 15.306455675820416
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 26.430244942552637,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 126.0,
   "end_distance_m": 226.0,
   "start_elevation_m": 355.74452292544686,
   "end_elevation_m": 382.1747678679995,
   "min_gradient_pct": 19.42136561594117
  }
 ],
 "shape": {
  "ascent_concentration": 0.299,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 119.0,
  "shape_class": "sustained"
 },
 "length_m": 226.79811465267701,
 "start_elevation_m": 328.79112755918806,
 "end_elevation_m": 382.36897715157613,
 "endpoint_gain_m": 53.57784959238808,
 "overall_gradient_pct": 23.623586851433146,
 "accumulated_ascent_m": 53.57784959238808,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 31.881608749497445,
   "start_distance_m": 211.0,
   "end_distance_m": 216.0,
   "midpoint_distance_m": 213.5,
   "start_elevation_m": 377.95589046420855,
   "end_elevation_m": 379.5499709016834,
   "start_xy": [
    1258507.8037409254,
    5004727.491868783
   ],
   "end_xy": [
    1258511.2403089316,
    5004731.123672789
   ]
  },
  "max_10m": {
   "gradient_pct": 30.380701134765786,
   "start_distance_m": 207.0,
   "end_distance_m": 217.0,
   "midpoint_distance_m": 212.0,
   "start_elevation_m": 376.7689088448449,
   "end_elevation_m": 379.80697895832145,
   "start_xy": [
    1258505.0544865206,
    5004724.586425578
   ],
   "end_xy": [
    1258511.9276225327,
    5004731.850033591
   ]
  },
  "max_20m": {
   "gradient_pct": 29.112634888348907,
   "start_distance_m": 200.0,
   "end_distance_m": 220.0,
   "midpoint_distance_m": 210.0,
   "start_elevation_m": 374.83963931687754,
   "end_elevation_m": 380.6621662945473,
   "start_xy": [
    1258500.243291312,
    5004719.50189997
   ],
   "end_xy": [
    1258513.9895633366,
    5004734.029115994
   ]
  },
  "max_25m": {
   "gradient_pct": 28.73236769355549,
   "start_distance_m": 196.0,
   "end_distance_m": 221.0,
   "midpoint_distance_m": 208.5,
   "start_elevation_m": 373.75525531296705,
   "end_elevation_m": 380.9383472363559,
   "start_xy": [
    1258497.4940369069,
    5004716.596456764
   ],
   "end_xy": [
    1258514.6768769377,
    5004734.755476795
   ]
  },
  "max_50m": {
   "gradient_pct": 28.18202225005041,
   "start_distance_m": 169.0,
   "end_distance_m": 219.0,
   "midpoint_distance_m": 194.0,
   "start_elevation_m": 366.31803335075756,
   "end_elevation_m": 380.40904447578276,
   "start_xy": [
    1258478.9365696737,
    5004696.984715131
   ],
   "end_xy": [
    1258513.3022497352,
    5004733.302755193
   ]
  },
  "max_100m": {
   "gradient_pct": 26.430244942552637,
   "start_distance_m": 126.0,
   "end_distance_m": 226.0,
   "midpoint_distance_m": 176.0,
   "start_elevation_m": 355.74452292544686,
   "end_elevation_m": 382.1747678679995,
   "start_xy": [
    1258449.382084821,
    5004665.751200679
   ],
   "end_xy": [
    1258518.113444944,
    5004738.387280801
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": 6.0261017137577255,
   "start_distance_m": 103.0,
   "end_distance_m": 108.0,
   "midpoint_distance_m": 105.5,
   "start_elevation_m": 353.0128716691046,
   "end_elevation_m": 353.31417675479247,
   "start_xy": [
    1258433.2349066762,
    5004649.4708985025
   ],
   "end_xy": [
    1258436.9512206581,
    5004652.742419731
   ]
  },
  "min_10m": {
   "gradient_pct": 7.197133721840032,
   "start_distance_m": 102.0,
   "end_distance_m": 112.0,
   "midpoint_distance_m": 107.0,
   "start_elevation_m": 352.9279625148616,
   "end_elevation_m": 353.6476758870456,
   "start_xy": [
    1258432.7020990502,
    5004648.62466211
   ],
   "end_xy": [
    1258439.7596944035,
    5004655.582149461
   ]
  },
  "min_20m": {
   "gradient_pct": 9.7469939018859,
   "start_distance_m": 98.0,
   "end_distance_m": 118.0,
   "midpoint_distance_m": 108.0,
   "start_elevation_m": 352.46963539279386,
   "end_elevation_m": 354.41903417317104,
   "start_xy": [
    1258430.4140649827,
    5004645.356239342
   ],
   "end_xy": [
    1258443.883576011,
    5004659.940314269
   ]
  },
  "min_25m": {
   "gradient_pct": 11.091544852131847,
   "start_distance_m": 96.0,
   "end_distance_m": 121.0,
   "midpoint_distance_m": 108.5,
   "start_elevation_m": 352.1222796262058,
   "end_elevation_m": 354.89516583923876,
   "start_xy": [
    1258429.1009538285,
    5004643.847684041
   ],
   "end_xy": [
    1258445.9455168147,
    5004662.119396673
   ]
  },
  "min_50m": {
   "gradient_pct": 15.306455675820416,
   "start_distance_m": 87.0,
   "end_distance_m": 137.0,
   "midpoint_distance_m": 112.0,
   "start_elevation_m": 350.43100484425247,
   "end_elevation_m": 358.0842326821627,
   "start_xy": [
    1258423.1919536346,
    5004637.0591851855
   ],
   "end_xy": [
    1258456.9425344344,
    5004673.741169492
   ]
  },
  "min_100m": {
   "gradient_pct": 19.42136561594117,
   "start_distance_m": 41.0,
   "end_distance_m": 141.0,
   "midpoint_distance_m": 91.0,
   "start_elevation_m": 339.60501623211104,
   "end_elevation_m": 359.0263818480522,
   "start_xy": [
    1258393.6095782379,
    5004601.847848567
   ],
   "end_xy": [
    1258459.6917888394,
    5004676.646612697
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 34.64187766638247,
   "start_distance_m": 0.0,
   "end_distance_m": 2.0,
   "midpoint_distance_m": 1.0,
   "start_elevation_m": 328.79112755918806,
   "end_elevation_m": 329.4839651125157,
   "start_xy": [
    1258367.27,
    5004570.487
   ],
   "end_xy": [
    1258368.697610333,
    5004571.887688665
   ]
  },
  "max_3m": {
   "gradient_pct": 32.380503421152675,
   "start_distance_m": 211.0,
   "end_distance_m": 214.0,
   "midpoint_distance_m": 212.5,
   "start_elevation_m": 377.95589046420855,
   "end_elevation_m": 378.92730556684313,
   "start_xy": [
    1258507.8037409254,
    5004727.491868783
   ],
   "end_xy": [
    1258509.865681729,
    5004729.670951187
   ]
  }
 },
 "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.026,
   "obstruction_max_height_m": 15.1,
   "flagged_windows_m": [
    2
   ]
  },
  "review": [],
  "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-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/CC11.tiff"
  ],
  "calculated_at": "2026-09-28T05:17:36+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": [
   "CC11"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "carriageway": {
   "stations": 16,
   "stations_resolved": 16,
   "width_median_m": 7.5,
   "width_p10_m": 5.88,
   "width_min_m": 5.0,
   "width_max_m": 12.0,
   "bounded_share": 0.125,
   "unbounded_share": 0.875,
   "confidence_median": 0.0,
   "width_median_bounded_m": 6.25,
   "window_m": [
    196.0,
    221.0
   ],
   "width_at_max25_m": 7.5,
   "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": 16,
    "stations_resolved": 16,
    "width_median_m": 9.38,
    "width_p10_m": 5.75,
    "width_min_m": 1.25,
    "width_max_m": 12.0,
    "bounded_share": 0.438,
    "unbounded_share": 0.562,
    "confidence_median": 0.0,
    "width_median_bounded_m": 7.25,
    "window_m": [
     196.0,
     221.0
    ],
    "width_at_max25_m": 10.25,
    "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)"
 }
}