{
 "ocl_version": "0.1.0",
 "name": "Tunnel Gully",
 "slug": "tunnel-gully",
 "confidence": "A",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 27.3693715924594,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 732.0,
   "end_distance_m": 734.0,
   "start_elevation_m": 184.8392584437896,
   "end_elevation_m": 185.38664587563878,
   "min_gradient_pct": -9.401923866681727
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 25.5333706584139,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 731.0,
   "end_distance_m": 734.0,
   "start_elevation_m": 184.62064475588636,
   "end_elevation_m": 185.38664587563878,
   "min_gradient_pct": -7.308886805078411
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 24.621596628776956,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 729.0,
   "end_distance_m": 734.0,
   "start_elevation_m": 184.15556604419993,
   "end_elevation_m": 185.38664587563878,
   "min_gradient_pct": -5.1780403579107315
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 22.783671165578312,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 724.0,
   "end_distance_m": 734.0,
   "start_elevation_m": 183.10827875908095,
   "end_elevation_m": 185.38664587563878,
   "min_gradient_pct": -4.18640289374423
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 20.830710770618595,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 721.0,
   "end_distance_m": 741.0,
   "start_elevation_m": 182.579160256903,
   "end_elevation_m": 186.74530241102673,
   "min_gradient_pct": -3.5851958572081344
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 20.364332312007946,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 716.0,
   "end_distance_m": 741.0,
   "start_elevation_m": 181.65421933302474,
   "end_elevation_m": 186.74530241102673,
   "min_gradient_pct": -3.144781929718988
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 18.683862145803857,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 709.0,
   "end_distance_m": 759.0,
   "start_elevation_m": 180.6132097618107,
   "end_elevation_m": 189.95514083471264,
   "min_gradient_pct": -1.2744358566619098
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 15.209147921548777,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 694.0,
   "end_distance_m": 794.0,
   "start_elevation_m": 178.57573397748192,
   "end_elevation_m": 193.7848818990307,
   "min_gradient_pct": 0.6883212169678927
  }
 ],
 "shape": {
  "ascent_concentration": 0.473,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 96.0,
  "shape_class": "stepped"
 },
 "length_m": 863.0156142877591,
 "start_elevation_m": 152.00062146912214,
 "end_elevation_m": 203.37942602240685,
 "endpoint_gain_m": 51.37880455328471,
 "overall_gradient_pct": 5.953403820588725,
 "accumulated_ascent_m": 57.003784335422836,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 24.621596628776956,
   "start_distance_m": 729.0,
   "end_distance_m": 734.0,
   "midpoint_distance_m": 731.5,
   "start_elevation_m": 184.15556604419993,
   "end_elevation_m": 185.38664587563878,
   "start_xy": [
    1780941.035298918,
    5447220.178269861
   ],
   "end_xy": [
    1780945.354250906,
    5447217.659013279
   ]
  },
  "max_10m": {
   "gradient_pct": 22.783671165578312,
   "start_distance_m": 724.0,
   "end_distance_m": 734.0,
   "midpoint_distance_m": 729.0,
   "start_elevation_m": 183.10827875908095,
   "end_elevation_m": 185.38664587563878,
   "start_xy": [
    1780936.7163469298,
    5447222.697526443
   ],
   "end_xy": [
    1780945.354250906,
    5447217.659013279
   ]
  },
  "max_20m": {
   "gradient_pct": 20.830710770618595,
   "start_distance_m": 721.0,
   "end_distance_m": 741.0,
   "midpoint_distance_m": 731.0,
   "start_elevation_m": 182.579160256903,
   "end_elevation_m": 186.74530241102673,
   "start_xy": [
    1780934.0418009444,
    5447223.963105688
   ],
   "end_xy": [
    1780948.526050934,
    5447211.467658099
   ]
  },
  "max_25m": {
   "gradient_pct": 20.364332312007946,
   "start_distance_m": 716.0,
   "end_distance_m": 741.0,
   "midpoint_distance_m": 728.5,
   "start_elevation_m": 181.65421933302474,
   "end_elevation_m": 186.74530241102673,
   "start_xy": [
    1780929.080250845,
    5447224.581992278
   ],
   "end_xy": [
    1780948.526050934,
    5447211.467658099
   ]
  },
  "max_50m": {
   "gradient_pct": 18.683862145803857,
   "start_distance_m": 709.0,
   "end_distance_m": 759.0,
   "midpoint_distance_m": 734.0,
   "start_elevation_m": 180.6132097618107,
   "end_elevation_m": 189.95514083471264,
   "start_xy": [
    1780922.1223416463,
    5447225.044730568
   ],
   "end_xy": [
    1780956.3476444732,
    5447195.259851756
   ]
  },
  "max_100m": {
   "gradient_pct": 15.209147921548777,
   "start_distance_m": 694.0,
   "end_distance_m": 794.0,
   "midpoint_distance_m": 744.0,
   "start_elevation_m": 178.57573397748192,
   "end_elevation_m": 193.7848818990307,
   "start_xy": [
    1780907.154955329,
    5447224.056122039
   ],
   "end_xy": [
    1780961.976389479,
    5447161.131393793
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -5.1780403579107315,
   "start_distance_m": 629.0,
   "end_distance_m": 634.0,
   "midpoint_distance_m": 631.5,
   "start_elevation_m": 177.17301623134915,
   "end_elevation_m": 176.91411421345362,
   "start_xy": [
    1780845.3867276495,
    5447241.071537096
   ],
   "end_xy": [
    1780849.5295487118,
    5447238.272066852
   ]
  },
  "min_10m": {
   "gradient_pct": -4.18640289374423,
   "start_distance_m": 631.0,
   "end_distance_m": 641.0,
   "midpoint_distance_m": 636.0,
   "start_elevation_m": 177.11184341553567,
   "end_elevation_m": 176.69320312616125,
   "start_xy": [
    1780847.0438560746,
    5447239.951748998
   ],
   "end_xy": [
    1780855.9842241507,
    5447235.895620432
   ]
  },
  "min_20m": {
   "gradient_pct": -3.5851958572081344,
   "start_distance_m": 622.0,
   "end_distance_m": 642.0,
   "midpoint_distance_m": 632.0,
   "start_elevation_m": 177.35176954946598,
   "end_elevation_m": 176.63473037802436,
   "start_xy": [
    1780839.5867781625,
    5447244.990795437
   ],
   "end_xy": [
    1780856.96258341,
    5447235.688707021
   ]
  },
  "min_25m": {
   "gradient_pct": -3.144781929718988,
   "start_distance_m": 617.0,
   "end_distance_m": 642.0,
   "midpoint_distance_m": 629.5,
   "start_elevation_m": 177.4209258604541,
   "end_elevation_m": 176.63473037802436,
   "start_xy": [
    1780835.4439571004,
    5447247.790265681
   ],
   "end_xy": [
    1780856.96258341,
    5447235.688707021
   ]
  },
  "min_50m": {
   "gradient_pct": -1.2744358566619098,
   "start_distance_m": 329.0,
   "end_distance_m": 379.0,
   "midpoint_distance_m": 354.0,
   "start_elevation_m": 170.41691773023518,
   "end_elevation_m": 169.77969980190423,
   "start_xy": [
    1780883.3355056294,
    5447511.753687688
   ],
   "end_xy": [
    1780885.5369796285,
    5447464.019626781
   ]
  },
  "min_100m": {
   "gradient_pct": 0.6883212169678927,
   "start_distance_m": 578.0,
   "end_distance_m": 678.0,
   "midpoint_distance_m": 628.0,
   "start_elevation_m": 176.70374870189912,
   "end_elevation_m": 177.392069918867,
   "start_xy": [
    1780823.8232760474,
    5447279.523058218
   ],
   "end_xy": [
    1780891.6887566668,
    5447226.509446884
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 27.3693715924594,
   "start_distance_m": 732.0,
   "end_distance_m": 734.0,
   "midpoint_distance_m": 733.0,
   "start_elevation_m": 184.8392584437896,
   "end_elevation_m": 185.38664587563878,
   "start_xy": [
    1780943.6266701107,
    5447218.666715912
   ],
   "end_xy": [
    1780945.354250906,
    5447217.659013279
   ]
  },
  "max_3m": {
   "gradient_pct": 25.5333706584139,
   "start_distance_m": 731.0,
   "end_distance_m": 734.0,
   "midpoint_distance_m": 732.5,
   "start_elevation_m": 184.62064475588636,
   "end_elevation_m": 185.38664587563878,
   "start_xy": [
    1780942.7628797132,
    5447219.170567228
   ],
   "end_xy": [
    1780945.354250906,
    5447217.659013279
   ]
  }
 },
 "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": [],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.089,
   "obstruction_max_height_m": 33.46,
   "flagged_windows_m": []
  },
  "excluded_ranges_m": [
   [
    0.0,
    27.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-n3",
   "road_pbf": "block-batch-nz-n3.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:7959a7d1d462b1b3"
  },
  "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/BP33.tiff"
  ],
  "calculated_at": "2026-09-28T05:31:11+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-n3.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-n3",
  "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": [
   "BP33"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "structure_mask_ranges_m": [
   [
    0.0,
    15.0
   ]
  ],
  "mask_basin_extension_m": 7.0,
  "carriageway": {
   "stations": 41,
   "stations_resolved": 41,
   "width_median_m": 5.0,
   "width_p10_m": 3.25,
   "width_min_m": 2.25,
   "width_max_m": 11.5,
   "bounded_share": 0.146,
   "unbounded_share": 0.854,
   "confidence_median": 0.0,
   "width_median_bounded_m": 4.88,
   "window_m": [
    716.0,
    741.0
   ],
   "width_at_max25_m": 4.75,
   "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": 41,
    "stations_resolved": 41,
    "width_median_m": 5.75,
    "width_p10_m": 2.25,
    "width_min_m": 1.0,
    "width_max_m": 12.0,
    "bounded_share": 0.78,
    "unbounded_share": 0.22,
    "confidence_median": 1.0,
    "width_median_bounded_m": 5.12,
    "window_m": [
     716.0,
     741.0
    ],
    "width_at_max25_m": 6.0,
    "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": "Featherston Community",
  "county": "Wellington",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}