{
 "ocl_version": "0.1.0",
 "name": "Pettigrews Road",
 "slug": "pettigrews-road",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 43.89088630408011,
   "diagnostic": true,
   "flags": [
    "no_bench_excluded",
    "no_bench_excluded_min",
    "texture_excluded"
   ],
   "start_distance_m": 3.0,
   "end_distance_m": 5.0,
   "start_elevation_m": 68.44357266965854,
   "end_elevation_m": 69.32139039574014,
   "min_gradient_pct": -27.920684794678863,
   "suppressed_max_gradient_pct": 52.65126449091042,
   "suppressed_location_m": [
    3062.0,
    3064.0
   ],
   "suppressed_min_gradient_pct": -31.417373806220894,
   "suppressed_min_location_m": [
    2022.0,
    2024.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 39.179882136802746,
   "diagnostic": true,
   "flags": [
    "no_bench_excluded_min",
    "texture_excluded"
   ],
   "start_distance_m": 2.0,
   "end_distance_m": 5.0,
   "start_elevation_m": 68.14599393163606,
   "end_elevation_m": 69.32139039574014,
   "min_gradient_pct": -22.828567439266106,
   "suppressed_max_gradient_pct": 46.41043058166758,
   "suppressed_location_m": [
    1395.0,
    1398.0
   ],
   "suppressed_min_gradient_pct": -30.302333963904477,
   "suppressed_min_location_m": [
    2021.0,
    2024.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 31.528828603903776,
   "diagnostic": false,
   "flags": [
    "no_bench_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "suppression_unstable",
    "canopy_or_structure"
   ],
   "start_distance_m": 1639.0,
   "end_distance_m": 1644.0,
   "start_elevation_m": 280.44028603860625,
   "end_elevation_m": 282.01672746880143,
   "min_gradient_pct": -14.009488720263334,
   "suppressed_max_gradient_pct": 38.42301652685819,
   "suppressed_location_m": [
    1393.0,
    1398.0
   ],
   "suppressed_min_gradient_pct": -28.53273366473786,
   "suppressed_min_location_m": [
    2019.0,
    2024.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 27.323988726131745,
   "diagnostic": false,
   "flags": [
    "no_bench_excluded_min",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1284.0,
   "end_distance_m": 1294.0,
   "start_elevation_m": 225.43422132036494,
   "end_elevation_m": 228.16662019297812,
   "min_gradient_pct": -11.826555613000096,
   "suppressed_max_gradient_pct": 30.236071175029622,
   "suppressed_location_m": [
    1388.0,
    1398.0
   ],
   "suppressed_min_gradient_pct": -18.694165421387652,
   "suppressed_min_location_m": [
    2016.0,
    2026.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 22.627532595769964,
   "diagnostic": false,
   "flags": [
    "no_bench_excluded_min",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1132.0,
   "end_distance_m": 1152.0,
   "start_elevation_m": 198.33229048864587,
   "end_elevation_m": 202.85779700779986,
   "min_gradient_pct": -11.504530107634992,
   "suppressed_max_gradient_pct": 25.367735630114936,
   "suppressed_location_m": [
    1388.0,
    1408.0
   ],
   "suppressed_min_gradient_pct": -12.193866891760194,
   "suppressed_min_location_m": [
    2015.0,
    2035.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 22.315338651915454,
   "diagnostic": false,
   "flags": [
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1127.0,
   "end_distance_m": 1152.0,
   "start_elevation_m": 197.278962344821,
   "end_elevation_m": 202.85779700779986,
   "min_gradient_pct": -11.237366012839402,
   "suppressed_max_gradient_pct": 24.36212049847211,
   "suppressed_location_m": [
    1388.0,
    1413.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 21.46767846553308,
   "diagnostic": false,
   "flags": [
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 948.0,
   "end_distance_m": 998.0,
   "start_elevation_m": 161.7092590485943,
   "end_elevation_m": 172.44309828136085,
   "min_gradient_pct": -9.707572718645451,
   "suppressed_max_gradient_pct": 21.515393291913878,
   "suppressed_location_m": [
    1388.0,
    1438.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 21.092990838541283,
   "diagnostic": false,
   "flags": [
    "no_bench_excluded_min",
    "canopy_or_structure"
   ],
   "start_distance_m": 940.0,
   "end_distance_m": 1040.0,
   "start_elevation_m": 160.04847778896234,
   "end_elevation_m": 181.14146862750363,
   "min_gradient_pct": -4.8511251184203275,
   "suppressed_min_gradient_pct": -8.439179620704067,
   "suppressed_min_location_m": [
    2011.0,
    2111.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.354,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 366.0,
  "shape_class": "sustained"
 },
 "length_m": 3347.999999999849,
 "start_elevation_m": 67.91386181901586,
 "end_elevation_m": 452.4973648128179,
 "endpoint_gain_m": 384.5835029938021,
 "overall_gradient_pct": 11.486962455012529,
 "accumulated_ascent_m": 404.3005205957773,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 31.528828603903776,
   "start_distance_m": 1639.0,
   "end_distance_m": 1644.0,
   "midpoint_distance_m": 1641.5,
   "start_elevation_m": 280.44028603860625,
   "end_elevation_m": 282.01672746880143,
   "start_xy": [
    1590768.8433538445,
    5158383.110096442
   ],
   "end_xy": [
    1590764.1374742042,
    5158381.420511637
   ]
  },
  "max_10m": {
   "gradient_pct": 27.323988726131745,
   "start_distance_m": 1284.0,
   "end_distance_m": 1294.0,
   "midpoint_distance_m": 1289.0,
   "start_elevation_m": 225.43422132036494,
   "end_elevation_m": 228.16662019297812,
   "start_xy": [
    1591068.9625447008,
    5158555.154316576
   ],
   "end_xy": [
    1591059.4197182725,
    5158552.168504306
   ]
  },
  "max_20m": {
   "gradient_pct": 22.627532595769964,
   "start_distance_m": 1132.0,
   "end_distance_m": 1152.0,
   "midpoint_distance_m": 1142.0,
   "start_elevation_m": 198.33229048864587,
   "end_elevation_m": 202.85779700779986,
   "start_xy": [
    1591217.9851139698,
    5158575.338409675
   ],
   "end_xy": [
    1591198.6610553742,
    5158572.91864704
   ]
  },
  "max_25m": {
   "gradient_pct": 22.315338651915454,
   "start_distance_m": 1127.0,
   "end_distance_m": 1152.0,
   "midpoint_distance_m": 1139.5,
   "start_elevation_m": 197.278962344821,
   "end_elevation_m": 202.85779700779986,
   "start_xy": [
    1591222.3873311642,
    5158577.709165625
   ],
   "end_xy": [
    1591198.6610553742,
    5158572.91864704
   ]
  },
  "max_50m": {
   "gradient_pct": 21.46767846553308,
   "start_distance_m": 948.0,
   "end_distance_m": 998.0,
   "midpoint_distance_m": 973.0,
   "start_elevation_m": 161.7092590485943,
   "end_elevation_m": 172.44309828136085,
   "start_xy": [
    1591342.0222895711,
    5158704.157156012
   ],
   "end_xy": [
    1591301.800786114,
    5158674.896906164
   ]
  },
  "max_100m": {
   "gradient_pct": 21.092990838541283,
   "start_distance_m": 940.0,
   "end_distance_m": 1040.0,
   "midpoint_distance_m": 990.0,
   "start_elevation_m": 160.04847778896234,
   "end_elevation_m": 181.14146862750363,
   "start_xy": [
    1591346.1951504694,
    5158710.937910855
   ],
   "end_xy": [
    1591267.4462701983,
    5158651.087103241
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -14.009488720263334,
   "start_distance_m": 130.0,
   "end_distance_m": 135.0,
   "midpoint_distance_m": 132.5,
   "start_elevation_m": 83.00707878140005,
   "end_elevation_m": 82.30660434538689,
   "start_xy": [
    1591783.8107449946,
    5159375.521495349
   ],
   "end_xy": [
    1591780.2301392723,
    5159372.031615313
   ]
  },
  "min_10m": {
   "gradient_pct": -11.826555613000096,
   "start_distance_m": 2067.0,
   "end_distance_m": 2077.0,
   "midpoint_distance_m": 2072.0,
   "start_elevation_m": 318.65048502414766,
   "end_elevation_m": 317.46782946284765,
   "start_xy": [
    1590783.6357500313,
    5158075.569963236
   ],
   "end_xy": [
    1590776.7879425087,
    5158068.282471752
   ]
  },
  "min_20m": {
   "gradient_pct": -11.504530107634992,
   "start_distance_m": 2067.0,
   "end_distance_m": 2087.0,
   "midpoint_distance_m": 2077.0,
   "start_elevation_m": 318.65048502414766,
   "end_elevation_m": 316.34957900262066,
   "start_xy": [
    1590783.6357500313,
    5158075.569963236
   ],
   "end_xy": [
    1590769.6958247877,
    5158061.248842304
   ]
  },
  "min_25m": {
   "gradient_pct": -11.237366012839402,
   "start_distance_m": 2061.0,
   "end_distance_m": 2086.0,
   "midpoint_distance_m": 2073.5,
   "start_elevation_m": 319.2635393701598,
   "end_elevation_m": 316.4541978669499,
   "start_xy": [
    1590787.2264359333,
    5158080.366610178
   ],
   "end_xy": [
    1590770.4502883088,
    5158061.905184284
   ]
  },
  "min_50m": {
   "gradient_pct": -9.707572718645451,
   "start_distance_m": 2049.0,
   "end_distance_m": 2099.0,
   "midpoint_distance_m": 2074.0,
   "start_elevation_m": 320.1858983961546,
   "end_elevation_m": 315.33211203683186,
   "start_xy": [
    1590792.7123919534,
    5158090.974823552
   ],
   "end_xy": [
    1590760.6422625366,
    5158053.3727385355
   ]
  },
  "min_100m": {
   "gradient_pct": -4.8511251184203275,
   "start_distance_m": 2031.0,
   "end_distance_m": 2131.0,
   "midpoint_distance_m": 2081.0,
   "start_elevation_m": 321.17508349951646,
   "end_elevation_m": 316.32395838109613,
   "start_xy": [
    1590799.0672956065,
    5158107.814725253
   ],
   "end_xy": [
    1590755.620154818,
    5158026.8016627515
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 43.89088630408011,
   "start_distance_m": 3.0,
   "end_distance_m": 5.0,
   "midpoint_distance_m": 4.0,
   "start_elevation_m": 68.44357266965854,
   "end_elevation_m": 69.32139039574014,
   "start_xy": [
    1591869.4068314508,
    5159434.649091168
   ],
   "end_xy": [
    1591869.0293857513,
    5159436.613151947
   ]
  },
  "max_3m": {
   "gradient_pct": 39.179882136802746,
   "start_distance_m": 2.0,
   "end_distance_m": 5.0,
   "midpoint_distance_m": 3.5,
   "start_elevation_m": 68.14599393163606,
   "end_elevation_m": 69.32139039574014,
   "start_xy": [
    1591869.5955543006,
    5159433.6670607785
   ],
   "end_xy": [
    1591869.0293857513,
    5159436.613151947
   ]
  }
 },
 "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.002,
   "windows_resited": [],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "no_bench_suppression": {
   "masked_fraction": 0.094,
   "windows_resited": [
    2.0
   ],
   "windows_unresolved": [],
   "minima_resited": [
    2.0,
    3.0,
    5.0,
    10.0,
    20.0,
    100.0
   ],
   "minima_unresolved": []
  },
  "texture_suppression": {
   "masked_fraction": 0.106,
   "windows_resited": [
    5.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 2,
   "windows_masked": [
    {
     "window_m": 25.0,
     "start_m": 1388.0,
     "end_m": 1413.0,
     "raw_pct": 24.36,
     "reason": "hump"
    },
    {
     "window_m": 20.0,
     "start_m": 1388.0,
     "end_m": 1408.0,
     "raw_pct": 25.37,
     "reason": "hump"
    },
    {
     "window_m": 10.0,
     "start_m": 1388.0,
     "end_m": 1398.0,
     "raw_pct": 30.24,
     "reason": "hump"
    },
    {
     "window_m": 5.0,
     "start_m": 1393.0,
     "end_m": 1398.0,
     "raw_pct": 38.42,
     "reason": "hump+short-step"
    },
    {
     "window_m": 5.0,
     "start_m": 122.0,
     "end_m": 127.0,
     "raw_pct": 36.58,
     "reason": "hump"
    }
   ],
   "advisory": [],
   "unresolved": [],
   "unstable": [
    {
     "window_m": 5.0,
     "start_m": 1639.0,
     "end_m": 1644.0,
     "raw_pct": 31.53,
     "reason": "short-step",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "short-step",
      "",
      ""
     ]
    }
   ]
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.43,
   "obstruction_max_height_m": 36.84,
   "flagged_windows_m": [
    5,
    10,
    20,
    25,
    50,
    100
   ]
  },
  "excluded_ranges_m": [
   [
    120.0,
    129.0
   ],
   [
    600.0,
    630.0
   ],
   [
    640.0,
    700.0
   ],
   [
    817.0,
    822.0
   ],
   [
    1350.0,
    1380.0
   ],
   [
    1386.0,
    1415.0
   ],
   [
    1910.0,
    1960.0
   ],
   [
    2000.0,
    2030.0
   ],
   [
    2200.0,
    2240.0
   ],
   [
    2460.0,
    2490.0
   ],
   [
    3040.0,
    3070.0
   ]
  ],
  "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/BX25.tiff"
  ],
  "calculated_at": "2026-09-28T05:35:09+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": [
   "BX25"
  ],
  "route_summit_trim_m": 597.0,
  "route_summit_trim_loss_m": 29.0,
  "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",
  "suppression_unstable": [
   5.0
  ],
  "carriageway": {
   "stations": 140,
   "stations_resolved": 140,
   "width_median_m": 4.5,
   "width_p10_m": 2.75,
   "width_min_m": 1.25,
   "width_max_m": 12.0,
   "bounded_share": 0.329,
   "unbounded_share": 0.671,
   "confidence_median": 0.0,
   "width_median_bounded_m": 4.25,
   "window_m": [
    1127.0,
    1152.0
   ],
   "width_at_max25_m": 5.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": 140,
    "stations_resolved": 140,
    "width_median_m": 3.25,
    "width_p10_m": 1.0,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.9,
    "unbounded_share": 0.1,
    "confidence_median": 1.0,
    "width_median_bounded_m": 2.75,
    "window_m": [
     1127.0,
     1152.0
    ],
    "width_at_max25_m": 3.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": "Banks Peninsula Community",
  "county": "Canterbury",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}