{
 "ocl_version": "0.1.0",
 "name": "Trig Road",
 "slug": "trig-road-2",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 40.50886056844547,
   "diagnostic": true,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 756.0,
   "end_distance_m": 758.0,
   "start_elevation_m": 523.8624074502387,
   "end_elevation_m": 524.6725846616076,
   "min_gradient_pct": -16.82246981109472
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 34.70967175462268,
   "diagnostic": true,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 755.0,
   "end_distance_m": 758.0,
   "start_elevation_m": 523.631294508969,
   "end_elevation_m": 524.6725846616076,
   "min_gradient_pct": -16.575501715990033
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 27.49911018528337,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 756.0,
   "end_distance_m": 761.0,
   "start_elevation_m": 523.8624074502387,
   "end_elevation_m": 525.2373629595029,
   "min_gradient_pct": -10.818506303472759
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 24.384804961014197,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 755.0,
   "end_distance_m": 765.0,
   "start_elevation_m": 523.631294508969,
   "end_elevation_m": 526.0697750050704,
   "min_gradient_pct": -8.532435512499887
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 22.372731473056433,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 739.0,
   "end_distance_m": 759.0,
   "start_elevation_m": 520.4179909528298,
   "end_elevation_m": 524.892537247441,
   "min_gradient_pct": -7.73582695935545
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 21.975189221082474,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 740.0,
   "end_distance_m": 765.0,
   "start_elevation_m": 520.5759776997998,
   "end_elevation_m": 526.0697750050704,
   "min_gradient_pct": -7.42370477563145
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 21.05083400235071,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 723.0,
   "end_distance_m": 773.0,
   "start_elevation_m": 517.0395516888957,
   "end_elevation_m": 527.564968690071,
   "min_gradient_pct": -6.196323262968235
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 19.51593470311593,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 674.0,
   "end_distance_m": 774.0,
   "start_elevation_m": 508.2382724996952,
   "end_elevation_m": 527.7542072028111,
   "min_gradient_pct": -3.95834428171446
  }
 ],
 "shape": {
  "ascent_concentration": 0.518,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 216.0,
  "shape_class": "stepped"
 },
 "length_m": 928.8742846347693,
 "start_elevation_m": 483.8480892126387,
 "end_elevation_m": 550.1288436755357,
 "endpoint_gain_m": 66.280754462897,
 "overall_gradient_pct": 7.135600108572108,
 "accumulated_ascent_m": 73.70177271908034,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 27.49911018528337,
   "start_distance_m": 756.0,
   "end_distance_m": 761.0,
   "midpoint_distance_m": 758.5,
   "start_elevation_m": 523.8624074502387,
   "end_elevation_m": 525.2373629595029,
   "start_xy": [
    1963133.9870695153,
    5685755.890407275
   ],
   "end_xy": [
    1963130.5045169557,
    5685759.460113296
   ]
  },
  "max_10m": {
   "gradient_pct": 24.384804961014197,
   "start_distance_m": 755.0,
   "end_distance_m": 765.0,
   "midpoint_distance_m": 760.0,
   "start_elevation_m": 523.631294508969,
   "end_elevation_m": 526.0697750050704,
   "start_xy": [
    1963134.717516147,
    5685755.207437497
   ],
   "end_xy": [
    1963128.050366242,
    5685762.618775082
   ]
  },
  "max_20m": {
   "gradient_pct": 22.372731473056433,
   "start_distance_m": 739.0,
   "end_distance_m": 759.0,
   "midpoint_distance_m": 749.0,
   "start_elevation_m": 520.4179909528298,
   "end_elevation_m": 524.892537247441,
   "start_xy": [
    1963145.8241271407,
    5685743.728339443
   ],
   "end_xy": [
    1963131.7957296204,
    5685757.939316611
   ]
  },
  "max_25m": {
   "gradient_pct": 21.975189221082474,
   "start_distance_m": 740.0,
   "end_distance_m": 765.0,
   "midpoint_distance_m": 752.5,
   "start_elevation_m": 520.5759776997998,
   "end_elevation_m": 526.0697750050704,
   "start_xy": [
    1963145.1793876362,
    5685744.4927418055
   ],
   "end_xy": [
    1963128.050366242,
    5685762.618775082
   ]
  },
  "max_50m": {
   "gradient_pct": 21.05083400235071,
   "start_distance_m": 723.0,
   "end_distance_m": 773.0,
   "midpoint_distance_m": 748.0,
   "start_elevation_m": 517.0395516888957,
   "end_elevation_m": 527.564968690071,
   "start_xy": [
    1963149.9338650624,
    5685728.641966652
   ],
   "end_xy": [
    1963123.3029746416,
    5685769.042291632
   ]
  },
  "max_100m": {
   "gradient_pct": 19.51593470311593,
   "start_distance_m": 674.0,
   "end_distance_m": 774.0,
   "midpoint_distance_m": 724.0,
   "start_elevation_m": 508.2382724996952,
   "end_elevation_m": 527.7542072028111,
   "start_xy": [
    1963133.394886409,
    5685686.260526836
   ],
   "end_xy": [
    1963122.8181626278,
    5685769.916910012
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -10.818506303472759,
   "start_distance_m": 522.0,
   "end_distance_m": 527.0,
   "midpoint_distance_m": 524.5,
   "start_elevation_m": 505.10019088878533,
   "end_elevation_m": 504.5592655736117,
   "start_xy": [
    1963132.7837124907,
    5685539.046844662
   ],
   "end_xy": [
    1963134.9380481867,
    5685543.457383174
   ]
  },
  "min_10m": {
   "gradient_pct": -8.532435512499887,
   "start_distance_m": 532.0,
   "end_distance_m": 542.0,
   "midpoint_distance_m": 537.0,
   "start_elevation_m": 504.44492569908317,
   "end_elevation_m": 503.5916821478332,
   "start_xy": [
    1963135.9563033697,
    5685548.324061834
   ],
   "end_xy": [
    1963135.6079600796,
    5685558.291523873
   ]
  },
  "min_20m": {
   "gradient_pct": -7.73582695935545,
   "start_distance_m": 523.0,
   "end_distance_m": 543.0,
   "midpoint_distance_m": 533.0,
   "start_elevation_m": 505.0727609037733,
   "end_elevation_m": 503.5255955119022,
   "start_xy": [
    1963133.3946972939,
    5685539.838486986
   ],
   "end_xy": [
    1963135.5028651757,
    5685559.28598607
   ]
  },
  "min_25m": {
   "gradient_pct": -7.42370477563145,
   "start_distance_m": 300.0,
   "end_distance_m": 325.0,
   "midpoint_distance_m": 312.5,
   "start_elevation_m": 499.4641869610382,
   "end_elevation_m": 497.60826076713033,
   "start_xy": [
    1962915.2670905543,
    5685527.9812383875
   ],
   "end_xy": [
    1962940.214448542,
    5685526.359717672
   ]
  },
  "min_50m": {
   "gradient_pct": -6.196323262968235,
   "start_distance_m": 285.0,
   "end_distance_m": 335.0,
   "midpoint_distance_m": 310.0,
   "start_elevation_m": 500.15683999982105,
   "end_elevation_m": 497.0586783683369,
   "start_xy": [
    1962900.2992214046,
    5685528.96231942
   ],
   "end_xy": [
    1962950.1933917373,
    5685525.711109386
   ]
  },
  "min_100m": {
   "gradient_pct": -3.95834428171446,
   "start_distance_m": 243.0,
   "end_distance_m": 343.0,
   "midpoint_distance_m": 293.0,
   "start_elevation_m": 500.80386340336185,
   "end_elevation_m": 496.8455191216474,
   "start_xy": [
    1962858.4358472824,
    5685532.161717876
   ],
   "end_xy": [
    1962958.1765462933,
    5685525.192222756
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 40.50886056844547,
   "start_distance_m": 756.0,
   "end_distance_m": 758.0,
   "midpoint_distance_m": 757.0,
   "start_elevation_m": 523.8624074502387,
   "end_elevation_m": 524.6725846616076,
   "start_xy": [
    1963133.9870695153,
    5685755.890407275
   ],
   "end_xy": [
    1963132.526176252,
    5685757.256346832
   ]
  },
  "max_3m": {
   "gradient_pct": 34.70967175462268,
   "start_distance_m": 755.0,
   "end_distance_m": 758.0,
   "midpoint_distance_m": 756.5,
   "start_elevation_m": 523.631294508969,
   "end_elevation_m": 524.6725846616076,
   "start_xy": [
    1963134.717516147,
    5685755.207437497
   ],
   "end_xy": [
    1963132.526176252,
    5685757.256346832
   ]
  }
 },
 "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": {
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.738,
   "obstruction_max_height_m": 35.05,
   "flagged_windows_m": [
    2,
    3,
    5,
    10,
    20,
    25,
    50,
    100
   ]
  },
  "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-n5",
   "road_pbf": "block-batch-nz-n5.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:5991b43afbe40ae2"
  },
  "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/BH40.tiff"
  ],
  "calculated_at": "2026-09-28T05:57:32+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-n5.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-n5",
  "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": [
   "BH40"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "carriageway": {
   "stations": 43,
   "stations_resolved": 43,
   "width_median_m": 5.75,
   "width_p10_m": 3.5,
   "width_min_m": 2.5,
   "width_max_m": 9.25,
   "bounded_share": 0.465,
   "unbounded_share": 0.535,
   "confidence_median": 0.0,
   "width_median_bounded_m": 6.25,
   "window_m": [
    740.0,
    765.0
   ],
   "width_at_max25_m": 5.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": 43,
    "stations_resolved": 43,
    "width_median_m": 1.75,
    "width_p10_m": 0.5,
    "width_min_m": 0.0,
    "width_max_m": 12.0,
    "bounded_share": 0.977,
    "unbounded_share": 0.023,
    "confidence_median": 1.0,
    "width_median_bounded_m": 1.75,
    "window_m": [
     740.0,
     765.0
    ],
    "width_at_max25_m": 1.25,
    "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": "Hawke's Bay",
  "county": "Hawke's Bay",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}