{
 "ocl_version": "0.1.0",
 "name": "Saint Marys Road",
 "slug": "saint-marys-road",
 "confidence": "A",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 22.00880387973969,
   "diagnostic": true,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 56.0,
   "end_distance_m": 58.0,
   "start_elevation_m": 12.725861308704363,
   "end_elevation_m": 13.166037386299157,
   "min_gradient_pct": -0.2506376807289712
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 21.550004456483112,
   "diagnostic": true,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 55.0,
   "end_distance_m": 58.0,
   "start_elevation_m": 12.519537252604664,
   "end_elevation_m": 13.166037386299157,
   "min_gradient_pct": -0.034841498862192566
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 21.24713128590818,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 24.0,
   "end_distance_m": 29.0,
   "start_elevation_m": 6.36538096439461,
   "end_elevation_m": 7.427737528690019,
   "min_gradient_pct": 0.21982351345101847
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 21.037939669346503,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 23.0,
   "end_distance_m": 33.0,
   "start_elevation_m": 6.15051039733861,
   "end_elevation_m": 8.25430436427326,
   "min_gradient_pct": 0.41573469781667427
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 20.447995618840803,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 19.0,
   "end_distance_m": 39.0,
   "start_elevation_m": 5.358506712173436,
   "end_elevation_m": 9.448105835941597,
   "min_gradient_pct": 0.7748967841304122
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 20.19563265960867,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 13.0,
   "end_distance_m": 38.0,
   "start_elevation_m": 4.203508902827428,
   "end_elevation_m": 9.252417067729596,
   "min_gradient_pct": 0.9901137078271915
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 19.83386798062845,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 8.0,
   "end_distance_m": 58.0,
   "start_elevation_m": 3.2491033959849323,
   "end_elevation_m": 13.166037386299157,
   "min_gradient_pct": 1.4885927959537923
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 18.868889217051475,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 5.0,
   "end_distance_m": 105.0,
   "start_elevation_m": 2.7394902557218574,
   "end_elevation_m": 21.608379472773333,
   "min_gradient_pct": 3.118367361064862
  }
 ],
 "shape": {
  "ascent_concentration": 0.47,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 262.0,
  "shape_class": "stepped"
 },
 "length_m": 574.5659405699685,
 "start_elevation_m": 2.4148003560227553,
 "end_elevation_m": 53.82925172732541,
 "endpoint_gain_m": 51.41445137130266,
 "overall_gradient_pct": 8.948398737366785,
 "accumulated_ascent_m": 51.43403857129559,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 21.24713128590818,
   "start_distance_m": 24.0,
   "end_distance_m": 29.0,
   "midpoint_distance_m": 26.5,
   "start_elevation_m": 6.36538096439461,
   "end_elevation_m": 7.427737528690019,
   "start_xy": [
    1755657.0542707515,
    5921123.149021037
   ],
   "end_xy": [
    1755656.7623155413,
    5921118.166974643
   ]
  },
  "max_10m": {
   "gradient_pct": 21.037939669346503,
   "start_distance_m": 23.0,
   "end_distance_m": 33.0,
   "midpoint_distance_m": 28.0,
   "start_elevation_m": 6.15051039733861,
   "end_elevation_m": 8.25430436427326,
   "start_xy": [
    1755657.1921417536,
    5921124.139471231
   ],
   "end_xy": [
    1755656.87057442,
    5921114.169201865
   ]
  },
  "max_20m": {
   "gradient_pct": 20.447995618840803,
   "start_distance_m": 19.0,
   "end_distance_m": 39.0,
   "midpoint_distance_m": 29.0,
   "start_elevation_m": 5.358506712173436,
   "end_elevation_m": 9.448105835941597,
   "start_xy": [
    1755658.024452417,
    5921128.042254453
   ],
   "end_xy": [
    1755657.6683286873,
    5921108.227949811
   ]
  },
  "max_25m": {
   "gradient_pct": 20.19563265960867,
   "start_distance_m": 13.0,
   "end_distance_m": 38.0,
   "midpoint_distance_m": 25.5,
   "start_elevation_m": 4.203508902827428,
   "end_elevation_m": 9.252417067729596,
   "start_xy": [
    1755659.9715842316,
    5921133.7090585055
   ],
   "end_xy": [
    1755657.479712563,
    5921109.210000704
   ]
  },
  "max_50m": {
   "gradient_pct": 19.83386798062845,
   "start_distance_m": 8.0,
   "end_distance_m": 58.0,
   "midpoint_distance_m": 33.0,
   "start_elevation_m": 3.2491033959849323,
   "end_elevation_m": 13.166037386299157,
   "start_xy": [
    1755662.061791033,
    5921138.245350641
   ],
   "end_xy": [
    1755661.5468000777,
    5921089.629635991
   ]
  },
  "max_100m": {
   "gradient_pct": 18.868889217051475,
   "start_distance_m": 5.0,
   "end_distance_m": 105.0,
   "midpoint_distance_m": 55.0,
   "start_elevation_m": 2.7394902557218574,
   "end_elevation_m": 21.608379472773333,
   "start_xy": [
    1755663.4428639275,
    5921140.908218154
   ],
   "end_xy": [
    1755671.55345874,
    5921043.707462079
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": 0.21982351345101847,
   "start_distance_m": 567.0,
   "end_distance_m": 572.0,
   "midpoint_distance_m": 569.5,
   "start_elevation_m": 53.82360355247849,
   "end_elevation_m": 53.83459472815104,
   "start_xy": [
    1755521.4696503733,
    5920663.260387904
   ],
   "end_xy": [
    1755517.8906833413,
    5920659.768827367
   ]
  },
  "min_10m": {
   "gradient_pct": 0.41573469781667427,
   "start_distance_m": 564.0,
   "end_distance_m": 574.0,
   "midpoint_distance_m": 569.0,
   "start_elevation_m": 53.78975356436103,
   "end_elevation_m": 53.831327034142696,
   "start_xy": [
    1755523.6170305926,
    5920665.355324226
   ],
   "end_xy": [
    1755516.4590965284,
    5920658.372203152
   ]
  },
  "min_20m": {
   "gradient_pct": 0.7748967841304122,
   "start_distance_m": 554.0,
   "end_distance_m": 574.0,
   "midpoint_distance_m": 564.0,
   "start_elevation_m": 53.67634767731661,
   "end_elevation_m": 53.831327034142696,
   "start_xy": [
    1755530.8221767836,
    5920672.289329783
   ],
   "end_xy": [
    1755516.4590965284,
    5920658.372203152
   ]
  },
  "min_25m": {
   "gradient_pct": 0.9901137078271915,
   "start_distance_m": 549.0,
   "end_distance_m": 574.0,
   "midpoint_distance_m": 561.5,
   "start_elevation_m": 53.5837986071859,
   "end_elevation_m": 53.831327034142696,
   "start_xy": [
    1755534.4523941816,
    5920675.72757376
   ],
   "end_xy": [
    1755516.4590965284,
    5920658.372203152
   ]
  },
  "min_50m": {
   "gradient_pct": 1.4885927959537923,
   "start_distance_m": 524.0,
   "end_distance_m": 574.0,
   "midpoint_distance_m": 549.0,
   "start_elevation_m": 53.0870306361658,
   "end_elevation_m": 53.831327034142696,
   "start_xy": [
    1755552.519461786,
    5920693.006936127
   ],
   "end_xy": [
    1755516.4590965284,
    5920658.372203152
   ]
  },
  "min_100m": {
   "gradient_pct": 3.118367361064862,
   "start_distance_m": 474.0,
   "end_distance_m": 574.0,
   "midpoint_distance_m": 524.0,
   "start_elevation_m": 50.71295967307783,
   "end_elevation_m": 53.831327034142696,
   "start_xy": [
    1755588.598688307,
    5920727.623241892
   ],
   "end_xy": [
    1755516.4590965284,
    5920658.372203152
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 22.00880387973969,
   "start_distance_m": 56.0,
   "end_distance_m": 58.0,
   "midpoint_distance_m": 57.0,
   "start_elevation_m": 12.725861308704363,
   "end_elevation_m": 13.166037386299157,
   "start_xy": [
    1755661.1175601268,
    5921091.5830312185
   ],
   "end_xy": [
    1755661.5468000777,
    5921089.629635991
   ]
  },
  "max_3m": {
   "gradient_pct": 21.550004456483112,
   "start_distance_m": 55.0,
   "end_distance_m": 58.0,
   "midpoint_distance_m": 56.5,
   "start_elevation_m": 12.519537252604664,
   "end_elevation_m": 13.166037386299157,
   "start_xy": [
    1755660.903159638,
    5921092.559777056
   ],
   "end_xy": [
    1755661.5468000777,
    5921089.629635991
   ]
  }
 },
 "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.064,
   "obstruction_max_height_m": 8.88,
   "flagged_windows_m": [
    2,
    3
   ]
  },
  "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-n2",
   "road_pbf": "block-batch-nz-n2.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:1ffe0b32a690b9c1"
  },
  "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/BA31.tiff",
   "data/cache/nz/BA32.tiff"
  ],
  "calculated_at": "2026-09-28T05:02:11+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-n2.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-n2",
  "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": [
   "BA31",
   "BA32"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 2,
  "carriageway": {
   "stations": 29,
   "stations_resolved": 29,
   "width_median_m": 8.75,
   "width_p10_m": 6.75,
   "width_min_m": 6.25,
   "width_max_m": 12.0,
   "bounded_share": 0.138,
   "unbounded_share": 0.862,
   "confidence_median": 0.0,
   "width_median_bounded_m": 6.75,
   "window_m": [
    13.0,
    38.0
   ],
   "width_at_max25_m": 7.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": 29,
    "stations_resolved": 29,
    "width_median_m": 9.0,
    "width_p10_m": 5.35,
    "width_min_m": 1.0,
    "width_max_m": 12.0,
    "bounded_share": 0.345,
    "unbounded_share": 0.655,
    "confidence_median": 0.0,
    "width_median_bounded_m": 6.75,
    "window_m": [
     13.0,
     38.0
    ],
    "width_at_max25_m": 7.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": "Waitemat\u0101",
  "county": "Auckland",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}