{
 "ocl_version": "0.1.0",
 "name": "Brooklyn Valley Road",
 "slug": "brooklyn-valley-road",
 "confidence": "U",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 44.54671018522163,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "canopy_or_structure"
   ],
   "start_distance_m": 1282.0,
   "end_distance_m": 1284.0,
   "start_elevation_m": 343.0803223201145,
   "end_elevation_m": 343.9712565238189,
   "min_gradient_pct": -20.450603803561762,
   "suppressed_max_gradient_pct": 51.50548012043146,
   "suppressed_location_m": [
    1404.0,
    1406.0
   ],
   "suppressed_min_gradient_pct": -71.23292876645735,
   "suppressed_min_location_m": [
    853.0,
    855.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 40.6540797404413,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "canopy_or_structure"
   ],
   "start_distance_m": 1281.0,
   "end_distance_m": 1284.0,
   "start_elevation_m": 342.75163413160567,
   "end_elevation_m": 343.9712565238189,
   "min_gradient_pct": -18.16049997294537,
   "suppressed_max_gradient_pct": 45.74206648378928,
   "suppressed_location_m": [
    1404.0,
    1407.0
   ],
   "suppressed_min_gradient_pct": -53.94819757467152,
   "suppressed_min_location_m": [
    853.0,
    856.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 35.98836665500016,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "suppression_unstable",
    "canopy_or_structure"
   ],
   "start_distance_m": 834.0,
   "end_distance_m": 839.0,
   "start_elevation_m": 294.98713946717453,
   "end_elevation_m": 296.78655779992454,
   "min_gradient_pct": -11.797080265470186,
   "suppressed_max_gradient_pct": 38.81332034119964,
   "suppressed_location_m": [
    1404.0,
    1409.0
   ],
   "suppressed_min_gradient_pct": -27.41698913452865,
   "suppressed_min_location_m": [
    853.0,
    858.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 25.375792081865143,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "suppression_unstable",
    "canopy_or_structure"
   ],
   "start_distance_m": 834.0,
   "end_distance_m": 844.0,
   "start_elevation_m": 294.98713946717453,
   "end_elevation_m": 297.52471867536104,
   "min_gradient_pct": -6.053359161718959,
   "suppressed_max_gradient_pct": 25.552214652058183,
   "suppressed_location_m": [
    1403.0,
    1413.0
   ],
   "suppressed_min_gradient_pct": -8.244211215313726,
   "suppressed_min_location_m": [
    853.0,
    863.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 21.03221147951359,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 1264.0,
   "end_distance_m": 1284.0,
   "start_elevation_m": 339.7648142279162,
   "end_elevation_m": 343.9712565238189,
   "min_gradient_pct": -5.3714650183994195
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 20.28903253286603,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 1259.0,
   "end_distance_m": 1284.0,
   "start_elevation_m": 338.8989983906024,
   "end_elevation_m": 343.9712565238189,
   "min_gradient_pct": -5.248610131208807
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 18.668193975609256,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 1234.0,
   "end_distance_m": 1284.0,
   "start_elevation_m": 334.6371595360143,
   "end_elevation_m": 343.9712565238189,
   "min_gradient_pct": -2.5079659420204052
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 17.00742415939868,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 1245.0,
   "end_distance_m": 1345.0,
   "start_elevation_m": 336.49246415621974,
   "end_elevation_m": 353.4998883156184,
   "min_gradient_pct": 2.6252490681042104
  }
 ],
 "shape": {
  "ascent_concentration": 0.32,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 126.0,
  "shape_class": "sustained"
 },
 "length_m": 1930.498454864818,
 "start_elevation_m": 231.4200339685077,
 "end_elevation_m": 425.469721889392,
 "endpoint_gain_m": 194.0496879208843,
 "overall_gradient_pct": 10.051791931347209,
 "accumulated_ascent_m": 200.69502454686366,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 35.98836665500016,
   "start_distance_m": 834.0,
   "end_distance_m": 839.0,
   "midpoint_distance_m": 836.5,
   "start_elevation_m": 294.98713946717453,
   "end_elevation_m": 296.78655779992454,
   "start_xy": [
    1592050.393965742,
    5450692.17596755
   ],
   "end_xy": [
    1592052.6084696876,
    5450696.65882069
   ]
  },
  "max_10m": {
   "gradient_pct": 25.375792081865143,
   "start_distance_m": 834.0,
   "end_distance_m": 844.0,
   "midpoint_distance_m": 839.0,
   "start_elevation_m": 294.98713946717453,
   "end_elevation_m": 297.52471867536104,
   "start_xy": [
    1592050.393965742,
    5450692.17596755
   ],
   "end_xy": [
    1592054.822973633,
    5450701.14167383
   ]
  },
  "max_20m": {
   "gradient_pct": 21.03221147951359,
   "start_distance_m": 1264.0,
   "end_distance_m": 1284.0,
   "midpoint_distance_m": 1274.0,
   "start_elevation_m": 339.7648142279162,
   "end_elevation_m": 343.9712565238189,
   "start_xy": [
    1591842.122955193,
    5450709.16350218
   ],
   "end_xy": [
    1591824.9690714732,
    5450698.918929535
   ]
  },
  "max_25m": {
   "gradient_pct": 20.28903253286603,
   "start_distance_m": 1259.0,
   "end_distance_m": 1284.0,
   "midpoint_distance_m": 1271.5,
   "start_elevation_m": 338.8989983906024,
   "end_elevation_m": 343.9712565238189,
   "start_xy": [
    1591845.9988374764,
    5450712.322226057
   ],
   "end_xy": [
    1591824.9690714732,
    5450698.918929535
   ]
  },
  "max_50m": {
   "gradient_pct": 18.668193975609256,
   "start_distance_m": 1234.0,
   "end_distance_m": 1284.0,
   "midpoint_distance_m": 1259.0,
   "start_elevation_m": 334.6371595360143,
   "end_elevation_m": 343.9712565238189,
   "start_xy": [
    1591862.0335296872,
    5450731.15157318
   ],
   "end_xy": [
    1591824.9690714732,
    5450698.918929535
   ]
  },
  "max_100m": {
   "gradient_pct": 17.00742415939868,
   "start_distance_m": 1245.0,
   "end_distance_m": 1345.0,
   "midpoint_distance_m": 1295.0,
   "start_elevation_m": 336.49246415621974,
   "end_elevation_m": 353.4998883156184,
   "start_xy": [
    1591855.9219843545,
    5450722.067391293
   ],
   "end_xy": [
    1591767.8375872748,
    5450678.1282622535
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -11.797080265470186,
   "start_distance_m": 428.0,
   "end_distance_m": 433.0,
   "midpoint_distance_m": 430.5,
   "start_elevation_m": 261.7867454440919,
   "end_elevation_m": 261.19689143081837,
   "start_xy": [
    1592288.0475675354,
    5450432.242985614
   ],
   "end_xy": [
    1592283.3582828252,
    5450433.978096247
   ]
  },
  "min_10m": {
   "gradient_pct": -6.053359161718959,
   "start_distance_m": 496.0,
   "end_distance_m": 506.0,
   "midpoint_distance_m": 501.0,
   "start_elevation_m": 266.72230891405957,
   "end_elevation_m": 266.1169729978877,
   "start_xy": [
    1592223.8223246832,
    5450452.251444371
   ],
   "end_xy": [
    1592213.8253068794,
    5450452.35936787
   ]
  },
  "min_20m": {
   "gradient_pct": -5.3714650183994195,
   "start_distance_m": 489.0,
   "end_distance_m": 509.0,
   "midpoint_distance_m": 499.0,
   "start_elevation_m": 267.04170739632514,
   "end_elevation_m": 265.96741439264525,
   "start_xy": [
    1592230.8222202763,
    5450452.213212397
   ],
   "end_xy": [
    1592210.8405141716,
    5450452.661050638
   ]
  },
  "min_25m": {
   "gradient_pct": -5.248610131208807,
   "start_distance_m": 485.0,
   "end_distance_m": 510.0,
   "midpoint_distance_m": 497.5,
   "start_elevation_m": 267.2375543056878,
   "end_elevation_m": 265.9254017728856,
   "start_xy": [
    1592234.8201900646,
    5450452.17068521
   ],
   "end_xy": [
    1592209.8455832691,
    5450452.76161156
   ]
  },
  "min_50m": {
   "gradient_pct": -2.5079659420204052,
   "start_distance_m": 477.0,
   "end_distance_m": 527.0,
   "midpoint_distance_m": 502.0,
   "start_elevation_m": 267.33817950550895,
   "end_elevation_m": 266.08419653449874,
   "start_xy": [
    1592242.56579446,
    5450450.346706245
   ],
   "end_xy": [
    1592192.9317579262,
    5450454.4711472485
   ]
  },
  "min_100m": {
   "gradient_pct": 2.6252490681042104,
   "start_distance_m": 473.0,
   "end_distance_m": 573.0,
   "midpoint_distance_m": 523.0,
   "start_elevation_m": 267.08237125201504,
   "end_elevation_m": 269.70762032011925,
   "start_xy": [
    1592246.1528850445,
    5450448.576739822
   ],
   "end_xy": [
    1592149.8260382065,
    5450468.664620423
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 44.54671018522163,
   "start_distance_m": 1282.0,
   "end_distance_m": 1284.0,
   "midpoint_distance_m": 1283.0,
   "start_elevation_m": 343.0803223201145,
   "end_elevation_m": 343.9712565238189,
   "start_xy": [
    1591826.6999711664,
    5450699.920920678
   ],
   "end_xy": [
    1591824.9690714732,
    5450698.918929535
   ]
  },
  "max_3m": {
   "gradient_pct": 40.6540797404413,
   "start_distance_m": 1281.0,
   "end_distance_m": 1284.0,
   "midpoint_distance_m": 1282.5,
   "start_elevation_m": 342.75163413160567,
   "end_elevation_m": 343.9712565238189,
   "start_xy": [
    1591827.565421013,
    5450700.42191625
   ],
   "end_xy": [
    1591824.9690714732,
    5450698.918929535
   ]
  }
 },
 "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.017,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    10.0
   ],
   "windows_unresolved": [],
   "minima_resited": [
    2.0,
    3.0,
    5.0,
    10.0
   ],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 0,
   "windows_masked": [],
   "advisory": [],
   "unresolved": [],
   "unstable": [
    {
     "window_m": 10.0,
     "start_m": 834.0,
     "end_m": 844.0,
     "raw_pct": 25.38,
     "reason": "short-step",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "short-step",
      "",
      ""
     ]
    },
    {
     "window_m": 5.0,
     "start_m": 834.0,
     "end_m": 839.0,
     "raw_pct": 35.99,
     "reason": "hump",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "hump",
      "",
      ""
     ]
    }
   ]
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.26,
   "obstruction_max_height_m": 28.18,
   "flagged_windows_m": [
    2,
    3,
    5,
    10,
    20,
    25,
    50,
    100
   ]
  },
  "excluded_ranges_m": [
   [
    0.0,
    20.0
   ],
   [
    852.0,
    857.0
   ],
   [
    1402.0,
    1407.0
   ]
  ],
  "review": [
   "short_window_divergence"
  ],
  "extent": [
   "may_start_earlier",
   "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/BP25.tiff"
  ],
  "calculated_at": "2026-09-28T05:13:00+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": [
   "BP25"
  ],
  "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
   ]
  ],
  "suppression_unstable": [
   5.0,
   10.0
  ],
  "carriageway": {
   "stations": 84,
   "stations_resolved": 84,
   "width_median_m": 4.0,
   "width_p10_m": 3.0,
   "width_min_m": 1.25,
   "width_max_m": 10.0,
   "bounded_share": 0.333,
   "unbounded_share": 0.667,
   "confidence_median": 0.0,
   "width_median_bounded_m": 4.0,
   "window_m": [
    1259.0,
    1284.0
   ],
   "width_at_max25_m": 5.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": 84,
    "stations_resolved": 84,
    "width_median_m": 3.12,
    "width_p10_m": 1.0,
    "width_min_m": 0.5,
    "width_max_m": 11.0,
    "bounded_share": 0.964,
    "unbounded_share": 0.036,
    "confidence_median": 1.0,
    "width_median_bounded_m": 3.0,
    "window_m": [
     1259.0,
     1284.0
    ],
    "width_at_max25_m": 2.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": "Tasman",
  "county": "Tasman",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}