{
 "ocl_version": "0.1.0",
 "name": "Patea Road",
 "slug": "patea-road",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 48.48773571696512,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 426.0,
   "end_distance_m": 428.0,
   "start_elevation_m": 125.1793068849374,
   "end_elevation_m": 126.1490615992767,
   "min_gradient_pct": -30.646812040650673,
   "suppressed_max_gradient_pct": 67.50888589962614,
   "suppressed_location_m": [
    723.0,
    725.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 38.233437829179216,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 345.0,
   "end_distance_m": 348.0,
   "start_elevation_m": 109.60448010198981,
   "end_elevation_m": 110.75148323686518,
   "min_gradient_pct": -22.248323316606882,
   "suppressed_max_gradient_pct": 56.55079492881043,
   "suppressed_location_m": [
    722.0,
    725.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 34.32728495528437,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "suppression_unstable",
    "canopy_or_structure"
   ],
   "start_distance_m": 423.0,
   "end_distance_m": 428.0,
   "start_elevation_m": 124.43269735151249,
   "end_elevation_m": 126.1490615992767,
   "min_gradient_pct": -15.177834726000299,
   "suppressed_max_gradient_pct": 40.86650513812856,
   "suppressed_location_m": [
    720.0,
    725.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 27.425844427378934,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 703.0,
   "end_distance_m": 713.0,
   "start_elevation_m": 164.3046513541538,
   "end_elevation_m": 167.0472357968917,
   "min_gradient_pct": -8.27506516439442
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 23.583338334344575,
   "diagnostic": false,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 693.0,
   "end_distance_m": 713.0,
   "start_elevation_m": 162.33056813002278,
   "end_elevation_m": 167.0472357968917,
   "min_gradient_pct": -6.71411208555412,
   "suppressed_max_gradient_pct": 24.341343133656466,
   "suppressed_location_m": [
    705.0,
    725.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 22.702611781950736,
   "diagnostic": false,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 622.0,
   "end_distance_m": 647.0,
   "start_elevation_m": 147.34115555084963,
   "end_elevation_m": 153.01680849633732,
   "min_gradient_pct": -6.731248229521498,
   "suppressed_max_gradient_pct": 23.393110371718535,
   "suppressed_location_m": [
    700.0,
    725.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 22.017631622646718,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 589.0,
   "end_distance_m": 639.0,
   "start_elevation_m": 140.2844356787996,
   "end_elevation_m": 151.29325149012297,
   "min_gradient_pct": -3.1411777345295775
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 21.446380446498466,
   "diagnostic": false,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 584.0,
   "end_distance_m": 684.0,
   "start_elevation_m": 139.22255644343807,
   "end_elevation_m": 160.66893688993653,
   "min_gradient_pct": -0.8917990410970589,
   "suppressed_max_gradient_pct": 21.576261666023242,
   "suppressed_location_m": [
    625.0,
    725.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.412,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 179.0,
  "shape_class": "sustained"
 },
 "length_m": 750.8402303763023,
 "start_elevation_m": 93.03953350988408,
 "end_elevation_m": 173.81659403354595,
 "endpoint_gain_m": 80.77706052366187,
 "overall_gradient_pct": 10.758222223012536,
 "accumulated_ascent_m": 89.51583784289566,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 34.32728495528437,
   "start_distance_m": 423.0,
   "end_distance_m": 428.0,
   "midpoint_distance_m": 425.5,
   "start_elevation_m": 124.43269735151249,
   "end_elevation_m": 126.1490615992767,
   "start_xy": [
    1692166.506608813,
    6062421.87496995
   ],
   "end_xy": [
    1692170.8155404541,
    6062424.411327203
   ]
  },
  "max_10m": {
   "gradient_pct": 27.425844427378934,
   "start_distance_m": 703.0,
   "end_distance_m": 713.0,
   "midpoint_distance_m": 708.0,
   "start_elevation_m": 164.3046513541538,
   "end_elevation_m": 167.0472357968917,
   "start_xy": [
    1692438.3769629276,
    6062449.71932664
   ],
   "end_xy": [
    1692448.2257060537,
    6062451.452029394
   ]
  },
  "max_20m": {
   "gradient_pct": 23.583338334344575,
   "start_distance_m": 693.0,
   "end_distance_m": 713.0,
   "midpoint_distance_m": 703.0,
   "start_elevation_m": 162.33056813002278,
   "end_elevation_m": 167.0472357968917,
   "start_xy": [
    1692428.5282198016,
    6062447.986623885
   ],
   "end_xy": [
    1692448.2257060537,
    6062451.452029394
   ]
  },
  "max_25m": {
   "gradient_pct": 22.702611781950736,
   "start_distance_m": 622.0,
   "end_distance_m": 647.0,
   "midpoint_distance_m": 634.5,
   "start_elevation_m": 147.34115555084963,
   "end_elevation_m": 153.01680849633732,
   "start_xy": [
    1692357.6759435034,
    6062445.506788109
   ],
   "end_xy": [
    1692382.6746656217,
    6062445.270374537
   ]
  },
  "max_50m": {
   "gradient_pct": 22.017631622646718,
   "start_distance_m": 589.0,
   "end_distance_m": 639.0,
   "midpoint_distance_m": 614.0,
   "start_elevation_m": 140.2844356787996,
   "end_elevation_m": 151.29325149012297,
   "start_xy": [
    1692324.6944776971,
    6062445.047884844
   ],
   "end_xy": [
    1692374.6750934962,
    6062445.353113961
   ]
  },
  "max_100m": {
   "gradient_pct": 21.446380446498466,
   "start_distance_m": 584.0,
   "end_distance_m": 684.0,
   "midpoint_distance_m": 634.0,
   "start_elevation_m": 139.22255644343807,
   "end_elevation_m": 160.66893688993653,
   "start_xy": [
    1692319.729302042,
    6062444.458791718
   ],
   "end_xy": [
    1692419.6195827539,
    6062446.798366906
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -15.177834726000299,
   "start_distance_m": 17.0,
   "end_distance_m": 22.0,
   "midpoint_distance_m": 19.5,
   "start_elevation_m": 93.15659406457736,
   "end_elevation_m": 92.39770232827735,
   "start_xy": [
    1691789.4332759618,
    6062466.476660474
   ],
   "end_xy": [
    1691793.235946399,
    6062463.230170439
   ]
  },
  "min_10m": {
   "gradient_pct": -8.27506516439442,
   "start_distance_m": 16.0,
   "end_distance_m": 26.0,
   "midpoint_distance_m": 21.0,
   "start_elevation_m": 93.11998079368796,
   "end_elevation_m": 92.29247427724852,
   "start_xy": [
    1691788.6727418741,
    6062467.125958481
   ],
   "end_xy": [
    1691796.2780827489,
    6062460.632978411
   ]
  },
  "min_20m": {
   "gradient_pct": -6.71411208555412,
   "start_distance_m": 539.0,
   "end_distance_m": 559.0,
   "midpoint_distance_m": 549.0,
   "start_elevation_m": 138.88601736898622,
   "end_elevation_m": 137.5431949518754,
   "start_xy": [
    1692275.5545035964,
    6062436.984937421
   ],
   "end_xy": [
    1692295.2474119186,
    6062439.6844355585
   ]
  },
  "min_25m": {
   "gradient_pct": -6.731248229521498,
   "start_distance_m": 538.0,
   "end_distance_m": 563.0,
   "midpoint_distance_m": 550.5,
   "start_elevation_m": 138.92809660608754,
   "end_elevation_m": 137.24528454870716,
   "start_xy": [
    1692274.5549999075,
    6062436.95343542
   ],
   "end_xy": [
    1692299.119338893,
    6062440.6885179775
   ]
  },
  "min_50m": {
   "gradient_pct": -3.1411777345295775,
   "start_distance_m": 6.0,
   "end_distance_m": 56.0,
   "midpoint_distance_m": 31.0,
   "start_elevation_m": 93.33181818166169,
   "end_elevation_m": 91.7612293143969,
   "start_xy": [
    1691781.8064372882,
    6062474.373438874
   ],
   "end_xy": [
    1691822.5877412024,
    6062446.430334519
   ]
  },
  "min_100m": {
   "gradient_pct": -0.8917990410970589,
   "start_distance_m": 6.0,
   "end_distance_m": 106.0,
   "midpoint_distance_m": 56.0,
   "start_elevation_m": 93.33181818166169,
   "end_elevation_m": 92.44001914056463,
   "start_xy": [
    1691781.8064372882,
    6062474.373438874
   ],
   "end_xy": [
    1691869.2947993348,
    6062428.752168606
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 48.48773571696512,
   "start_distance_m": 426.0,
   "end_distance_m": 428.0,
   "midpoint_distance_m": 427.0,
   "start_elevation_m": 125.1793068849374,
   "end_elevation_m": 126.1490615992767,
   "start_xy": [
    1692169.0919677978,
    6062423.396784302
   ],
   "end_xy": [
    1692170.8155404541,
    6062424.411327203
   ]
  },
  "max_3m": {
   "gradient_pct": 38.233437829179216,
   "start_distance_m": 345.0,
   "end_distance_m": 348.0,
   "midpoint_distance_m": 346.5,
   "start_elevation_m": 109.60448010198981,
   "end_elevation_m": 110.75148323686518,
   "start_xy": [
    1692098.661096427,
    6062384.274340962
   ],
   "end_xy": [
    1692101.6369421328,
    6062384.65426508
   ]
  }
 },
 "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.032,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    20.0,
    25.0,
    100.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 0,
   "windows_masked": [],
   "advisory": [],
   "unresolved": [],
   "unstable": [
    {
     "window_m": 5.0,
     "start_m": 423.0,
     "end_m": 428.0,
     "raw_pct": 34.33,
     "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.133,
   "obstruction_max_height_m": 11.89,
   "flagged_windows_m": [
    2,
    3,
    5
   ]
  },
  "excluded_ranges_m": [
   [
    391.0,
    396.0
   ],
   [
    459.0,
    464.0
   ],
   [
    471.0,
    476.0
   ],
   [
    721.0,
    726.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-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:19:45+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,
  "suppression_unstable": [
   5.0
  ],
  "carriageway": {
   "stations": 37,
   "stations_resolved": 37,
   "width_median_m": 3.75,
   "width_p10_m": 1.4,
   "width_min_m": 1.0,
   "width_max_m": 10.0,
   "bounded_share": 0.189,
   "unbounded_share": 0.811,
   "confidence_median": 0.0,
   "width_median_bounded_m": 2.5,
   "window_m": [
    622.0,
    647.0
   ],
   "width_at_max25_m": 6.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": 37,
    "stations_resolved": 37,
    "width_median_m": 5.5,
    "width_p10_m": 2.8,
    "width_min_m": 1.0,
    "width_max_m": 12.0,
    "bounded_share": 0.838,
    "unbounded_share": 0.162,
    "confidence_median": 1.0,
    "width_median_bounded_m": 5.25,
    "window_m": [
     622.0,
     647.0
    ],
    "width_at_max25_m": 6.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": "Bay of Islands",
  "county": "Northland",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}