{
 "ocl_version": "0.1.0",
 "name": "Edinburgh Street",
 "slug": "edinburgh-street",
 "confidence": "A",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 23.769005725601744,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 1145.0,
   "end_distance_m": 1147.0,
   "start_elevation_m": 137.01440650255466,
   "end_elevation_m": 137.4897866170667,
   "min_gradient_pct": -10.079744820621528
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 23.33195372787789,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 1145.0,
   "end_distance_m": 1148.0,
   "start_elevation_m": 137.01440650255466,
   "end_elevation_m": 137.714365114391,
   "min_gradient_pct": -9.74770525824861
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 23.0228340433041,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1145.0,
   "end_distance_m": 1150.0,
   "start_elevation_m": 137.01440650255466,
   "end_elevation_m": 138.16554820471987,
   "min_gradient_pct": -8.712315136450286
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 22.773704069607845,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1145.0,
   "end_distance_m": 1155.0,
   "start_elevation_m": 137.01440650255466,
   "end_elevation_m": 139.29177690951545,
   "min_gradient_pct": -7.094077864583852
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 22.4086661630389,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1137.0,
   "end_distance_m": 1157.0,
   "start_elevation_m": 135.25403570743094,
   "end_elevation_m": 139.73576894003872,
   "min_gradient_pct": -5.646222376715784
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 22.342434944575416,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1132.0,
   "end_distance_m": 1157.0,
   "start_elevation_m": 134.15016020389487,
   "end_elevation_m": 139.73576894003872,
   "min_gradient_pct": -5.305156366174344
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 21.27706625378528,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1111.0,
   "end_distance_m": 1161.0,
   "start_elevation_m": 129.94699015504293,
   "end_elevation_m": 140.58552328193556,
   "min_gradient_pct": -4.525959270305179
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 19.587267322145067,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1071.0,
   "end_distance_m": 1171.0,
   "start_elevation_m": 122.8533998572907,
   "end_elevation_m": 142.44066717943576,
   "min_gradient_pct": -3.869003951150802
  }
 ],
 "shape": {
  "ascent_concentration": 0.372,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 347.0,
  "shape_class": "sustained"
 },
 "length_m": 1270.5181727398449,
 "start_elevation_m": 16.53969473826369,
 "end_elevation_m": 154.248736659667,
 "endpoint_gain_m": 137.7090419214033,
 "overall_gradient_pct": 10.838809304430233,
 "accumulated_ascent_m": 143.1285377569151,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 23.0228340433041,
   "start_distance_m": 1145.0,
   "end_distance_m": 1150.0,
   "midpoint_distance_m": 1147.5,
   "start_elevation_m": 137.01440650255466,
   "end_elevation_m": 138.16554820471987,
   "start_xy": [
    1400954.9348063057,
    4912848.760343843
   ],
   "end_xy": [
    1400956.3324128683,
    4912843.991437061
   ]
  },
  "max_10m": {
   "gradient_pct": 22.773704069607845,
   "start_distance_m": 1145.0,
   "end_distance_m": 1155.0,
   "midpoint_distance_m": 1150.0,
   "start_elevation_m": 137.01440650255466,
   "end_elevation_m": 139.29177690951545,
   "start_xy": [
    1400954.9348063057,
    4912848.760343843
   ],
   "end_xy": [
    1400956.2703313783,
    4912839.023995695
   ]
  },
  "max_20m": {
   "gradient_pct": 22.4086661630389,
   "start_distance_m": 1137.0,
   "end_distance_m": 1157.0,
   "midpoint_distance_m": 1147.0,
   "start_elevation_m": 135.25403570743094,
   "end_elevation_m": 139.73576894003872,
   "start_xy": [
    1400951.911491778,
    4912856.166987996
   ],
   "end_xy": [
    1400955.7800288524,
    4912837.10315388
   ]
  },
  "max_25m": {
   "gradient_pct": 22.342434944575416,
   "start_distance_m": 1132.0,
   "end_distance_m": 1157.0,
   "midpoint_distance_m": 1144.5,
   "start_elevation_m": 134.15016020389487,
   "end_elevation_m": 139.73576894003872,
   "start_xy": [
    1400950.0098559184,
    4912860.7912480505
   ],
   "end_xy": [
    1400955.7800288524,
    4912837.10315388
   ]
  },
  "max_50m": {
   "gradient_pct": 21.27706625378528,
   "start_distance_m": 1111.0,
   "end_distance_m": 1161.0,
   "midpoint_distance_m": 1136.0,
   "start_elevation_m": 129.94699015504293,
   "end_elevation_m": 140.58552328193556,
   "start_xy": [
    1400942.0229853084,
    4912880.213140282
   ],
   "end_xy": [
    1400954.2704677999,
    4912833.420002774
   ]
  },
  "max_100m": {
   "gradient_pct": 19.587267322145067,
   "start_distance_m": 1071.0,
   "end_distance_m": 1171.0,
   "midpoint_distance_m": 1121.0,
   "start_elevation_m": 122.8533998572907,
   "end_elevation_m": 142.44066717943576,
   "start_xy": [
    1400926.8098984323,
    4912917.207220724
   ],
   "end_xy": [
    1400947.1154859716,
    4912826.487387087
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -8.712315136450286,
   "start_distance_m": 654.0,
   "end_distance_m": 659.0,
   "midpoint_distance_m": 656.5,
   "start_elevation_m": 65.01864703338029,
   "end_elevation_m": 64.58303127655778,
   "start_xy": [
    1400935.4678743575,
    4913282.777291861
   ],
   "end_xy": [
    1400931.3523225794,
    4913285.585964832
   ]
  },
  "min_10m": {
   "gradient_pct": -7.094077864583852,
   "start_distance_m": 649.0,
   "end_distance_m": 659.0,
   "midpoint_distance_m": 654.0,
   "start_elevation_m": 65.29243906301616,
   "end_elevation_m": 64.58303127655778,
   "start_xy": [
    1400940.1462583817,
    4913281.082136693
   ],
   "end_xy": [
    1400931.3523225794,
    4913285.585964832
   ]
  },
  "min_20m": {
   "gradient_pct": -5.646222376715784,
   "start_distance_m": 639.0,
   "end_distance_m": 659.0,
   "midpoint_distance_m": 649.0,
   "start_elevation_m": 65.71227575190093,
   "end_elevation_m": 64.58303127655778,
   "start_xy": [
    1400949.9851212832,
    4913279.317764451
   ],
   "end_xy": [
    1400931.3523225794,
    4913285.585964832
   ]
  },
  "min_25m": {
   "gradient_pct": -5.305156366174344,
   "start_distance_m": 634.0,
   "end_distance_m": 659.0,
   "midpoint_distance_m": 646.5,
   "start_elevation_m": 65.90932036810136,
   "end_elevation_m": 64.58303127655778,
   "start_xy": [
    1400954.9310040935,
    4913278.597126832
   ],
   "end_xy": [
    1400931.3523225794,
    4913285.585964832
   ]
  },
  "min_50m": {
   "gradient_pct": -4.525959270305179,
   "start_distance_m": 609.0,
   "end_distance_m": 659.0,
   "midpoint_distance_m": 634.0,
   "start_elevation_m": 66.84601091171037,
   "end_elevation_m": 64.58303127655778,
   "start_xy": [
    1400979.8923331364,
    4913277.329849507
   ],
   "end_xy": [
    1400931.3523225794,
    4913285.585964832
   ]
  },
  "min_100m": {
   "gradient_pct": -3.869003951150802,
   "start_distance_m": 560.0,
   "end_distance_m": 660.0,
   "midpoint_distance_m": 610.0,
   "start_elevation_m": 68.43063420701003,
   "end_elevation_m": 64.56163025585923,
   "start_xy": [
    1401028.891871412,
    4913277.542556477
   ],
   "end_xy": [
    1400930.6499833083,
    4913285.64788599
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 23.769005725601744,
   "start_distance_m": 1145.0,
   "end_distance_m": 1147.0,
   "midpoint_distance_m": 1146.0,
   "start_elevation_m": 137.01440650255466,
   "end_elevation_m": 137.4897866170667,
   "start_xy": [
    1400954.9348063057,
    4912848.760343843
   ],
   "end_xy": [
    1400955.67738082,
    4912846.90330774
   ]
  },
  "max_3m": {
   "gradient_pct": 23.33195372787789,
   "start_distance_m": 1145.0,
   "end_distance_m": 1148.0,
   "midpoint_distance_m": 1146.5,
   "start_elevation_m": 137.01440650255466,
   "end_elevation_m": 137.714365114391,
   "start_xy": [
    1400954.9348063057,
    4912848.760343843
   ],
   "end_xy": [
    1400956.0199026582,
    4912845.966870524
   ]
  }
 },
 "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": {
  "structure_suppression": {
   "masked_fraction": 0.017,
   "windows_resited": [],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.013,
   "obstruction_max_height_m": 19.31,
   "flagged_windows_m": []
  },
  "excluded_ranges_m": [
   [
    0.0,
    20.0
   ]
  ],
  "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-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:27:21+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": 5,
  "structure_mask_ranges_m": [
   [
    0.0,
    15.0
   ]
  ],
  "carriageway": {
   "stations": 57,
   "stations_resolved": 57,
   "width_median_m": 7.0,
   "width_p10_m": 3.8,
   "width_min_m": 1.25,
   "width_max_m": 12.0,
   "bounded_share": 0.07,
   "unbounded_share": 0.93,
   "confidence_median": 0.0,
   "width_median_bounded_m": 6.12,
   "window_m": [
    1132.0,
    1157.0
   ],
   "width_at_max25_m": 4.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": 57,
    "stations_resolved": 57,
    "width_median_m": 9.0,
    "width_p10_m": 4.05,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.456,
    "unbounded_share": 0.544,
    "confidence_median": 0.0,
    "width_median_bounded_m": 6.75,
    "window_m": [
     1132.0,
     1157.0
    ],
    "width_at_max25_m": 9.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": "Otago",
  "county": "Otago",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}