{
 "ocl_version": "0.1.0",
 "name": "Te Towaka-Port Ligar Road",
 "slug": "te-towaka-port-ligar-road-3",
 "confidence": "U",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 47.176878604248174,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1451.0,
   "end_distance_m": 1453.0,
   "start_elevation_m": 18.93140971950577,
   "end_elevation_m": 19.874947291590733,
   "min_gradient_pct": -51.60815760309987,
   "suppressed_max_gradient_pct": 83.40081247686655,
   "suppressed_location_m": [
    2439.0,
    2441.0
   ],
   "suppressed_min_gradient_pct": -79.90046682097596,
   "suppressed_min_location_m": [
    7.0,
    9.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 42.036390666634915,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "placement_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1450.0,
   "end_distance_m": 1453.0,
   "start_elevation_m": 18.613855571591685,
   "end_elevation_m": 19.874947291590733,
   "min_gradient_pct": -49.075294281248226,
   "suppressed_max_gradient_pct": 71.22178649182636,
   "suppressed_location_m": [
    12.0,
    15.0
   ],
   "suppressed_min_gradient_pct": -74.36960889971137,
   "suppressed_min_location_m": [
    6.0,
    9.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 34.486887124793384,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "placement_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "suppression_unstable"
   ],
   "start_distance_m": 3289.0,
   "end_distance_m": 3294.0,
   "start_elevation_m": 135.09023176158317,
   "end_elevation_m": 136.81457611782284,
   "min_gradient_pct": -36.23971786896405,
   "suppressed_max_gradient_pct": 55.16410257363251,
   "suppressed_location_m": [
    10.0,
    15.0
   ],
   "suppressed_min_gradient_pct": -60.890749864568576,
   "suppressed_min_location_m": [
    1376.0,
    1381.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 24.614563488812564,
   "diagnostic": false,
   "flags": [
    "structure_excluded_min",
    "placement_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 7077.0,
   "end_distance_m": 7087.0,
   "start_elevation_m": 333.43205615927155,
   "end_elevation_m": 335.8935125081528,
   "min_gradient_pct": -24.506558574242447,
   "suppressed_max_gradient_pct": 32.80845043608224,
   "suppressed_location_m": [
    3472.0,
    3482.0
   ],
   "suppressed_min_gradient_pct": -37.82860728906449,
   "suppressed_min_location_m": [
    1371.0,
    1381.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 20.265486548829728,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "placement_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 3964.0,
   "end_distance_m": 3984.0,
   "start_elevation_m": 138.83695629237462,
   "end_elevation_m": 142.89005360214057,
   "min_gradient_pct": -18.76150329052315,
   "suppressed_max_gradient_pct": 24.585255967093005,
   "suppressed_location_m": [
    2438.0,
    2458.0
   ],
   "suppressed_min_gradient_pct": -22.695801633634876,
   "suppressed_min_location_m": [
    1361.0,
    1381.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 20.746966549000604,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "placement_excluded_min",
    "canopy_or_structure"
   ],
   "start_distance_m": 3959.0,
   "end_distance_m": 3984.0,
   "start_elevation_m": 137.70331196489042,
   "end_elevation_m": 142.89005360214057,
   "min_gradient_pct": -17.368031281244356,
   "suppressed_max_gradient_pct": 22.928535957722996,
   "suppressed_location_m": [
    2438.0,
    2463.0
   ],
   "suppressed_min_gradient_pct": -20.892850315004406,
   "suppressed_min_location_m": [
    1356.0,
    1381.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 15.121484415221744,
   "diagnostic": false,
   "flags": [
    "placement_excluded_min",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 4595.0,
   "end_distance_m": 4645.0,
   "start_elevation_m": 195.85408475882053,
   "end_elevation_m": 203.4148269664314,
   "min_gradient_pct": -12.920821136762086,
   "suppressed_max_gradient_pct": 16.64483685230698,
   "suppressed_location_m": [
    6370.0,
    6420.0
   ],
   "suppressed_min_gradient_pct": -15.494826557712058,
   "suppressed_min_location_m": [
    1243.0,
    1293.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 11.883123287059561,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "placement_excluded_min",
    "texture_excluded",
    "texture_excluded"
   ],
   "start_distance_m": 2445.0,
   "end_distance_m": 2545.0,
   "start_elevation_m": 81.401813769565,
   "end_elevation_m": 93.28493705662456,
   "min_gradient_pct": -8.975732149585966,
   "suppressed_max_gradient_pct": 13.707497132153863,
   "suppressed_location_m": [
    2399.0,
    2499.0
   ],
   "suppressed_min_gradient_pct": -12.914324206227455,
   "suppressed_min_location_m": [
    1281.0,
    1381.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.316,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 46.0,
  "shape_class": "sustained"
 },
 "length_m": 7568.943030845956,
 "start_elevation_m": 7.459333177721598,
 "end_elevation_m": 343.30642411798107,
 "endpoint_gain_m": 335.8470909402595,
 "overall_gradient_pct": 4.437172925883721,
 "accumulated_ascent_m": 512.8006112766274,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 34.486887124793384,
   "start_distance_m": 3289.0,
   "end_distance_m": 3294.0,
   "midpoint_distance_m": 3291.5,
   "start_elevation_m": 135.09023176158317,
   "end_elevation_m": 136.81457611782284,
   "start_xy": [
    1674614.6922694938,
    5464693.558619616
   ],
   "end_xy": [
    1674619.3296377743,
    5464695.428062161
   ]
  },
  "max_10m": {
   "gradient_pct": 24.614563488812564,
   "start_distance_m": 7077.0,
   "end_distance_m": 7087.0,
   "midpoint_distance_m": 7082.0,
   "start_elevation_m": 333.43205615927155,
   "end_elevation_m": 335.8935125081528,
   "start_xy": [
    1677299.1314739678,
    5466169.564899642
   ],
   "end_xy": [
    1677305.769307677,
    5466176.942967435
   ]
  },
  "max_20m": {
   "gradient_pct": 20.265486548829728,
   "start_distance_m": 3964.0,
   "end_distance_m": 3984.0,
   "midpoint_distance_m": 3974.0,
   "start_elevation_m": 138.83695629237462,
   "end_elevation_m": 142.89005360214057,
   "start_xy": [
    1675151.2395197488,
    5464824.865934653
   ],
   "end_xy": [
    1675156.7607748697,
    5464805.684204034
   ]
  },
  "max_25m": {
   "gradient_pct": 20.746966549000604,
   "start_distance_m": 3959.0,
   "end_distance_m": 3984.0,
   "midpoint_distance_m": 3971.5,
   "start_elevation_m": 137.70331196489042,
   "end_elevation_m": 142.89005360214057,
   "start_xy": [
    1675149.2570660335,
    5464829.455515138
   ],
   "end_xy": [
    1675156.7607748697,
    5464805.684204034
   ]
  },
  "max_50m": {
   "gradient_pct": 15.121484415221744,
   "start_distance_m": 4595.0,
   "end_distance_m": 4645.0,
   "midpoint_distance_m": 4620.0,
   "start_elevation_m": 195.85408475882053,
   "end_elevation_m": 203.4148269664314,
   "start_xy": [
    1675669.3123536115,
    5464880.146484696
   ],
   "end_xy": [
    1675692.6754267104,
    5464923.629266043
   ]
  },
  "max_100m": {
   "gradient_pct": 11.883123287059561,
   "start_distance_m": 2445.0,
   "end_distance_m": 2545.0,
   "midpoint_distance_m": 2495.0,
   "start_elevation_m": 81.401813769565,
   "end_elevation_m": 93.28493705662456,
   "start_xy": [
    1673844.3718725846,
    5464510.8220300255
   ],
   "end_xy": [
    1673938.9963886756,
    5464523.101765417
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -36.23971786896405,
   "start_distance_m": 1177.0,
   "end_distance_m": 1182.0,
   "midpoint_distance_m": 1179.5,
   "start_elevation_m": 34.901862399084436,
   "end_elevation_m": 33.089876505636234,
   "start_xy": [
    1673487.7766027162,
    5463727.272862644
   ],
   "end_xy": [
    1673492.489144641,
    5463728.943775152
   ]
  },
  "min_10m": {
   "gradient_pct": -24.506558574242447,
   "start_distance_m": 1172.0,
   "end_distance_m": 1182.0,
   "midpoint_distance_m": 1177.0,
   "start_elevation_m": 35.54053236306048,
   "end_elevation_m": 33.089876505636234,
   "start_xy": [
    1673482.9526627567,
    5463725.9654639065
   ],
   "end_xy": [
    1673492.489144641,
    5463728.943775152
   ]
  },
  "min_20m": {
   "gradient_pct": -18.76150329052315,
   "start_distance_m": 1239.0,
   "end_distance_m": 1259.0,
   "midpoint_distance_m": 1249.0,
   "start_elevation_m": 31.17076407407147,
   "end_elevation_m": 27.41846341596684,
   "start_xy": [
    1673545.9849943,
    5463743.7214398645
   ],
   "end_xy": [
    1673563.0040708901,
    5463750.581171748
   ]
  },
  "min_25m": {
   "gradient_pct": -17.368031281244356,
   "start_distance_m": 1234.0,
   "end_distance_m": 1259.0,
   "midpoint_distance_m": 1246.5,
   "start_elevation_m": 31.76047123627793,
   "end_elevation_m": 27.41846341596684,
   "start_xy": [
    1673541.0051296102,
    5463744.152645029
   ],
   "end_xy": [
    1673563.0040708901,
    5463750.581171748
   ]
  },
  "min_50m": {
   "gradient_pct": -12.920821136762086,
   "start_distance_m": 1223.0,
   "end_distance_m": 1273.0,
   "midpoint_distance_m": 1248.0,
   "start_elevation_m": 32.93905826669253,
   "end_elevation_m": 26.478647698311484,
   "start_xy": [
    1673530.0198069788,
    5463744.03516968
   ],
   "end_xy": [
    1673564.4267654864,
    5463764.141185672
   ]
  },
  "min_100m": {
   "gradient_pct": -8.975732149585966,
   "start_distance_m": 1173.0,
   "end_distance_m": 1273.0,
   "midpoint_distance_m": 1223.0,
   "start_elevation_m": 35.45437984789745,
   "end_elevation_m": 26.478647698311484,
   "start_xy": [
    1673483.9205813853,
    5463726.216727769
   ],
   "end_xy": [
    1673564.4267654864,
    5463764.141185672
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 47.176878604248174,
   "start_distance_m": 1451.0,
   "end_distance_m": 1453.0,
   "midpoint_distance_m": 1452.0,
   "start_elevation_m": 18.93140971950577,
   "end_elevation_m": 19.874947291590733,
   "start_xy": [
    1673674.3112032749,
    5463888.176445499
   ],
   "end_xy": [
    1673675.407421676,
    5463889.849259063
   ]
  },
  "max_3m": {
   "gradient_pct": 42.036390666634915,
   "start_distance_m": 1450.0,
   "end_distance_m": 1453.0,
   "midpoint_distance_m": 1451.5,
   "start_elevation_m": 18.613855571591685,
   "end_elevation_m": 19.874947291590733,
   "start_xy": [
    1673673.7630940746,
    5463887.340038718
   ],
   "end_xy": [
    1673675.407421676,
    5463889.849259063
   ]
  }
 },
 "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,
    20.0,
    25.0,
    100.0
   ],
   "windows_unresolved": [],
   "minima_resited": [
    2.0,
    3.0,
    5.0,
    10.0,
    20.0,
    25.0,
    100.0
   ],
   "minima_unresolved": []
  },
  "no_bench_suppression": {
   "masked_fraction": 0.017,
   "windows_resited": [],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "placement_suppression": {
   "masked_fraction": 0.027,
   "windows_resited": [],
   "windows_unresolved": [],
   "minima_resited": [
    3.0,
    5.0,
    10.0,
    20.0,
    25.0,
    50.0,
    100.0
   ],
   "minima_unresolved": []
  },
  "texture_suppression": {
   "masked_fraction": 0.041,
   "windows_resited": [
    10.0,
    100.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 3,
   "windows_masked": [
    {
     "window_m": 20.0,
     "start_m": 6362.0,
     "end_m": 6382.0,
     "raw_pct": 23.63,
     "reason": "hump"
    },
    {
     "window_m": 10.0,
     "start_m": 3472.0,
     "end_m": 3482.0,
     "raw_pct": 32.81,
     "reason": "short-step"
    },
    {
     "window_m": 5.0,
     "start_m": 3472.0,
     "end_m": 3477.0,
     "raw_pct": 41.47,
     "reason": "short-step"
    },
    {
     "window_m": 20.0,
     "start_m": 4256.0,
     "end_m": 4276.0,
     "raw_pct": 20.29,
     "reason": "hump"
    },
    {
     "window_m": 10.0,
     "start_m": 6334.0,
     "end_m": 6344.0,
     "raw_pct": 27.36,
     "reason": "hump+short-step"
    },
    {
     "window_m": 5.0,
     "start_m": 4673.0,
     "end_m": 4678.0,
     "raw_pct": 36.1,
     "reason": "hump"
    },
    {
     "window_m": 10.0,
     "start_m": 2078.0,
     "end_m": 2088.0,
     "raw_pct": 25.12,
     "reason": "hump"
    }
   ],
   "advisory": [],
   "unresolved": [],
   "unstable": [
    {
     "window_m": 5.0,
     "start_m": 3289.0,
     "end_m": 3294.0,
     "raw_pct": 34.49,
     "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.255,
   "obstruction_max_height_m": 23.45,
   "flagged_windows_m": [
    2,
    3,
    10,
    20,
    25,
    50
   ]
  },
  "excluded_ranges_m": [
   [
    4.0,
    17.0
   ],
   [
    614.0,
    619.0
   ],
   [
    1051.0,
    1056.0
   ],
   [
    1120.0,
    1150.0
   ],
   [
    1280.0,
    1320.0
   ],
   [
    1376.0,
    1383.0
   ],
   [
    2076.0,
    2090.0
   ],
   [
    2437.0,
    2443.0
   ],
   [
    2728.0,
    2733.0
   ],
   [
    3230.0,
    3270.0
   ],
   [
    3470.0,
    3484.0
   ],
   [
    4254.0,
    4278.0
   ],
   [
    4671.0,
    4680.0
   ],
   [
    4790.0,
    4830.0
   ],
   [
    6332.0,
    6346.0
   ],
   [
    6360.0,
    6384.0
   ],
   [
    6705.0,
    6710.0
   ]
  ],
  "review": [
   "short_window_divergence"
  ],
  "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-n1",
   "road_pbf": "block-batch-nz-n1.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:ff0dec6edae18a40"
  },
  "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/BP28.tiff"
  ],
  "calculated_at": "2026-09-28T05:02:01+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-n1.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-n1",
  "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": [
   "BP28"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "suppression_unstable": [
   5.0
  ],
  "carriageway": {
   "stations": 309,
   "stations_resolved": 309,
   "width_median_m": 3.5,
   "width_p10_m": 1.5,
   "width_min_m": 0.5,
   "width_max_m": 12.0,
   "bounded_share": 0.278,
   "unbounded_share": 0.722,
   "confidence_median": 0.0,
   "width_median_bounded_m": 2.0,
   "window_m": [
    3959.0,
    3984.0
   ],
   "width_at_max25_m": 4.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": 309,
    "stations_resolved": 309,
    "width_median_m": 4.5,
    "width_p10_m": 1.25,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.877,
    "unbounded_share": 0.123,
    "confidence_median": 1.0,
    "width_median_bounded_m": 4.0,
    "window_m": [
     3959.0,
     3984.0
    ],
    "width_at_max25_m": 1.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": "Marlborough",
  "county": "Marlborough",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}