{
 "ocl_version": "0.1.0",
 "name": "Sainsbury Road",
 "slug": "sainsbury-road",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 47.720292538367914,
   "diagnostic": true,
   "flags": [
    "placement_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 3699.0,
   "end_distance_m": 3701.0,
   "start_elevation_m": 230.01855424548373,
   "end_elevation_m": 230.9729600962511,
   "min_gradient_pct": -45.835132153632685,
   "suppressed_max_gradient_pct": 51.24725612798926,
   "suppressed_location_m": [
    4064.0,
    4066.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 41.44883293287194,
   "diagnostic": true,
   "flags": [
    "placement_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 3698.0,
   "end_distance_m": 3701.0,
   "start_elevation_m": 229.72949510826493,
   "end_elevation_m": 230.9729600962511,
   "min_gradient_pct": -46.70821829416051,
   "suppressed_max_gradient_pct": 47.23148461820017,
   "suppressed_location_m": [
    4064.0,
    4067.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 31.977610298123977,
   "diagnostic": false,
   "flags": [
    "placement_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 4018.0,
   "end_distance_m": 4023.0,
   "start_elevation_m": 251.3788277352412,
   "end_elevation_m": 252.9777082501474,
   "min_gradient_pct": -43.45800393771299,
   "suppressed_max_gradient_pct": 41.34725208660939,
   "suppressed_location_m": [
    4062.0,
    4067.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 28.68054059065912,
   "diagnostic": false,
   "flags": [
    "placement_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "suppression_unstable",
    "canopy_or_structure"
   ],
   "start_distance_m": 4012.0,
   "end_distance_m": 4022.0,
   "start_elevation_m": 249.90211890871996,
   "end_elevation_m": 252.77017296778587,
   "min_gradient_pct": -36.97162733120763,
   "suppressed_max_gradient_pct": 34.46006537306346,
   "suppressed_location_m": [
    4059.0,
    4069.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 25.213357235959535,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 4005.0,
   "end_distance_m": 4025.0,
   "start_elevation_m": 248.274811479751,
   "end_elevation_m": 253.31748292694292,
   "min_gradient_pct": -16.349762423049015
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 22.405672153446176,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 4003.0,
   "end_distance_m": 4028.0,
   "start_elevation_m": 248.0755873091111,
   "end_elevation_m": 253.67700534747266,
   "min_gradient_pct": -11.649998529406275
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 13.877590230403769,
   "diagnostic": false,
   "flags": [
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 3979.0,
   "end_distance_m": 4029.0,
   "start_elevation_m": 246.84375014303305,
   "end_elevation_m": 253.78254525823493,
   "min_gradient_pct": -5.1596512427183825,
   "suppressed_max_gradient_pct": 15.948561788694747,
   "suppressed_location_m": [
    3684.0,
    3734.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 11.603885951157936,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 3931.0,
   "end_distance_m": 4031.0,
   "start_elevation_m": 242.0833538610689,
   "end_elevation_m": 253.68723981222684,
   "min_gradient_pct": -4.834230478168738
  }
 ],
 "shape": {
  "ascent_concentration": 0.309,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 37.0,
  "shape_class": "sustained"
 },
 "length_m": 4642.279650679377,
 "start_elevation_m": 30.226906667024846,
 "end_elevation_m": 278.5885569361613,
 "endpoint_gain_m": 248.36165026913645,
 "overall_gradient_pct": 5.349993299795928,
 "accumulated_ascent_m": 275.7232068599203,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 31.977610298123977,
   "start_distance_m": 4018.0,
   "end_distance_m": 4023.0,
   "midpoint_distance_m": 4020.5,
   "start_elevation_m": 251.3788277352412,
   "end_elevation_m": 252.9777082501474,
   "start_xy": [
    1789651.4175946622,
    5791945.385108911
   ],
   "end_xy": [
    1789648.6357620896,
    5791941.2304239
   ]
  },
  "max_10m": {
   "gradient_pct": 28.68054059065912,
   "start_distance_m": 4012.0,
   "end_distance_m": 4022.0,
   "midpoint_distance_m": 4017.0,
   "start_elevation_m": 249.90211890871996,
   "end_elevation_m": 252.77017296778587,
   "start_xy": [
    1789654.7557937491,
    5791950.370730924
   ],
   "end_xy": [
    1789649.192128604,
    5791942.061360902
   ]
  },
  "max_20m": {
   "gradient_pct": 25.213357235959535,
   "start_distance_m": 4005.0,
   "end_distance_m": 4025.0,
   "midpoint_distance_m": 4015.0,
   "start_elevation_m": 248.274811479751,
   "end_elevation_m": 253.31748292694292,
   "start_xy": [
    1789658.6503593505,
    5791956.187289939
   ],
   "end_xy": [
    1789647.5230290606,
    5791939.568549896
   ]
  },
  "max_25m": {
   "gradient_pct": 22.405672153446176,
   "start_distance_m": 4003.0,
   "end_distance_m": 4028.0,
   "midpoint_distance_m": 4015.5,
   "start_elevation_m": 248.0755873091111,
   "end_elevation_m": 253.67700534747266,
   "start_xy": [
    1789659.7630923793,
    5791957.849163944
   ],
   "end_xy": [
    1789645.853929517,
    5791937.07573889
   ]
  },
  "max_50m": {
   "gradient_pct": 13.877590230403769,
   "start_distance_m": 3979.0,
   "end_distance_m": 4029.0,
   "midpoint_distance_m": 4004.0,
   "start_elevation_m": 246.84375014303305,
   "end_elevation_m": 253.78254525823493,
   "start_xy": [
    1789673.1158887271,
    5791977.791651995
   ],
   "end_xy": [
    1789645.2975630027,
    5791936.244801887
   ]
  },
  "max_100m": {
   "gradient_pct": 11.603885951157936,
   "start_distance_m": 3931.0,
   "end_distance_m": 4031.0,
   "midpoint_distance_m": 3981.0,
   "start_elevation_m": 242.0833538610689,
   "end_elevation_m": 253.68723981222684,
   "start_xy": [
    1789656.1336980197,
    5792008.567057171
   ],
   "end_xy": [
    1789644.1848299736,
    5791934.582927884
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -43.45800393771299,
   "start_distance_m": 3737.0,
   "end_distance_m": 3742.0,
   "midpoint_distance_m": 3739.5,
   "start_elevation_m": 236.52409686969435,
   "end_elevation_m": 234.3511966728087,
   "start_xy": [
    1789747.9757555856,
    5792166.159419243
   ],
   "end_xy": [
    1789744.1287667819,
    5792162.965806285
   ]
  },
  "min_10m": {
   "gradient_pct": -36.97162733120763,
   "start_distance_m": 3736.0,
   "end_distance_m": 3746.0,
   "midpoint_distance_m": 3741.0,
   "start_elevation_m": 236.86552877966682,
   "end_elevation_m": 233.16836604654605,
   "start_xy": [
    1789748.7540468734,
    5792166.787322637
   ],
   "end_xy": [
    1789741.062154764,
    5792160.397559659
   ]
  },
  "min_20m": {
   "gradient_pct": -16.349762423049015,
   "start_distance_m": 3734.0,
   "end_distance_m": 3754.0,
   "midpoint_distance_m": 3744.0,
   "start_elevation_m": 236.88667496968452,
   "end_elevation_m": 233.61672248507472,
   "start_xy": [
    1789750.3106294489,
    5792168.043129424
   ],
   "end_xy": [
    1789735.191653752,
    5792155.029387326
   ]
  },
  "min_25m": {
   "gradient_pct": -11.649998529406275,
   "start_distance_m": 3734.0,
   "end_distance_m": 3759.0,
   "midpoint_distance_m": 3746.5,
   "start_elevation_m": 236.88667496968452,
   "end_elevation_m": 233.97417533733295,
   "start_xy": [
    1789750.3106294489,
    5792168.043129424
   ],
   "end_xy": [
    1789732.4860582277,
    5792150.824657505
   ]
  },
  "min_50m": {
   "gradient_pct": -5.1596512427183825,
   "start_distance_m": 154.0,
   "end_distance_m": 204.0,
   "midpoint_distance_m": 179.0,
   "start_elevation_m": 29.567855529852896,
   "end_elevation_m": 26.988029908493704,
   "start_xy": [
    1792516.0490098388,
    5793136.483936816
   ],
   "end_xy": [
    1792466.9964623738,
    5793145.295391018
   ]
  },
  "min_100m": {
   "gradient_pct": -4.834230478168738,
   "start_distance_m": 127.0,
   "end_distance_m": 227.0,
   "midpoint_distance_m": 177.0,
   "start_elevation_m": 30.824813253151383,
   "end_elevation_m": 25.990582774982645,
   "start_xy": [
    1792542.9094311607,
    5793133.7474469645
   ],
   "end_xy": [
    1792444.771754961,
    5793151.216740561
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 47.720292538367914,
   "start_distance_m": 3699.0,
   "end_distance_m": 3701.0,
   "midpoint_distance_m": 3700.0,
   "start_elevation_m": 230.01855424548373,
   "end_elevation_m": 230.9729600962511,
   "start_xy": [
    1789781.3946966121,
    5792177.693584976
   ],
   "end_xy": [
    1789779.4873795758,
    5792178.19138069
   ]
  },
  "max_3m": {
   "gradient_pct": 41.44883293287194,
   "start_distance_m": 3698.0,
   "end_distance_m": 3701.0,
   "midpoint_distance_m": 3699.5,
   "start_elevation_m": 229.72949510826493,
   "end_elevation_m": 230.9729600962511,
   "start_xy": [
    1789782.3197255326,
    5792177.313688284
   ],
   "end_xy": [
    1789779.4873795758,
    5792178.19138069
   ]
  }
 },
 "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": {
  "placement_suppression": {
   "masked_fraction": 0.009,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    10.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_suppression": {
   "masked_fraction": 0.022,
   "windows_resited": [
    3.0,
    5.0,
    10.0,
    50.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 4,
   "windows_masked": [
    {
     "window_m": 10.0,
     "start_m": 4407.0,
     "end_m": 4417.0,
     "raw_pct": 33.17,
     "reason": "short-step"
    },
    {
     "window_m": 10.0,
     "start_m": 454.0,
     "end_m": 464.0,
     "raw_pct": 31.68,
     "reason": "hump+short-step"
    },
    {
     "window_m": 10.0,
     "start_m": 4559.0,
     "end_m": 4569.0,
     "raw_pct": 31.66,
     "reason": "short-step"
    },
    {
     "window_m": 10.0,
     "start_m": 3717.0,
     "end_m": 3727.0,
     "raw_pct": 30.27,
     "reason": "hump"
    },
    {
     "window_m": 5.0,
     "start_m": 3717.0,
     "end_m": 3722.0,
     "raw_pct": 35.69,
     "reason": "hump+short-step"
    }
   ],
   "advisory": [],
   "unresolved": [],
   "unstable": [
    {
     "window_m": 10.0,
     "start_m": 4012.0,
     "end_m": 4022.0,
     "raw_pct": 28.68,
     "reason": "hump",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "hump",
      "hump",
      ""
     ],
     "at": "final"
    }
   ]
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.173,
   "obstruction_max_height_m": 30.81,
   "flagged_windows_m": [
    2,
    3,
    5,
    10,
    20,
    25,
    50,
    100
   ]
  },
  "excluded_ranges_m": [
   [
    452.0,
    466.0
   ],
   [
    3715.0,
    3729.0
   ],
   [
    4060.0,
    4100.0
   ],
   [
    4405.0,
    4419.0
   ],
   [
    4557.0,
    4571.0
   ]
  ],
  "review": [],
  "extent": []
 },
 "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-n3",
   "road_pbf": "block-batch-nz-n3.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:7959a7d1d462b1b3"
  },
  "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/BE33.tiff"
  ],
  "calculated_at": "2026-09-28T05:36:33+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-n3.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-n3",
  "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": [
   "BE33"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "suppression_unstable": [
   10.0
  ],
  "carriageway": {
   "stations": 192,
   "stations_resolved": 192,
   "width_median_m": 6.25,
   "width_p10_m": 3.25,
   "width_min_m": 1.0,
   "width_max_m": 12.0,
   "bounded_share": 0.078,
   "unbounded_share": 0.922,
   "confidence_median": 0.0,
   "width_median_bounded_m": 6.25,
   "window_m": [
    4003.0,
    4028.0
   ],
   "width_at_max25_m": 2.0,
   "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": 192,
    "stations_resolved": 192,
    "width_median_m": 9.0,
    "width_p10_m": 1.53,
    "width_min_m": 0.0,
    "width_max_m": 12.0,
    "bounded_share": 0.51,
    "unbounded_share": 0.49,
    "confidence_median": 0.899,
    "width_median_bounded_m": 3.38,
    "window_m": [
     4003.0,
     4028.0
    ],
    "width_at_max25_m": 2.75,
    "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": "Waikato",
  "county": "Waikato",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}