{
 "ocl_version": "0.1.0",
 "name": "Patutahi Road",
 "slug": "patutahi-road",
 "confidence": "U",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 43.4647767709194,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "no_bench_excluded_min",
    "texture_excluded"
   ],
   "start_distance_m": 910.0,
   "end_distance_m": 912.0,
   "start_elevation_m": 137.69064486579566,
   "end_elevation_m": 138.55994040121405,
   "min_gradient_pct": -40.31439086744939,
   "suppressed_max_gradient_pct": 70.38092484970946,
   "suppressed_location_m": [
    1794.0,
    1796.0
   ],
   "suppressed_min_gradient_pct": -58.81945595329299,
   "suppressed_min_location_m": [
    383.0,
    385.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 38.45654525903986,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded"
   ],
   "start_distance_m": 910.0,
   "end_distance_m": 913.0,
   "start_elevation_m": 137.69064486579566,
   "end_elevation_m": 138.84434122356686,
   "min_gradient_pct": -42.53853738092156,
   "suppressed_max_gradient_pct": 72.54169447856403,
   "suppressed_location_m": [
    1794.0,
    1797.0
   ],
   "suppressed_min_gradient_pct": -52.72652478031811,
   "suppressed_min_location_m": [
    383.0,
    386.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 29.8152485717344,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_excluded",
    "texture_unresolved"
   ],
   "start_distance_m": 908.0,
   "end_distance_m": 913.0,
   "start_elevation_m": 137.35357879498014,
   "end_elevation_m": 138.84434122356686,
   "min_gradient_pct": -35.21308597591087,
   "suppressed_max_gradient_pct": 61.69615767213372,
   "suppressed_location_m": [
    1794.0,
    1799.0
   ],
   "suppressed_min_gradient_pct": -38.8543125958725,
   "suppressed_min_location_m": [
    383.0,
    388.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 24.377718913149806,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 903.0,
   "end_distance_m": 913.0,
   "start_elevation_m": 136.40656933225188,
   "end_elevation_m": 138.84434122356686,
   "min_gradient_pct": -25.43899638274638,
   "suppressed_max_gradient_pct": 46.80614311570878,
   "suppressed_location_m": [
    1792.0,
    1802.0
   ],
   "suppressed_min_gradient_pct": -33.54878619718889,
   "suppressed_min_location_m": [
    383.0,
    393.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 19.738685241292444,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1735.0,
   "end_distance_m": 1755.0,
   "start_elevation_m": 202.81217949758278,
   "end_elevation_m": 206.75991654584126,
   "min_gradient_pct": -18.548858999957503,
   "suppressed_max_gradient_pct": 33.08926223374954,
   "suppressed_location_m": [
    1700.0,
    1720.0
   ],
   "suppressed_min_gradient_pct": -20.580627025516804,
   "suppressed_min_location_m": [
    1879.0,
    1899.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 20.46314311500089,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "no_bench_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 1730.0,
   "end_distance_m": 1755.0,
   "start_elevation_m": 201.64413076709104,
   "end_elevation_m": 206.75991654584126,
   "min_gradient_pct": -15.715258255951312,
   "suppressed_max_gradient_pct": 32.70529674099839,
   "suppressed_location_m": [
    1696.0,
    1721.0
   ],
   "suppressed_min_gradient_pct": -18.15433982472075,
   "suppressed_min_location_m": [
    1878.0,
    1903.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 15.95165085324561,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "texture_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 821.0,
   "end_distance_m": 871.0,
   "start_elevation_m": 124.70477595006099,
   "end_elevation_m": 132.6806013766838,
   "min_gradient_pct": -11.44882524978226,
   "suppressed_max_gradient_pct": 28.22543630924184,
   "suppressed_location_m": [
    1677.0,
    1727.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 15.28396674949292,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "texture_excluded_min",
    "canopy_or_structure"
   ],
   "start_distance_m": 821.0,
   "end_distance_m": 921.0,
   "start_elevation_m": 124.70477595006099,
   "end_elevation_m": 139.9887426995539,
   "min_gradient_pct": -3.714265991853779,
   "suppressed_max_gradient_pct": 21.468945049697908,
   "suppressed_location_m": [
    1665.0,
    1765.0
   ],
   "suppressed_min_gradient_pct": -4.536205353177905,
   "suppressed_min_location_m": [
    377.0,
    477.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.34,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 98.0,
  "shape_class": "sustained"
 },
 "length_m": 1985.9049437757214,
 "start_elevation_m": 113.40317541009009,
 "end_elevation_m": 232.53402172608253,
 "endpoint_gain_m": 119.13084631599244,
 "overall_gradient_pct": 5.998819162486888,
 "accumulated_ascent_m": 182.03312129651465,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 29.8152485717344,
   "start_distance_m": 908.0,
   "end_distance_m": 913.0,
   "midpoint_distance_m": 910.5,
   "start_elevation_m": 137.35357879498014,
   "end_elevation_m": 138.84434122356686,
   "start_xy": [
    1694448.630552381,
    6063256.614692899
   ],
   "end_xy": [
    1694449.1902110097,
    6063251.646113402
   ]
  },
  "max_10m": {
   "gradient_pct": 24.377718913149806,
   "start_distance_m": 903.0,
   "end_distance_m": 913.0,
   "midpoint_distance_m": 908.0,
   "start_elevation_m": 136.40656933225188,
   "end_elevation_m": 138.84434122356686,
   "start_xy": [
    1694447.8648339068,
    6063261.523611664
   ],
   "end_xy": [
    1694449.1902110097,
    6063251.646113402
   ]
  },
  "max_20m": {
   "gradient_pct": 19.738685241292444,
   "start_distance_m": 1735.0,
   "end_distance_m": 1755.0,
   "midpoint_distance_m": 1745.0,
   "start_elevation_m": 202.81217949758278,
   "end_elevation_m": 206.75991654584126,
   "start_xy": [
    1694718.0267810316,
    6062502.375084517
   ],
   "end_xy": [
    1694732.2916495532,
    6062488.363070096
   ]
  },
  "max_25m": {
   "gradient_pct": 20.46314311500089,
   "start_distance_m": 1730.0,
   "end_distance_m": 1755.0,
   "midpoint_distance_m": 1742.5,
   "start_elevation_m": 201.64413076709104,
   "end_elevation_m": 206.75991654584126,
   "start_xy": [
    1694714.4750979985,
    6062505.894395192
   ],
   "end_xy": [
    1694732.2916495532,
    6062488.363070096
   ]
  },
  "max_50m": {
   "gradient_pct": 15.95165085324561,
   "start_distance_m": 821.0,
   "end_distance_m": 871.0,
   "midpoint_distance_m": 846.0,
   "start_elevation_m": 124.70477595006099,
   "end_elevation_m": 132.6806013766838,
   "start_xy": [
    1694390.5093980597,
    6063317.461178133
   ],
   "end_xy": [
    1694427.9531630517,
    6063285.369426406
   ]
  },
  "max_100m": {
   "gradient_pct": 15.28396674949292,
   "start_distance_m": 821.0,
   "end_distance_m": 921.0,
   "midpoint_distance_m": 871.0,
   "start_elevation_m": 124.70477595006099,
   "end_elevation_m": 139.9887426995539,
   "start_xy": [
    1694390.5093980597,
    6063317.461178133
   ],
   "end_xy": [
    1694450.0856648155,
    6063243.696386207
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -35.21308597591087,
   "start_distance_m": 1176.0,
   "end_distance_m": 1181.0,
   "midpoint_distance_m": 1178.5,
   "start_elevation_m": 164.137607024425,
   "end_elevation_m": 162.37695272562945,
   "start_xy": [
    1694532.7324562331,
    6063014.340551843
   ],
   "end_xy": [
    1694534.4566464464,
    6063009.647240847
   ]
  },
  "min_10m": {
   "gradient_pct": -25.43899638274638,
   "start_distance_m": 1171.0,
   "end_distance_m": 1181.0,
   "midpoint_distance_m": 1176.0,
   "start_elevation_m": 164.9208523639041,
   "end_elevation_m": 162.37695272562945,
   "start_xy": [
    1694531.0032678552,
    6063019.031986608
   ],
   "end_xy": [
    1694534.4566464464,
    6063009.647240847
   ]
  },
  "min_20m": {
   "gradient_pct": -18.548858999957503,
   "start_distance_m": 1161.0,
   "end_distance_m": 1181.0,
   "midpoint_distance_m": 1171.0,
   "start_elevation_m": 166.08672452562095,
   "end_elevation_m": 162.37695272562945,
   "start_xy": [
    1694527.4230504397,
    6063028.369119105
   ],
   "end_xy": [
    1694534.4566464464,
    6063009.647240847
   ]
  },
  "min_25m": {
   "gradient_pct": -15.715258255951312,
   "start_distance_m": 1156.0,
   "end_distance_m": 1181.0,
   "midpoint_distance_m": 1168.5,
   "start_elevation_m": 166.30576728961728,
   "end_elevation_m": 162.37695272562945,
   "start_xy": [
    1694524.9056633457,
    6063032.605306249
   ],
   "end_xy": [
    1694534.4566464464,
    6063009.647240847
   ]
  },
  "min_50m": {
   "gradient_pct": -11.44882524978226,
   "start_distance_m": 1158.0,
   "end_distance_m": 1208.0,
   "midpoint_distance_m": 1183.0,
   "start_elevation_m": 166.26548016431076,
   "end_elevation_m": 160.54106753941963,
   "start_xy": [
    1694526.2041777566,
    6063031.08416841
   ],
   "end_xy": [
    1694547.8704649024,
    6062986.401662938
   ]
  },
  "min_100m": {
   "gradient_pct": -3.714265991853779,
   "start_distance_m": 1140.0,
   "end_distance_m": 1240.0,
   "midpoint_distance_m": 1190.0,
   "start_elevation_m": 164.4673177941578,
   "end_elevation_m": 160.75305180230401,
   "start_xy": [
    1694514.2209127843,
    6063044.507392026
   ],
   "end_xy": [
    1694565.7632177935,
    6062959.871502857
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 43.4647767709194,
   "start_distance_m": 910.0,
   "end_distance_m": 912.0,
   "midpoint_distance_m": 911.0,
   "start_elevation_m": 137.69064486579566,
   "end_elevation_m": 138.55994040121405,
   "start_xy": [
    1694448.8544158326,
    6063254.627261101
   ],
   "end_xy": [
    1694449.0782792838,
    6063252.639829302
   ]
  },
  "max_3m": {
   "gradient_pct": 38.45654525903986,
   "start_distance_m": 910.0,
   "end_distance_m": 913.0,
   "midpoint_distance_m": 911.5,
   "start_elevation_m": 137.69064486579566,
   "end_elevation_m": 138.84434122356686,
   "start_xy": [
    1694448.8544158326,
    6063254.627261101
   ],
   "end_xy": [
    1694449.1902110097,
    6063251.646113402
   ]
  }
 },
 "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.056,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    10.0,
    20.0,
    25.0,
    50.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.168,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    20.0,
    25.0
   ],
   "windows_unresolved": [],
   "minima_resited": [
    2.0
   ],
   "minima_unresolved": []
  },
  "texture_suppression": {
   "masked_fraction": 0.22,
   "windows_resited": [
    5.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 4,
   "windows_masked": [
    {
     "window_m": 25.0,
     "start_m": 1244.0,
     "end_m": 1269.0,
     "raw_pct": 24.32,
     "reason": "hump"
    },
    {
     "window_m": 20.0,
     "start_m": 1244.0,
     "end_m": 1264.0,
     "raw_pct": 24.88,
     "reason": "hump"
    },
    {
     "window_m": 25.0,
     "start_m": 978.0,
     "end_m": 1003.0,
     "raw_pct": 21.08,
     "reason": "hump"
    },
    {
     "window_m": 20.0,
     "start_m": 1939.0,
     "end_m": 1959.0,
     "raw_pct": 22.88,
     "reason": "hump"
    },
    {
     "window_m": 10.0,
     "start_m": 1942.0,
     "end_m": 1952.0,
     "raw_pct": 28.24,
     "reason": "hump"
    },
    {
     "window_m": 5.0,
     "start_m": 1944.0,
     "end_m": 1949.0,
     "raw_pct": 31.69,
     "reason": "hump"
    },
    {
     "window_m": 5.0,
     "start_m": 1781.0,
     "end_m": 1786.0,
     "raw_pct": 30.45,
     "reason": "mask-edge"
    },
    {
     "window_m": 5.0,
     "start_m": 328.0,
     "end_m": 333.0,
     "raw_pct": 30.08,
     "reason": "short-step"
    }
   ],
   "advisory": [],
   "unresolved": [
    {
     "window_m": 5.0,
     "start_m": 908.0,
     "end_m": 913.0,
     "pct": 29.82,
     "reason": "short-step"
    }
   ]
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.585,
   "obstruction_max_height_m": 18.33,
   "flagged_windows_m": [
    10,
    20,
    25,
    50,
    100
   ]
  },
  "excluded_ranges_m": [
   [
    80.0,
    150.0
   ],
   [
    254.0,
    259.0
   ],
   [
    270.0,
    320.0
   ],
   [
    326.0,
    335.0
   ],
   [
    370.0,
    400.0
   ],
   [
    976.0,
    1005.0
   ],
   [
    1242.0,
    1271.0
   ],
   [
    1310.0,
    1340.0
   ],
   [
    1420.0,
    1450.0
   ],
   [
    1670.0,
    1700.0
   ],
   [
    1703.0,
    1708.0
   ],
   [
    1711.0,
    1722.0
   ],
   [
    1779.0,
    1801.0
   ],
   [
    1847.0,
    1852.0
   ],
   [
    1879.0,
    1915.0
   ],
   [
    1937.0,
    1961.0
   ],
   [
    1979.0,
    1984.0
   ]
  ],
  "review": [
   "texture_unresolved"
  ],
  "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-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/AW29.tiff"
  ],
  "calculated_at": "2026-09-28T05:17:31+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": [
   "AW29"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "carriageway": {
   "stations": 85,
   "stations_resolved": 85,
   "width_median_m": 3.75,
   "width_p10_m": 1.85,
   "width_min_m": 0.5,
   "width_max_m": 10.5,
   "bounded_share": 0.259,
   "unbounded_share": 0.741,
   "confidence_median": 0.0,
   "width_median_bounded_m": 2.75,
   "window_m": [
    1730.0,
    1755.0
   ],
   "width_at_max25_m": 2.0,
   "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": 85,
    "stations_resolved": 85,
    "width_median_m": 2.0,
    "width_p10_m": 1.0,
    "width_min_m": 0.5,
    "width_max_m": 11.5,
    "bounded_share": 0.894,
    "unbounded_share": 0.106,
    "confidence_median": 1.0,
    "width_median_bounded_m": 1.75,
    "window_m": [
     1730.0,
     1755.0
    ],
    "width_at_max25_m": 2.5,
    "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": "Bay of Islands",
  "county": "Northland",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}