{
 "ocl_version": "0.1.0",
 "name": "Virginia Road",
 "slug": "virginia-road",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 44.57881729539963,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded"
   ],
   "start_distance_m": 6267.0,
   "end_distance_m": 6269.0,
   "start_elevation_m": 580.9484059404107,
   "end_elevation_m": 581.8399822863187,
   "min_gradient_pct": -38.32531041080074,
   "suppressed_max_gradient_pct": 85.65248064938373,
   "suppressed_location_m": [
    5588.0,
    5590.0
   ],
   "suppressed_min_gradient_pct": -68.82006163248775,
   "suppressed_min_location_m": [
    5579.0,
    5581.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 38.41758146468995,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded"
   ],
   "start_distance_m": 2510.0,
   "end_distance_m": 2513.0,
   "start_elevation_m": 559.3186273293697,
   "end_elevation_m": 560.4711547733104,
   "min_gradient_pct": -34.17470319859982,
   "suppressed_max_gradient_pct": 80.62999738760368,
   "suppressed_location_m": [
    5588.0,
    5591.0
   ],
   "suppressed_min_gradient_pct": -67.19706413914916,
   "suppressed_min_location_m": [
    5579.0,
    5582.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 35.419799343771956,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded"
   ],
   "start_distance_m": 2510.0,
   "end_distance_m": 2515.0,
   "start_elevation_m": 559.3186273293697,
   "end_elevation_m": 561.0896172965583,
   "min_gradient_pct": -28.104421511511646,
   "suppressed_max_gradient_pct": 57.43796212641769,
   "suppressed_location_m": [
    5586.0,
    5591.0
   ],
   "suppressed_min_gradient_pct": -58.27328863916591,
   "suppressed_min_location_m": [
    5579.0,
    5584.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 27.6919476397336,
   "diagnostic": false,
   "flags": [
    "structure_excluded_min",
    "texture_excluded"
   ],
   "start_distance_m": 2506.0,
   "end_distance_m": 2516.0,
   "start_elevation_m": 558.6423388998455,
   "end_elevation_m": 561.4115336638189,
   "min_gradient_pct": -25.39679273428078,
   "suppressed_max_gradient_pct": 40.96503282960157,
   "suppressed_location_m": [
    5838.0,
    5848.0
   ],
   "suppressed_min_gradient_pct": -31.576039514882837,
   "suppressed_min_location_m": [
    5574.0,
    5584.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 24.0451279422507,
   "diagnostic": false,
   "flags": [
    "texture_excluded"
   ],
   "start_distance_m": 2499.0,
   "end_distance_m": 2519.0,
   "start_elevation_m": 557.1335031606496,
   "end_elevation_m": 561.9425287490998,
   "min_gradient_pct": -18.996629339065407,
   "suppressed_max_gradient_pct": 37.15112128980593,
   "suppressed_location_m": [
    5833.0,
    5853.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 21.983862133110506,
   "diagnostic": false,
   "flags": [
    "texture_excluded"
   ],
   "start_distance_m": 2494.0,
   "end_distance_m": 2519.0,
   "start_elevation_m": 556.4465632158222,
   "end_elevation_m": 561.9425287490998,
   "min_gradient_pct": -17.159776175060415,
   "suppressed_max_gradient_pct": 30.706135182424532,
   "suppressed_location_m": [
    5832.0,
    5857.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 17.183217615755666,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "texture_excluded"
   ],
   "start_distance_m": 2469.0,
   "end_distance_m": 2519.0,
   "start_elevation_m": 553.350919941222,
   "end_elevation_m": 561.9425287490998,
   "min_gradient_pct": -14.898344575899728,
   "suppressed_max_gradient_pct": 23.849275874951672,
   "suppressed_location_m": [
    5807.0,
    5857.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 15.502216619705337,
   "diagnostic": false,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 2420.0,
   "end_distance_m": 2520.0,
   "start_elevation_m": 546.5520705955495,
   "end_elevation_m": 562.0542872152548,
   "min_gradient_pct": -12.761960913499934,
   "suppressed_max_gradient_pct": 16.596820974589832,
   "suppressed_location_m": [
    5753.0,
    5853.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.437,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 291.0,
  "shape_class": "sustained"
 },
 "length_m": 6905.999999999939,
 "start_elevation_m": 444.383954563064,
 "end_elevation_m": 629.5823193549088,
 "endpoint_gain_m": 185.19836479184482,
 "overall_gradient_pct": 2.681702357252338,
 "accumulated_ascent_m": 331.8106305543267,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 35.419799343771956,
   "start_distance_m": 2510.0,
   "end_distance_m": 2515.0,
   "midpoint_distance_m": 2512.5,
   "start_elevation_m": 559.3186273293697,
   "end_elevation_m": 561.0896172965583,
   "start_xy": [
    1551319.4669469008,
    5247845.232204237
   ],
   "end_xy": [
    1551314.8311837446,
    5247847.10562356
   ]
  },
  "max_10m": {
   "gradient_pct": 27.6919476397336,
   "start_distance_m": 2506.0,
   "end_distance_m": 2516.0,
   "midpoint_distance_m": 2511.0,
   "start_elevation_m": 558.6423388998455,
   "end_elevation_m": 561.4115336638189,
   "start_xy": [
    1551323.3168057052,
    5247844.215632107
   ],
   "end_xy": [
    1551313.9040311135,
    5247847.480307424
   ]
  },
  "max_20m": {
   "gradient_pct": 24.0451279422507,
   "start_distance_m": 2499.0,
   "end_distance_m": 2519.0,
   "midpoint_distance_m": 2509.0,
   "start_elevation_m": 557.1335031606496,
   "end_elevation_m": 561.9425287490998,
   "start_xy": [
    1551330.1962088614,
    5247842.92187316
   ],
   "end_xy": [
    1551311.1225732197,
    5247848.604359019
   ]
  },
  "max_25m": {
   "gradient_pct": 21.983862133110506,
   "start_distance_m": 2494.0,
   "end_distance_m": 2519.0,
   "midpoint_distance_m": 2506.5,
   "start_elevation_m": 556.4465632158222,
   "end_elevation_m": 561.9425287490998,
   "start_xy": [
    1551335.1100682588,
    5247841.997759626
   ],
   "end_xy": [
    1551311.1225732197,
    5247848.604359019
   ]
  },
  "max_50m": {
   "gradient_pct": 17.183217615755666,
   "start_distance_m": 2469.0,
   "end_distance_m": 2519.0,
   "midpoint_distance_m": 2494.0,
   "start_elevation_m": 553.350919941222,
   "end_elevation_m": 561.9425287490998,
   "start_xy": [
    1551359.8286401434,
    5247838.326921271
   ],
   "end_xy": [
    1551311.1225732197,
    5247848.604359019
   ]
  },
  "max_100m": {
   "gradient_pct": 15.502216619705337,
   "start_distance_m": 2420.0,
   "end_distance_m": 2520.0,
   "midpoint_distance_m": 2470.0,
   "start_elevation_m": 546.5520705955495,
   "end_elevation_m": 562.0542872152548,
   "start_xy": [
    1551407.6754594005,
    5247828.096497192
   ],
   "end_xy": [
    1551310.1954205886,
    5247848.979042883
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -28.104421511511646,
   "start_distance_m": 4217.0,
   "end_distance_m": 4222.0,
   "midpoint_distance_m": 4219.5,
   "start_elevation_m": 528.120483070941,
   "end_elevation_m": 526.7152619953654,
   "start_xy": [
    1550099.410905916,
    5248063.264253958
   ],
   "end_xy": [
    1550099.2158125946,
    5248068.260446368
   ]
  },
  "min_10m": {
   "gradient_pct": -25.39679273428078,
   "start_distance_m": 4217.0,
   "end_distance_m": 4227.0,
   "midpoint_distance_m": 4222.0,
   "start_elevation_m": 528.120483070941,
   "end_elevation_m": 525.5808037975129,
   "start_xy": [
    1550099.410905916,
    5248063.264253958
   ],
   "end_xy": [
    1550099.0207192735,
    5248073.256638777
   ]
  },
  "min_20m": {
   "gradient_pct": -18.996629339065407,
   "start_distance_m": 4216.0,
   "end_distance_m": 4236.0,
   "midpoint_distance_m": 4226.0,
   "start_elevation_m": 528.2349537585751,
   "end_elevation_m": 524.435627890762,
   "start_xy": [
    1550099.4499245803,
    5248062.265015476
   ],
   "end_xy": [
    1550098.124916938,
    5248082.186730352
   ]
  },
  "min_25m": {
   "gradient_pct": -17.159776175060415,
   "start_distance_m": 4216.0,
   "end_distance_m": 4241.0,
   "midpoint_distance_m": 4228.5,
   "start_elevation_m": 528.2349537585751,
   "end_elevation_m": 523.94500971481,
   "start_xy": [
    1550099.4499245803,
    5248062.265015476
   ],
   "end_xy": [
    1550097.1732874452,
    5248087.095335175
   ]
  },
  "min_50m": {
   "gradient_pct": -14.898344575899728,
   "start_distance_m": 3809.0,
   "end_distance_m": 3859.0,
   "midpoint_distance_m": 3834.0,
   "start_elevation_m": 560.0530548338735,
   "end_elevation_m": 552.6038825459236,
   "start_xy": [
    1550114.5058139823,
    5247888.574580102
   ],
   "end_xy": [
    1550068.6793054175,
    5247868.753703954
   ]
  },
  "min_100m": {
   "gradient_pct": -12.761960913499934,
   "start_distance_m": 3751.0,
   "end_distance_m": 3851.0,
   "midpoint_distance_m": 3801.0,
   "start_elevation_m": 566.4077444805552,
   "end_elevation_m": 553.6457835670552,
   "start_xy": [
    1550170.5515920718,
    5247900.111621889
   ],
   "end_xy": [
    1550075.8665903867,
    5247872.266955264
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 44.57881729539963,
   "start_distance_m": 6267.0,
   "end_distance_m": 6269.0,
   "midpoint_distance_m": 6268.0,
   "start_elevation_m": 580.9484059404107,
   "end_elevation_m": 581.8399822863187,
   "start_xy": [
    1548705.870832048,
    5248844.011128153
   ],
   "end_xy": [
    1548704.2808339237,
    5248845.224349471
   ]
  },
  "max_3m": {
   "gradient_pct": 38.41758146468995,
   "start_distance_m": 2510.0,
   "end_distance_m": 2513.0,
   "midpoint_distance_m": 2511.5,
   "start_elevation_m": 559.3186273293697,
   "end_elevation_m": 560.4711547733104,
   "start_xy": [
    1551319.4669469008,
    5247845.232204237
   ],
   "end_xy": [
    1551316.685489007,
    5247846.35625583
   ]
  }
 },
 "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": {
  "structure_suppression": {
   "masked_fraction": 0.008,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    50.0,
    100.0
   ],
   "windows_unresolved": [],
   "minima_resited": [
    2.0,
    3.0,
    5.0,
    10.0
   ],
   "minima_unresolved": []
  },
  "placement_suppression": {
   "masked_fraction": 0.012,
   "windows_resited": [],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_suppression": {
   "masked_fraction": 0.016,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    10.0,
    20.0,
    25.0,
    50.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 1,
   "windows_masked": [
    {
     "window_m": 25.0,
     "start_m": 5832.0,
     "end_m": 5857.0,
     "raw_pct": 30.71,
     "reason": "hump"
    },
    {
     "window_m": 20.0,
     "start_m": 5833.0,
     "end_m": 5853.0,
     "raw_pct": 37.15,
     "reason": "hump"
    },
    {
     "window_m": 10.0,
     "start_m": 5838.0,
     "end_m": 5848.0,
     "raw_pct": 40.97,
     "reason": "hump+short-step"
    },
    {
     "window_m": 5.0,
     "start_m": 5842.0,
     "end_m": 5847.0,
     "raw_pct": 49.16,
     "reason": "hump"
    }
   ],
   "advisory": [],
   "unresolved": []
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.009,
   "obstruction_max_height_m": 23.66,
   "flagged_windows_m": []
  },
  "excluded_ranges_m": [
   [
    5565.0,
    5598.0
   ],
   [
    5818.0,
    5823.0
   ],
   [
    5830.0,
    5859.0
   ],
   [
    6154.0,
    6159.0
   ],
   [
    6220.0,
    6255.0
   ]
  ],
  "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/BV23.tiff"
  ],
  "calculated_at": "2026-09-28T05:35:27+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": [
   "BV23"
  ],
  "route_summit_trim_m": 4219.7,
  "route_summit_trim_loss_m": 45.2,
  "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": 283,
   "stations_resolved": 283,
   "width_median_m": 4.75,
   "width_p10_m": 2.25,
   "width_min_m": 1.25,
   "width_max_m": 11.5,
   "bounded_share": 0.184,
   "unbounded_share": 0.816,
   "confidence_median": 0.0,
   "width_median_bounded_m": 2.5,
   "window_m": [
    2494.0,
    2519.0
   ],
   "width_at_max25_m": 2.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": 283,
    "stations_resolved": 283,
    "width_median_m": 8.25,
    "width_p10_m": 4.5,
    "width_min_m": 0.75,
    "width_max_m": 12.0,
    "bounded_share": 0.519,
    "unbounded_share": 0.481,
    "confidence_median": 0.871,
    "width_median_bounded_m": 6.5,
    "window_m": [
     2494.0,
     2519.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": "Canterbury",
  "county": "Canterbury",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}