{
 "ocl_version": "0.1.0",
 "name": "Porterfield Street",
 "slug": "porterfield-street",
 "confidence": "A",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 25.15378035770155,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 123.0,
   "end_distance_m": 125.0,
   "start_elevation_m": 21.821084161140416,
   "end_elevation_m": 22.324159768294447,
   "min_gradient_pct": 3.776307887108632
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 24.590684241825755,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 129.0,
   "end_distance_m": 132.0,
   "start_elevation_m": 23.244825452503697,
   "end_elevation_m": 23.98254597975847,
   "min_gradient_pct": 3.7902510367597695
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 24.40498325554941,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 127.0,
   "end_distance_m": 132.0,
   "start_elevation_m": 22.762296816981,
   "end_elevation_m": 23.98254597975847,
   "min_gradient_pct": 4.008747376076318
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 23.991815952949835,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 123.0,
   "end_distance_m": 133.0,
   "start_elevation_m": 21.821084161140416,
   "end_elevation_m": 24.2202657564354,
   "min_gradient_pct": 5.859963600724378
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 23.49429805110045,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 115.0,
   "end_distance_m": 135.0,
   "start_elevation_m": 19.98308588871045,
   "end_elevation_m": 24.68194549893054,
   "min_gradient_pct": 8.957065506106606
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 23.321629597021314,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 112.0,
   "end_distance_m": 137.0,
   "start_elevation_m": 19.301644832821903,
   "end_elevation_m": 25.132052232077232,
   "min_gradient_pct": 9.645320772870663
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 22.812946644679577,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 100.0,
   "end_distance_m": 150.0,
   "start_elevation_m": 16.61998750141396,
   "end_elevation_m": 28.026460823753748,
   "min_gradient_pct": 11.663895665274321
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 21.342122488748704,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 85.0,
   "end_distance_m": 185.0,
   "start_elevation_m": 13.720432627818594,
   "end_elevation_m": 35.0625551165673,
   "min_gradient_pct": 14.250667988402107
  }
 ],
 "shape": {
  "ascent_concentration": 0.326,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 363.0,
  "shape_class": "sustained"
 },
 "length_m": 368.7504594297583,
 "start_elevation_m": 1.9196514281421462,
 "end_elevation_m": 63.133814867722116,
 "endpoint_gain_m": 61.21416343957997,
 "overall_gradient_pct": 16.60043041959664,
 "accumulated_ascent_m": 61.21416343957997,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 24.40498325554941,
   "start_distance_m": 127.0,
   "end_distance_m": 132.0,
   "midpoint_distance_m": 129.5,
   "start_elevation_m": 22.762296816981,
   "end_elevation_m": 23.98254597975847,
   "start_xy": [
    1413632.7604443259,
    4918131.194101515
   ],
   "end_xy": [
    1413637.7234485277,
    4918130.586985964
   ]
  },
  "max_10m": {
   "gradient_pct": 23.991815952949835,
   "start_distance_m": 123.0,
   "end_distance_m": 133.0,
   "midpoint_distance_m": 128.0,
   "start_elevation_m": 21.821084161140416,
   "end_elevation_m": 24.2202657564354,
   "start_xy": [
    1413628.7900409645,
    4918131.679793956
   ],
   "end_xy": [
    1413638.7160493683,
    4918130.465562854
   ]
  },
  "max_20m": {
   "gradient_pct": 23.49429805110045,
   "start_distance_m": 115.0,
   "end_distance_m": 135.0,
   "midpoint_distance_m": 125.0,
   "start_elevation_m": 19.98308588871045,
   "end_elevation_m": 24.68194549893054,
   "start_xy": [
    1413620.8492342413,
    4918132.651178838
   ],
   "end_xy": [
    1413640.712290034,
    4918130.343636852
   ]
  },
  "max_25m": {
   "gradient_pct": 23.321629597021314,
   "start_distance_m": 112.0,
   "end_distance_m": 137.0,
   "midpoint_distance_m": 124.5,
   "start_elevation_m": 19.301644832821903,
   "end_elevation_m": 25.132052232077232,
   "start_xy": [
    1413617.8714317202,
    4918133.015448168
   ],
   "end_xy": [
    1413642.7086484411,
    4918130.2230005795
   ]
  },
  "max_50m": {
   "gradient_pct": 22.812946644679577,
   "start_distance_m": 100.0,
   "end_distance_m": 150.0,
   "midpoint_distance_m": 125.0,
   "start_elevation_m": 16.61998750141396,
   "end_elevation_m": 28.026460823753748,
   "start_xy": [
    1413606.0047912768,
    4918134.789229156
   ],
   "end_xy": [
    1413655.6849780877,
    4918129.438864813
   ]
  },
  "max_100m": {
   "gradient_pct": 21.342122488748704,
   "start_distance_m": 85.0,
   "end_distance_m": 185.0,
   "midpoint_distance_m": 135.0,
   "start_elevation_m": 13.720432627818594,
   "end_elevation_m": 35.0625551165673,
   "start_xy": [
    1413591.1913956616,
    4918137.147896226
   ],
   "end_xy": [
    1413690.4250854838,
    4918125.337803377
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": 4.008747376076318,
   "start_distance_m": 0.0,
   "end_distance_m": 5.0,
   "midpoint_distance_m": 2.5,
   "start_elevation_m": 1.9196514281421462,
   "end_elevation_m": 2.120088796945962,
   "start_xy": [
    1413508.93,
    4918142.502
   ],
   "end_xy": [
    1413512.9776659764,
    4918145.437370529
   ]
  },
  "min_10m": {
   "gradient_pct": 5.859963600724378,
   "start_distance_m": 0.0,
   "end_distance_m": 10.0,
   "midpoint_distance_m": 5.0,
   "start_elevation_m": 1.9196514281421462,
   "end_elevation_m": 2.505647788214584,
   "start_xy": [
    1413508.93,
    4918142.502
   ],
   "end_xy": [
    1413517.3093169855,
    4918147.894908928
   ]
  },
  "min_20m": {
   "gradient_pct": 8.957065506106606,
   "start_distance_m": 0.0,
   "end_distance_m": 20.0,
   "midpoint_distance_m": 10.0,
   "start_elevation_m": 1.9196514281421462,
   "end_elevation_m": 3.711064529363467,
   "start_xy": [
    1413508.93,
    4918142.502
   ],
   "end_xy": [
    1413527.2488804357,
    4918148.68182528
   ]
  },
  "min_25m": {
   "gradient_pct": 9.645320772870663,
   "start_distance_m": 0.0,
   "end_distance_m": 25.0,
   "midpoint_distance_m": 12.5,
   "start_elevation_m": 1.9196514281421462,
   "end_elevation_m": 4.330981621359812,
   "start_xy": [
    1413508.93,
    4918142.502
   ],
   "end_xy": [
    1413532.2183135818,
    4918148.129833607
   ]
  },
  "min_50m": {
   "gradient_pct": 11.663895665274321,
   "start_distance_m": 0.0,
   "end_distance_m": 50.0,
   "midpoint_distance_m": 25.0,
   "start_elevation_m": 1.9196514281421462,
   "end_elevation_m": 7.751599260779306,
   "start_xy": [
    1413508.93,
    4918142.502
   ],
   "end_xy": [
    1413556.8008694565,
    4918143.635333126
   ]
  },
  "min_100m": {
   "gradient_pct": 14.250667988402107,
   "start_distance_m": 185.0,
   "end_distance_m": 285.0,
   "midpoint_distance_m": 235.0,
   "start_elevation_m": 35.0625551165673,
   "end_elevation_m": 49.31322310496941,
   "start_xy": [
    1413690.4250854838,
    4918125.337803377
   ],
   "end_xy": [
    1413789.7574759023,
    4918113.843941403
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 25.15378035770155,
   "start_distance_m": 123.0,
   "end_distance_m": 125.0,
   "midpoint_distance_m": 124.0,
   "start_elevation_m": 21.821084161140416,
   "end_elevation_m": 22.324159768294447,
   "start_xy": [
    1413628.7900409645,
    4918131.679793956
   ],
   "end_xy": [
    1413630.775242645,
    4918131.436947736
   ]
  },
  "max_3m": {
   "gradient_pct": 24.590684241825755,
   "start_distance_m": 129.0,
   "end_distance_m": 132.0,
   "midpoint_distance_m": 130.5,
   "start_elevation_m": 23.244825452503697,
   "end_elevation_m": 23.98254597975847,
   "start_xy": [
    1413634.7456460067,
    4918130.951255295
   ],
   "end_xy": [
    1413637.7234485277,
    4918130.586985964
   ]
  }
 },
 "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.03,
   "obstruction_max_height_m": 12.79,
   "flagged_windows_m": []
  },
  "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-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:24:38+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": 1,
  "carriageway": {
   "stations": 21,
   "stations_resolved": 21,
   "width_median_m": 6.5,
   "width_p10_m": 5.0,
   "width_min_m": 4.5,
   "width_max_m": 12.0,
   "bounded_share": 0.048,
   "unbounded_share": 0.952,
   "confidence_median": 0.0,
   "width_median_bounded_m": 7.25,
   "window_m": [
    112.0,
    137.0
   ],
   "width_at_max25_m": 6.25,
   "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": 21,
    "stations_resolved": 21,
    "width_median_m": 7.5,
    "width_p10_m": 3.5,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.714,
    "unbounded_share": 0.286,
    "confidence_median": 1.0,
    "width_median_bounded_m": 6.75,
    "window_m": [
     112.0,
     137.0
    ],
    "width_at_max25_m": 7.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)"
 }
}