{
 "ocl_version": "0.1.0",
 "name": "Glenstrae Road",
 "slug": "glenstrae-road",
 "confidence": "A",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 18.214960183529882,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 617.0,
   "end_distance_m": 619.0,
   "start_elevation_m": 86.79896291872602,
   "end_elevation_m": 87.16326212239662,
   "min_gradient_pct": -3.750084060864367
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 18.132740440477352,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 617.0,
   "end_distance_m": 620.0,
   "start_elevation_m": 86.79896291872602,
   "end_elevation_m": 87.34294513194034,
   "min_gradient_pct": -3.7042518030200235
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 18.146214353601238,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 614.0,
   "end_distance_m": 619.0,
   "start_elevation_m": 86.25595140471655,
   "end_elevation_m": 87.16326212239662,
   "min_gradient_pct": -3.573679329265076
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 17.998009514051745,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 613.0,
   "end_distance_m": 623.0,
   "start_elevation_m": 86.08095398512845,
   "end_elevation_m": 87.88075493653362,
   "min_gradient_pct": -3.516589799421155
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 17.766573612472456,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 605.0,
   "end_distance_m": 625.0,
   "start_elevation_m": 84.67204453091853,
   "end_elevation_m": 88.22535925341302,
   "min_gradient_pct": -3.4344072608893583
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 17.653324778662522,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 605.0,
   "end_distance_m": 630.0,
   "start_elevation_m": 84.67204453091853,
   "end_elevation_m": 89.08537572558416,
   "min_gradient_pct": -3.3549078982597393
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 17.311888445582355,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 594.0,
   "end_distance_m": 644.0,
   "start_elevation_m": 82.79062020548957,
   "end_elevation_m": 91.44656442828075,
   "min_gradient_pct": -3.150461854232958
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 16.91324344532174,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 546.0,
   "end_distance_m": 646.0,
   "start_elevation_m": 74.87136623038886,
   "end_elevation_m": 91.7846096757106,
   "min_gradient_pct": -1.3152704234925068
  }
 ],
 "shape": {
  "ascent_concentration": 0.369,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 320.0,
  "shape_class": "sustained"
 },
 "length_m": 1716.599999999996,
 "start_elevation_m": 2.114743368092186,
 "end_elevation_m": 185.41466817613843,
 "endpoint_gain_m": 183.29992480804626,
 "overall_gradient_pct": 10.678080205525264,
 "accumulated_ascent_m": 185.59691165044651,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 18.146214353601238,
   "start_distance_m": 614.0,
   "end_distance_m": 619.0,
   "midpoint_distance_m": 616.5,
   "start_elevation_m": 86.25595140471655,
   "end_elevation_m": 87.16326212239662,
   "start_xy": [
    1578223.3580050636,
    5176745.13614607
   ],
   "end_xy": [
    1578223.1965899763,
    5176740.138752232
   ]
  },
  "max_10m": {
   "gradient_pct": 17.998009514051745,
   "start_distance_m": 613.0,
   "end_distance_m": 623.0,
   "midpoint_distance_m": 618.0,
   "start_elevation_m": 86.08095398512845,
   "end_elevation_m": 87.88075493653362,
   "start_xy": [
    1578223.390288081,
    5176746.135624838
   ],
   "end_xy": [
    1578223.0674579064,
    5176736.140837163
   ]
  },
  "max_20m": {
   "gradient_pct": 17.766573612472456,
   "start_distance_m": 605.0,
   "end_distance_m": 625.0,
   "midpoint_distance_m": 615.0,
   "start_elevation_m": 84.67204453091853,
   "end_elevation_m": 88.22535925341302,
   "start_xy": [
    1578223.6347264198,
    5176754.131714976
   ],
   "end_xy": [
    1578223.0028918716,
    5176734.1418796275
   ]
  },
  "max_25m": {
   "gradient_pct": 17.653324778662522,
   "start_distance_m": 605.0,
   "end_distance_m": 630.0,
   "midpoint_distance_m": 617.5,
   "start_elevation_m": 84.67204453091853,
   "end_elevation_m": 89.08537572558416,
   "start_xy": [
    1578223.6347264198,
    5176754.131714976
   ],
   "end_xy": [
    1578222.9885114701,
    5176729.147951927
   ]
  },
  "max_50m": {
   "gradient_pct": 17.311888445582355,
   "start_distance_m": 594.0,
   "end_distance_m": 644.0,
   "midpoint_distance_m": 619.0,
   "start_elevation_m": 82.79062020548957,
   "end_elevation_m": 91.44656442828075,
   "start_xy": [
    1578223.693219337,
    5176765.131559457
   ],
   "end_xy": [
    1578226.0148138322,
    5176715.568234321
   ]
  },
  "max_100m": {
   "gradient_pct": 16.91324344532174,
   "start_distance_m": 546.0,
   "end_distance_m": 646.0,
   "midpoint_distance_m": 596.0,
   "start_elevation_m": 74.87136623038886,
   "end_elevation_m": 91.7846096757106,
   "start_xy": [
    1578222.9066894646,
    5176813.1061758585
   ],
   "end_xy": [
    1578226.738107161,
    5176713.703603859
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -3.573679329265076,
   "start_distance_m": 747.0,
   "end_distance_m": 752.0,
   "midpoint_distance_m": 749.5,
   "start_elevation_m": 98.66823326797685,
   "end_elevation_m": 98.48954930151359,
   "start_xy": [
    1578294.1392690996,
    5176639.217774526
   ],
   "end_xy": [
    1578296.9914669609,
    5176635.115039287
   ]
  },
  "min_10m": {
   "gradient_pct": -3.516589799421155,
   "start_distance_m": 746.0,
   "end_distance_m": 756.0,
   "midpoint_distance_m": 751.0,
   "start_elevation_m": 98.70649560194595,
   "end_elevation_m": 98.35483662200383,
   "start_xy": [
    1578293.5485703566,
    5176640.024666709
   ],
   "end_xy": [
    1578299.0866399882,
    5176631.707812979
   ]
  },
  "min_20m": {
   "gradient_pct": -3.4344072608893583,
   "start_distance_m": 736.0,
   "end_distance_m": 756.0,
   "midpoint_distance_m": 746.0,
   "start_elevation_m": 99.0417180741817,
   "end_elevation_m": 98.35483662200383,
   "start_xy": [
    1578286.8897081434,
    5176647.478646446
   ],
   "end_xy": [
    1578299.0866399882,
    5176631.707812979
   ]
  },
  "min_25m": {
   "gradient_pct": -3.3549078982597393,
   "start_distance_m": 736.0,
   "end_distance_m": 761.0,
   "midpoint_distance_m": 748.5,
   "start_elevation_m": 99.0417180741817,
   "end_elevation_m": 98.20299109961677,
   "start_xy": [
    1578286.8897081434,
    5176647.478646446
   ],
   "end_xy": [
    1578301.6076345346,
    5176627.389875219
   ]
  },
  "min_50m": {
   "gradient_pct": -3.150461854232958,
   "start_distance_m": 720.0,
   "end_distance_m": 770.0,
   "midpoint_distance_m": 745.0,
   "start_elevation_m": 99.49949884221934,
   "end_elevation_m": 97.92426791510286,
   "start_xy": [
    1578275.5831369022,
    5176658.798194047
   ],
   "end_xy": [
    1578305.222794671,
    5176619.157670687
   ]
  },
  "min_100m": {
   "gradient_pct": -1.3152704234925068,
   "start_distance_m": 706.0,
   "end_distance_m": 806.0,
   "midpoint_distance_m": 756.0,
   "start_elevation_m": 99.70754963947999,
   "end_elevation_m": 98.39227921598749,
   "start_xy": [
    1578265.597721119,
    5176668.611015622
   ],
   "end_xy": [
    1578308.4800295108,
    5176584.128061568
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 18.214960183529882,
   "start_distance_m": 617.0,
   "end_distance_m": 619.0,
   "midpoint_distance_m": 618.0,
   "start_elevation_m": 86.79896291872602,
   "end_elevation_m": 87.16326212239662,
   "start_xy": [
    1578223.2611560111,
    5176742.137709768
   ],
   "end_xy": [
    1578223.1965899763,
    5176740.138752232
   ]
  },
  "max_3m": {
   "gradient_pct": 18.132740440477352,
   "start_distance_m": 617.0,
   "end_distance_m": 620.0,
   "midpoint_distance_m": 618.5,
   "start_elevation_m": 86.79896291872602,
   "end_elevation_m": 87.34294513194034,
   "start_xy": [
    1578223.2611560111,
    5176742.137709768
   ],
   "end_xy": [
    1578223.164306959,
    5176739.139273465
   ]
  }
 },
 "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.003,
   "obstruction_max_height_m": 4.01,
   "flagged_windows_m": []
  },
  "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-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:36:58+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"
  ],
  "route_cut_m": 1716.6,
  "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": 74,
   "stations_resolved": 74,
   "width_median_m": 9.5,
   "width_p10_m": 8.0,
   "width_min_m": 6.0,
   "width_max_m": 12.0,
   "bounded_share": 0.135,
   "unbounded_share": 0.865,
   "confidence_median": 0.0,
   "width_median_bounded_m": 8.88,
   "window_m": [
    605.0,
    630.0
   ],
   "width_at_max25_m": 9.62,
   "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": 74,
    "stations_resolved": 74,
    "width_median_m": 9.75,
    "width_p10_m": 8.0,
    "width_min_m": 3.0,
    "width_max_m": 12.0,
    "bounded_share": 0.311,
    "unbounded_share": 0.689,
    "confidence_median": 0.0,
    "width_median_bounded_m": 9.0,
    "window_m": [
     605.0,
     630.0
    ],
    "width_at_max25_m": 9.88,
    "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": "Linwood-Central-Heathcote Community",
  "county": "Canterbury",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}