{
 "ocl_version": "0.1.0",
 "name": "Selwyn Road",
 "slug": "selwyn-road",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 23.796820118379003,
   "diagnostic": true,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 825.0,
   "end_distance_m": 827.0,
   "start_elevation_m": 148.28322004166154,
   "end_elevation_m": 148.75915644402912,
   "min_gradient_pct": -4.010864138766479
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 23.58644104315033,
   "diagnostic": true,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 824.0,
   "end_distance_m": 827.0,
   "start_elevation_m": 148.0515632127346,
   "end_elevation_m": 148.75915644402912,
   "min_gradient_pct": -3.693221204433191
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 23.37977473552371,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 822.0,
   "end_distance_m": 827.0,
   "start_elevation_m": 147.59016770725293,
   "end_elevation_m": 148.75915644402912,
   "min_gradient_pct": -2.603706622414279
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 22.893192053205098,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 821.0,
   "end_distance_m": 831.0,
   "start_elevation_m": 147.35980688285022,
   "end_elevation_m": 149.64912608817073,
   "min_gradient_pct": 1.259388871803111
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 22.292549789996627,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 817.0,
   "end_distance_m": 837.0,
   "start_elevation_m": 146.4727523326572,
   "end_elevation_m": 150.93126229065652,
   "min_gradient_pct": 3.1616392713061003
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 22.220532508921398,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 697.0,
   "end_distance_m": 722.0,
   "start_elevation_m": 120.99406815892651,
   "end_elevation_m": 126.54920128615686,
   "min_gradient_pct": 3.3068475354173756
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 22.105399982730688,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 670.0,
   "end_distance_m": 720.0,
   "start_elevation_m": 115.06126953650401,
   "end_elevation_m": 126.11396952786936,
   "min_gradient_pct": 3.331290800284023
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 21.689399459735924,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 679.0,
   "end_distance_m": 779.0,
   "start_elevation_m": 117.04543201624473,
   "end_elevation_m": 138.73483147598066,
   "min_gradient_pct": 4.463490294876365
  }
 ],
 "shape": {
  "ascent_concentration": 0.377,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 221.0,
  "shape_class": "sustained"
 },
 "length_m": 847.8537401080536,
 "start_elevation_m": 34.81490805954562,
 "end_elevation_m": 153.1880962587124,
 "endpoint_gain_m": 118.37318819916678,
 "overall_gradient_pct": 13.961510411463287,
 "accumulated_ascent_m": 118.56234373024299,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 23.37977473552371,
   "start_distance_m": 822.0,
   "end_distance_m": 827.0,
   "midpoint_distance_m": 824.5,
   "start_elevation_m": 147.59016770725293,
   "end_elevation_m": 148.75915644402912,
   "start_xy": [
    1576987.5641546543,
    5172977.180162555
   ],
   "end_xy": [
    1576989.547009998,
    5172981.770182673
   ]
  },
  "max_10m": {
   "gradient_pct": 22.893192053205098,
   "start_distance_m": 821.0,
   "end_distance_m": 831.0,
   "midpoint_distance_m": 826.0,
   "start_elevation_m": 147.35980688285022,
   "end_elevation_m": 149.64912608817073,
   "start_xy": [
    1576987.1675835855,
    5172976.262158531
   ],
   "end_xy": [
    1576991.133294273,
    5172985.442198767
   ]
  },
  "max_20m": {
   "gradient_pct": 22.292549789996627,
   "start_distance_m": 817.0,
   "end_distance_m": 837.0,
   "midpoint_distance_m": 827.0,
   "start_elevation_m": 146.4727523326572,
   "end_elevation_m": 150.93126229065652,
   "start_xy": [
    1576985.5812993106,
    5172972.590142436
   ],
   "end_xy": [
    1576993.5127206855,
    5172990.950222909
   ]
  },
  "max_25m": {
   "gradient_pct": 22.220532508921398,
   "start_distance_m": 697.0,
   "end_distance_m": 722.0,
   "midpoint_distance_m": 709.5,
   "start_elevation_m": 120.99406815892651,
   "end_elevation_m": 126.54920128615686,
   "start_xy": [
    1576999.0411998357,
    5172855.911542812
   ],
   "end_xy": [
    1576993.8667013627,
    5172880.366126951
   ]
  },
  "max_50m": {
   "gradient_pct": 22.105399982730688,
   "start_distance_m": 670.0,
   "end_distance_m": 720.0,
   "midpoint_distance_m": 695.0,
   "start_elevation_m": 115.06126953650401,
   "end_elevation_m": 126.11396952786936,
   "start_xy": [
    1577004.326184621,
    5172829.43383642
   ],
   "end_xy": [
    1576994.3343982326,
    5172878.421580824
   ]
  },
  "max_100m": {
   "gradient_pct": 21.689399459735924,
   "start_distance_m": 679.0,
   "end_distance_m": 779.0,
   "midpoint_distance_m": 729.0,
   "start_elevation_m": 117.04543201624473,
   "end_elevation_m": 138.73483147598066,
   "start_xy": [
    1577002.5645230259,
    5172838.2597385505
   ],
   "end_xy": [
    1576980.215155636,
    5172935.611750142
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -2.603706622414279,
   "start_distance_m": 90.0,
   "end_distance_m": 95.0,
   "midpoint_distance_m": 92.5,
   "start_elevation_m": 44.05113675663955,
   "end_elevation_m": 43.92095142551884,
   "start_xy": [
    1577117.355499186,
    5172429.910960729
   ],
   "end_xy": [
    1577122.1536293349,
    5172431.317355793
   ]
  },
  "min_10m": {
   "gradient_pct": 1.259388871803111,
   "start_distance_m": 89.0,
   "end_distance_m": 99.0,
   "midpoint_distance_m": 94.0,
   "start_elevation_m": 43.98722595321237,
   "end_elevation_m": 44.113164840392685,
   "start_xy": [
    1577117.358206223,
    5172429.415785558
   ],
   "end_xy": [
    1577126.0623629012,
    5172431.91187918
   ]
  },
  "min_20m": {
   "gradient_pct": 3.1616392713061003,
   "start_distance_m": 604.0,
   "end_distance_m": 624.0,
   "midpoint_distance_m": 614.0,
   "start_elevation_m": 106.67166217469118,
   "end_elevation_m": 107.3039900289524,
   "start_xy": [
    1577025.382307654,
    5172768.469559573
   ],
   "end_xy": [
    1577016.959017861,
    5172786.319048386
   ]
  },
  "min_25m": {
   "gradient_pct": 3.3068475354173756,
   "start_distance_m": 583.0,
   "end_distance_m": 608.0,
   "midpoint_distance_m": 595.5,
   "start_elevation_m": 105.98857927700367,
   "end_elevation_m": 106.81529116085801,
   "start_xy": [
    1577032.7351248837,
    5172748.802585325
   ],
   "end_xy": [
    1577024.0033062645,
    5172772.224337218
   ]
  },
  "min_50m": {
   "gradient_pct": 3.331290800284023,
   "start_distance_m": 575.0,
   "end_distance_m": 625.0,
   "midpoint_distance_m": 600.0,
   "start_elevation_m": 105.67520960466527,
   "end_elevation_m": 107.34085500480728,
   "start_xy": [
    1577035.9598781113,
    5172741.481317224
   ],
   "end_xy": [
    1577016.3190928614,
    5172787.087485758
   ]
  },
  "min_100m": {
   "gradient_pct": 4.463490294876365,
   "start_distance_m": 531.0,
   "end_distance_m": 631.0,
   "midpoint_distance_m": 581.0,
   "start_elevation_m": 103.2740290125855,
   "end_elevation_m": 107.73751930746187,
   "start_xy": [
    1577053.9085738903,
    5172701.310655922
   ],
   "end_xy": [
    1577011.9572930203,
    5172791.1877102675
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 23.796820118379003,
   "start_distance_m": 825.0,
   "end_distance_m": 827.0,
   "midpoint_distance_m": 826.0,
   "start_elevation_m": 148.28322004166154,
   "end_elevation_m": 148.75915644402912,
   "start_xy": [
    1576988.7538678604,
    5172979.934174625
   ],
   "end_xy": [
    1576989.547009998,
    5172981.770182673
   ]
  },
  "max_3m": {
   "gradient_pct": 23.58644104315033,
   "start_distance_m": 824.0,
   "end_distance_m": 827.0,
   "midpoint_distance_m": 825.5,
   "start_elevation_m": 148.0515632127346,
   "end_elevation_m": 148.75915644402912,
   "start_xy": [
    1576988.3572967916,
    5172979.016170601
   ],
   "end_xy": [
    1576989.547009998,
    5172981.770182673
   ]
  }
 },
 "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.074,
   "obstruction_max_height_m": 18.63,
   "flagged_windows_m": [
    2,
    3,
    5,
    10,
    20
   ]
  },
  "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-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:27:03+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": 40,
   "stations_resolved": 40,
   "width_median_m": 5.88,
   "width_p10_m": 4.0,
   "width_min_m": 2.25,
   "width_max_m": 9.25,
   "bounded_share": 0.475,
   "unbounded_share": 0.525,
   "confidence_median": 0.0,
   "width_median_bounded_m": 5.25,
   "window_m": [
    697.0,
    722.0
   ],
   "width_at_max25_m": 5.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": 40,
    "stations_resolved": 40,
    "width_median_m": 6.0,
    "width_p10_m": 2.7,
    "width_min_m": 1.25,
    "width_max_m": 12.0,
    "bounded_share": 0.8,
    "unbounded_share": 0.2,
    "confidence_median": 1.0,
    "width_median_bounded_m": 5.38,
    "window_m": [
     697.0,
     722.0
    ],
    "width_at_max25_m": 8.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": "Banks Peninsula Community",
  "county": "Canterbury",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}