{
 "ocl_version": "0.1.0",
 "name": "Te Wharau Road",
 "slug": "te-wharau-road",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 35.822006494652214,
   "diagnostic": true,
   "flags": [
    "texture_excluded"
   ],
   "start_distance_m": 6992.0,
   "end_distance_m": 6994.0,
   "start_elevation_m": 341.3513462580164,
   "end_elevation_m": 342.06778638790945,
   "min_gradient_pct": -45.717169710556504,
   "suppressed_max_gradient_pct": 44.669230790407255,
   "suppressed_location_m": [
    7124.0,
    7126.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 35.29439520834406,
   "diagnostic": true,
   "flags": [
    "texture_excluded"
   ],
   "start_distance_m": 6991.0,
   "end_distance_m": 6994.0,
   "start_elevation_m": 341.0089545316591,
   "end_elevation_m": 342.06778638790945,
   "min_gradient_pct": -44.758978119449466,
   "suppressed_max_gradient_pct": 40.792538175931746,
   "suppressed_location_m": [
    7124.0,
    7127.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 33.336538032406224,
   "diagnostic": false,
   "flags": [
    "texture_excluded"
   ],
   "start_distance_m": 6989.0,
   "end_distance_m": 6994.0,
   "start_elevation_m": 340.40095948628914,
   "end_elevation_m": 342.06778638790945,
   "min_gradient_pct": -39.99777665643478,
   "suppressed_max_gradient_pct": 35.57522811217041,
   "suppressed_location_m": [
    7124.0,
    7129.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 27.503175611763595,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 6987.0,
   "end_distance_m": 6997.0,
   "start_elevation_m": 340.01486999406904,
   "end_elevation_m": 342.7651875552454,
   "min_gradient_pct": -27.718433840936427
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 25.641641352825104,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 7001.0,
   "end_distance_m": 7021.0,
   "start_elevation_m": 343.3156654786631,
   "end_elevation_m": 348.4439937492281,
   "min_gradient_pct": -20.48286687562097
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 25.387852770744757,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 6990.0,
   "end_distance_m": 7015.0,
   "start_elevation_m": 340.6585868778218,
   "end_elevation_m": 347.005550070508,
   "min_gradient_pct": -17.834603308788473
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 21.8163106048911,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 6974.0,
   "end_distance_m": 7024.0,
   "start_elevation_m": 338.08092144427917,
   "end_elevation_m": 348.9890767467247,
   "min_gradient_pct": -15.266336547432275
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 14.98019464577402,
   "diagnostic": false,
   "flags": [
    "texture_excluded_min"
   ],
   "start_distance_m": 6924.0,
   "end_distance_m": 7024.0,
   "start_elevation_m": 334.0088821009507,
   "end_elevation_m": 348.9890767467247,
   "min_gradient_pct": -11.615468023704409,
   "suppressed_min_gradient_pct": -12.070648030668906,
   "suppressed_min_location_m": [
    7023.0,
    7123.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.405,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 60.0,
  "shape_class": "sustained"
 },
 "length_m": 7676.000000000336,
 "start_elevation_m": 137.62336901647964,
 "end_elevation_m": 351.15568638374134,
 "endpoint_gain_m": 213.5323173672617,
 "overall_gradient_pct": 2.78181757904185,
 "accumulated_ascent_m": 311.3925916364683,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 33.336538032406224,
   "start_distance_m": 6989.0,
   "end_distance_m": 6994.0,
   "midpoint_distance_m": 6991.5,
   "start_elevation_m": 340.40095948628914,
   "end_elevation_m": 342.06778638790945,
   "start_xy": [
    1834220.8721328764,
    5439696.129785347
   ],
   "end_xy": [
    1834222.6174151886,
    5439691.478260651
   ]
  },
  "max_10m": {
   "gradient_pct": 27.503175611763595,
   "start_distance_m": 6987.0,
   "end_distance_m": 6997.0,
   "midpoint_distance_m": 6992.0,
   "start_elevation_m": 340.01486999406904,
   "end_elevation_m": 342.7651875552454,
   "start_xy": [
    1834220.0476218655,
    5439697.951921893
   ],
   "end_xy": [
    1834223.1131794443,
    5439688.519507907
   ]
  },
  "max_20m": {
   "gradient_pct": 25.641641352825104,
   "start_distance_m": 7001.0,
   "end_distance_m": 7021.0,
   "midpoint_distance_m": 7011.0,
   "start_elevation_m": 343.3156654786631,
   "end_elevation_m": 348.4439937492281,
   "start_xy": [
    1834223.774198452,
    5439684.574504248
   ],
   "end_xy": [
    1834227.079293491,
    5439664.8494859515
   ]
  },
  "max_25m": {
   "gradient_pct": 25.387852770744757,
   "start_distance_m": 6990.0,
   "end_distance_m": 7015.0,
   "midpoint_distance_m": 7002.5,
   "start_elevation_m": 340.6585868778218,
   "end_elevation_m": 347.005550070508,
   "start_xy": [
    1834221.2843883818,
    5439695.218717074
   ],
   "end_xy": [
    1834226.0877649793,
    5439670.76699144
   ]
  },
  "max_50m": {
   "gradient_pct": 21.8163106048911,
   "start_distance_m": 6974.0,
   "end_distance_m": 7024.0,
   "midpoint_distance_m": 6999.0,
   "start_elevation_m": 338.08092144427917,
   "end_elevation_m": 348.9890767467247,
   "start_xy": [
    1834214.6883002953,
    5439709.795809444
   ],
   "end_xy": [
    1834227.5750577468,
    5439661.890733208
   ]
  },
  "max_100m": {
   "gradient_pct": 14.98019464577402,
   "start_distance_m": 6924.0,
   "end_distance_m": 7024.0,
   "midpoint_distance_m": 6974.0,
   "start_elevation_m": 334.0088821009507,
   "end_elevation_m": 348.9890767467247,
   "start_xy": [
    1834194.075525025,
    5439755.349223099
   ],
   "end_xy": [
    1834227.5750577468,
    5439661.890733208
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -39.99777665643478,
   "start_distance_m": 7110.0,
   "end_distance_m": 7115.0,
   "midpoint_distance_m": 7112.5,
   "start_elevation_m": 339.23562482499983,
   "end_elevation_m": 337.2357359921781,
   "start_xy": [
    1834230.1334211945,
    5439578.013465561
   ],
   "end_xy": [
    1834232.7793752886,
    5439573.770951338
   ]
  },
  "min_10m": {
   "gradient_pct": -27.718433840936427,
   "start_distance_m": 7069.0,
   "end_distance_m": 7079.0,
   "midpoint_distance_m": 7074.0,
   "start_elevation_m": 344.24183693461583,
   "end_elevation_m": 341.4699935505222,
   "start_xy": [
    1834226.5520076046,
    5439617.165998876
   ],
   "end_xy": [
    1834225.7043861395,
    5439607.20198674
   ]
  },
  "min_20m": {
   "gradient_pct": -20.48286687562097,
   "start_distance_m": 7059.0,
   "end_distance_m": 7079.0,
   "midpoint_distance_m": 7069.0,
   "start_elevation_m": 345.5665669256464,
   "end_elevation_m": 341.4699935505222,
   "start_xy": [
    1834227.39962907,
    5439627.130011013
   ],
   "end_xy": [
    1834225.7043861395,
    5439607.20198674
   ]
  },
  "min_25m": {
   "gradient_pct": -17.834603308788473,
   "start_distance_m": 7054.0,
   "end_distance_m": 7079.0,
   "midpoint_distance_m": 7066.5,
   "start_elevation_m": 345.9286443777193,
   "end_elevation_m": 341.4699935505222,
   "start_xy": [
    1834227.8234398027,
    5439632.112017081
   ],
   "end_xy": [
    1834225.7043861395,
    5439607.20198674
   ]
  },
  "min_50m": {
   "gradient_pct": -15.266336547432275,
   "start_distance_m": 7066.0,
   "end_distance_m": 7116.0,
   "midpoint_distance_m": 7091.0,
   "start_elevation_m": 344.6360850021611,
   "end_elevation_m": 337.002916728445,
   "start_xy": [
    1834226.8062940442,
    5439620.155202517
   ],
   "end_xy": [
    1834233.3085661074,
    5439572.922448494
   ]
  },
  "min_100m": {
   "gradient_pct": -11.615468023704409,
   "start_distance_m": 7021.0,
   "end_distance_m": 7121.0,
   "midpoint_distance_m": 7071.0,
   "start_elevation_m": 348.4439937492281,
   "end_elevation_m": 336.8285257255237,
   "start_xy": [
    1834227.079293491,
    5439664.8494859515
   ],
   "end_xy": [
    1834235.9545202015,
    5439568.679934271
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 35.822006494652214,
   "start_distance_m": 6992.0,
   "end_distance_m": 6994.0,
   "midpoint_distance_m": 6993.0,
   "start_elevation_m": 341.3513462580164,
   "end_elevation_m": 342.06778638790945,
   "start_xy": [
    1834222.1088993927,
    5439693.396580528
   ],
   "end_xy": [
    1834222.6174151886,
    5439691.478260651
   ]
  },
  "max_3m": {
   "gradient_pct": 35.29439520834406,
   "start_distance_m": 6991.0,
   "end_distance_m": 6994.0,
   "midpoint_distance_m": 6992.5,
   "start_elevation_m": 341.0089545316591,
   "end_elevation_m": 342.06778638790945,
   "start_xy": [
    1834221.6966438873,
    5439694.307648801
   ],
   "end_xy": [
    1834222.6174151886,
    5439691.478260651
   ]
  }
 },
 "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.001,
   "windows_resited": [],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "no_bench_suppression": {
   "masked_fraction": 0.009,
   "windows_resited": [],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_suppression": {
   "masked_fraction": 0.01,
   "windows_resited": [
    2.0,
    3.0,
    5.0
   ],
   "windows_unresolved": [],
   "minima_resited": [
    100.0
   ],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 1,
   "windows_masked": [
    {
     "window_m": 5.0,
     "start_m": 7124.0,
     "end_m": 7129.0,
     "raw_pct": 35.58,
     "reason": "short-step"
    }
   ],
   "advisory": [],
   "unresolved": []
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.083,
   "obstruction_max_height_m": 26.51,
   "flagged_windows_m": []
  },
  "excluded_ranges_m": [
   [
    0.0,
    3.0
   ],
   [
    4690.0,
    4720.0
   ],
   [
    5150.0,
    5180.0
   ],
   [
    7122.0,
    7131.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-n4",
   "road_pbf": "block-batch-nz-n4.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:390129777b339b3d"
  },
  "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/BP35.tiff",
   "data/cache/nz/BQ35.tiff"
  ],
  "calculated_at": "2026-09-28T06:00:53+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-n4.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-n4",
  "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": [
   "BP35",
   "BQ35"
  ],
  "route_summit_trim_m": 4605.3,
  "route_summit_trim_loss_m": 103.1,
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "carriageway": {
   "stations": 313,
   "stations_resolved": 313,
   "width_median_m": 5.5,
   "width_p10_m": 3.0,
   "width_min_m": 1.0,
   "width_max_m": 10.25,
   "bounded_share": 0.067,
   "unbounded_share": 0.933,
   "confidence_median": 0.0,
   "width_median_bounded_m": 3.0,
   "window_m": [
    6990.0,
    7015.0
   ],
   "width_at_max25_m": 4.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": 313,
    "stations_resolved": 313,
    "width_median_m": 9.5,
    "width_p10_m": 3.05,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.428,
    "unbounded_share": 0.572,
    "confidence_median": 0.0,
    "width_median_bounded_m": 6.62,
    "window_m": [
     6990.0,
     7015.0
    ],
    "width_at_max25_m": 9.38,
    "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": "Wellington",
  "county": "Wellington",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}