{
 "ocl_version": "0.1.0",
 "name": "St Davids Street",
 "slug": "st-davids-street",
 "confidence": "A",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 22.76318345326871,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 1251.0,
   "end_distance_m": 1253.0,
   "start_elevation_m": 135.59587498174875,
   "end_elevation_m": 136.05113865081412,
   "min_gradient_pct": -4.37415961380907
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 22.523629613709772,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 1245.0,
   "end_distance_m": 1248.0,
   "start_elevation_m": 134.25901154532525,
   "end_elevation_m": 134.93472043373654,
   "min_gradient_pct": -3.1774700028393
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 22.392927021201672,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1245.0,
   "end_distance_m": 1250.0,
   "start_elevation_m": 134.25901154532525,
   "end_elevation_m": 135.37865789638533,
   "min_gradient_pct": -2.4616756187023725
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 22.33464093668971,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1245.0,
   "end_distance_m": 1255.0,
   "start_elevation_m": 134.25901154532525,
   "end_elevation_m": 136.49247563899422,
   "min_gradient_pct": -1.818343717221751
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 21.888668649428524,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1242.0,
   "end_distance_m": 1262.0,
   "start_elevation_m": 133.61646344026695,
   "end_elevation_m": 137.99419717015266,
   "min_gradient_pct": -1.670197473039039
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 21.831989792065315,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1245.0,
   "end_distance_m": 1270.0,
   "start_elevation_m": 134.25901154532525,
   "end_elevation_m": 139.71700899334158,
   "min_gradient_pct": -1.6503331411717568
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 21.607106540412246,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1245.0,
   "end_distance_m": 1295.0,
   "start_elevation_m": 134.25901154532525,
   "end_elevation_m": 145.06256481553137,
   "min_gradient_pct": -1.458434760264268
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 21.23840853443443,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1215.0,
   "end_distance_m": 1315.0,
   "start_elevation_m": 128.1837161948713,
   "end_elevation_m": 149.42212472930572,
   "min_gradient_pct": -1.0518409003070488
  }
 ],
 "shape": {
  "ascent_concentration": 0.403,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 334.0,
  "shape_class": "sustained"
 },
 "length_m": 1411.1549277707377,
 "start_elevation_m": 6.888451454575193,
 "end_elevation_m": 162.1839656272695,
 "endpoint_gain_m": 155.29551417269428,
 "overall_gradient_pct": 11.004852204146095,
 "accumulated_ascent_m": 156.7788256812985,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 22.392927021201672,
   "start_distance_m": 1245.0,
   "end_distance_m": 1250.0,
   "midpoint_distance_m": 1247.5,
   "start_elevation_m": 134.25901154532525,
   "end_elevation_m": 135.37865789638533,
   "start_xy": [
    1578002.0579303685,
    5172898.547010898
   ],
   "end_xy": [
    1578003.7272637587,
    5172903.260112427
   ]
  },
  "max_10m": {
   "gradient_pct": 22.33464093668971,
   "start_distance_m": 1245.0,
   "end_distance_m": 1255.0,
   "midpoint_distance_m": 1250.0,
   "start_elevation_m": 134.25901154532525,
   "end_elevation_m": 136.49247563899422,
   "start_xy": [
    1578002.0579303685,
    5172898.547010898
   ],
   "end_xy": [
    1578005.3965971489,
    5172907.973213958
   ]
  },
  "max_20m": {
   "gradient_pct": 21.888668649428524,
   "start_distance_m": 1242.0,
   "end_distance_m": 1262.0,
   "midpoint_distance_m": 1252.0,
   "start_elevation_m": 133.61646344026695,
   "end_elevation_m": 137.99419717015266,
   "start_xy": [
    1578001.0563303344,
    5172895.719149979
   ],
   "end_xy": [
    1578007.733663895,
    5172914.5715561
   ]
  },
  "max_25m": {
   "gradient_pct": 21.831989792065315,
   "start_distance_m": 1245.0,
   "end_distance_m": 1270.0,
   "midpoint_distance_m": 1257.5,
   "start_elevation_m": 134.25901154532525,
   "end_elevation_m": 139.71700899334158,
   "start_xy": [
    1578002.0579303685,
    5172898.547010898
   ],
   "end_xy": [
    1578010.404597319,
    5172922.112518548
   ]
  },
  "max_50m": {
   "gradient_pct": 21.607106540412246,
   "start_distance_m": 1245.0,
   "end_distance_m": 1295.0,
   "midpoint_distance_m": 1270.0,
   "start_elevation_m": 134.25901154532525,
   "end_elevation_m": 145.06256481553137,
   "start_xy": [
    1578002.0579303685,
    5172898.547010898
   ],
   "end_xy": [
    1578018.7512642697,
    5172945.6780261975
   ]
  },
  "max_100m": {
   "gradient_pct": 21.23840853443443,
   "start_distance_m": 1215.0,
   "end_distance_m": 1315.0,
   "midpoint_distance_m": 1265.0,
   "start_elevation_m": 128.1837161948713,
   "end_elevation_m": 149.42212472930572,
   "start_xy": [
    1577992.041930028,
    5172870.268401717
   ],
   "end_xy": [
    1578025.4285654917,
    5172964.53044377
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -2.4616756187023725,
   "start_distance_m": 667.0,
   "end_distance_m": 672.0,
   "midpoint_distance_m": 669.5,
   "start_elevation_m": 48.14267515354268,
   "end_elevation_m": 48.019591372607564,
   "start_xy": [
    1577778.4819981204,
    5172384.442163139
   ],
   "end_xy": [
    1577780.7302885503,
    5172388.907060379
   ]
  },
  "min_10m": {
   "gradient_pct": -1.818343717221751,
   "start_distance_m": 619.0,
   "end_distance_m": 629.0,
   "midpoint_distance_m": 624.0,
   "start_elevation_m": 48.590135495259204,
   "end_elevation_m": 48.40830112353703,
   "start_xy": [
    1577762.75793501,
    5172339.090715099
   ],
   "end_xy": [
    1577766.0337814912,
    5172348.538933441
   ]
  },
  "min_20m": {
   "gradient_pct": -1.670197473039039,
   "start_distance_m": 618.0,
   "end_distance_m": 638.0,
   "midpoint_distance_m": 628.0,
   "start_elevation_m": 48.607043484863084,
   "end_elevation_m": 48.273003990255276,
   "start_xy": [
    1577762.4303503619,
    5172338.145893265
   ],
   "end_xy": [
    1577768.9820433245,
    5172357.042329948
   ]
  },
  "min_25m": {
   "gradient_pct": -1.6503331411717568,
   "start_distance_m": 620.0,
   "end_distance_m": 645.0,
   "midpoint_distance_m": 632.5,
   "start_elevation_m": 48.574350704862596,
   "end_elevation_m": 48.16176741956966,
   "start_xy": [
    1577763.085519658,
    5172340.035536933
   ],
   "end_xy": [
    1577771.2751358615,
    5172363.656082788
   ]
  },
  "min_50m": {
   "gradient_pct": -1.458434760264268,
   "start_distance_m": 596.0,
   "end_distance_m": 646.0,
   "midpoint_distance_m": 621.0,
   "start_elevation_m": 48.885045742191146,
   "end_elevation_m": 48.15582836205901,
   "start_xy": [
    1577757.7067897427,
    5172316.667609858
   ],
   "end_xy": [
    1577771.6027205095,
    5172364.600904621
   ]
  },
  "min_100m": {
   "gradient_pct": -1.0518409003070488,
   "start_distance_m": 563.0,
   "end_distance_m": 663.0,
   "midpoint_distance_m": 613.0,
   "start_elevation_m": 49.14938066420807,
   "end_elevation_m": 48.09753976390102,
   "start_xy": [
    1577751.434376362,
    5172284.338485139
   ],
   "end_xy": [
    1577777.171659528,
    5172380.662875802
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 22.76318345326871,
   "start_distance_m": 1251.0,
   "end_distance_m": 1253.0,
   "midpoint_distance_m": 1252.0,
   "start_elevation_m": 135.59587498174875,
   "end_elevation_m": 136.05113865081412,
   "start_xy": [
    1578004.0611304366,
    5172904.202732733
   ],
   "end_xy": [
    1578004.7288637927,
    5172906.087973345
   ]
  },
  "max_3m": {
   "gradient_pct": 22.523629613709772,
   "start_distance_m": 1245.0,
   "end_distance_m": 1248.0,
   "midpoint_distance_m": 1246.5,
   "start_elevation_m": 134.25901154532525,
   "end_elevation_m": 134.93472043373654,
   "start_xy": [
    1578002.0579303685,
    5172898.547010898
   ],
   "end_xy": [
    1578003.0595304025,
    5172901.374871816
   ]
  }
 },
 "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.011,
   "obstruction_max_height_m": 6.4,
   "flagged_windows_m": []
  },
  "review": [],
  "extent": [
   "may_start_earlier"
  ]
 },
 "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-s3",
   "road_pbf": "block-batch-nz-s3.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/BX24.tiff"
  ],
  "calculated_at": "2026-09-28T05:15:42+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-s3.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-s3",
  "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": [
   "BX24"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": "none \u2014 the route carried no way list and no mapped way runs along it; own decks unmasked",
  "carriageway": {
   "stations": 62,
   "stations_resolved": 62,
   "width_median_m": 8.25,
   "width_p10_m": 6.0,
   "width_min_m": 4.25,
   "width_max_m": 12.0,
   "bounded_share": 0.097,
   "unbounded_share": 0.903,
   "confidence_median": 0.0,
   "width_median_bounded_m": 6.62,
   "window_m": [
    1245.0,
    1270.0
   ],
   "width_at_max25_m": 8.38,
   "window_stations": 6,
   "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": 62,
    "stations_resolved": 62,
    "width_median_m": 8.5,
    "width_p10_m": 4.25,
    "width_min_m": 1.0,
    "width_max_m": 12.0,
    "bounded_share": 0.613,
    "unbounded_share": 0.387,
    "confidence_median": 1.0,
    "width_median_bounded_m": 6.75,
    "window_m": [
     1245.0,
     1270.0
    ],
    "width_at_max25_m": 6.75,
    "window_stations": 6,
    "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": "Banks Peninsula Community",
  "county": "Canterbury",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}