{
 "ocl_version": "0.1.0",
 "name": "Lower Flag Range Road",
 "slug": "lower-flag-range-road",
 "confidence": "U",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 40.33737247555749,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "placement_excluded",
    "placement_excluded_min"
   ],
   "start_distance_m": 287.0,
   "end_distance_m": 289.0,
   "start_elevation_m": 88.50187724412821,
   "end_elevation_m": 89.30862469363936,
   "min_gradient_pct": -34.78310436040388,
   "suppressed_max_gradient_pct": 139.61787720164978,
   "suppressed_location_m": [
    623.0,
    625.0
   ],
   "suppressed_min_gradient_pct": -113.10028231207383,
   "suppressed_min_location_m": [
    607.0,
    609.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 40.056306662549446,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "placement_excluded_min"
   ],
   "start_distance_m": 286.0,
   "end_distance_m": 289.0,
   "start_elevation_m": 88.10693549376288,
   "end_elevation_m": 89.30862469363936,
   "min_gradient_pct": -32.23956839762915,
   "suppressed_max_gradient_pct": 125.07139204723028,
   "suppressed_location_m": [
    623.0,
    626.0
   ],
   "suppressed_min_gradient_pct": -106.13700088086044,
   "suppressed_min_location_m": [
    606.0,
    609.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 38.67334288099016,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "placement_excluded_min",
    "suppression_unstable"
   ],
   "start_distance_m": 285.0,
   "end_distance_m": 290.0,
   "start_elevation_m": 87.70855708354452,
   "end_elevation_m": 89.64222422759403,
   "min_gradient_pct": -27.011494965300926,
   "suppressed_max_gradient_pct": 99.02157712268718,
   "suppressed_location_m": [
    623.0,
    628.0
   ],
   "suppressed_min_gradient_pct": -87.31900630137488,
   "suppressed_min_location_m": [
    604.0,
    609.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 29.384940615970265,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min"
   ],
   "start_distance_m": 722.0,
   "end_distance_m": 732.0,
   "start_elevation_m": 132.0241572170867,
   "end_elevation_m": 134.96265127868372,
   "min_gradient_pct": -20.51676025903575,
   "suppressed_max_gradient_pct": 69.71621580058965,
   "suppressed_location_m": [
    594.0,
    604.0
   ],
   "suppressed_min_gradient_pct": -41.15439482311501,
   "suppressed_min_location_m": [
    604.0,
    614.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 22.25472900854939,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "placement_excluded_min"
   ],
   "start_distance_m": 718.0,
   "end_distance_m": 738.0,
   "start_elevation_m": 131.50480481177505,
   "end_elevation_m": 135.95575061348492,
   "min_gradient_pct": -12.520267763364785,
   "suppressed_max_gradient_pct": 49.639911672617174,
   "suppressed_location_m": [
    354.0,
    374.0
   ],
   "suppressed_min_gradient_pct": -22.23665278900505,
   "suppressed_min_location_m": [
    568.0,
    588.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 20.23883104796016,
   "diagnostic": false,
   "flags": [
    "structure_excluded",
    "structure_excluded_min",
    "placement_excluded_min"
   ],
   "start_distance_m": 324.0,
   "end_distance_m": 349.0,
   "start_elevation_m": 88.24700705692437,
   "end_elevation_m": 93.30671481891441,
   "min_gradient_pct": -9.101202745367289,
   "suppressed_max_gradient_pct": 44.46312132253041,
   "suppressed_location_m": [
    354.0,
    379.0
   ],
   "suppressed_min_gradient_pct": -14.09064134016836,
   "suppressed_min_location_m": [
    560.0,
    585.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 12.808649043298203,
   "diagnostic": false,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 690.0,
   "end_distance_m": 740.0,
   "start_elevation_m": 129.66479713906304,
   "end_elevation_m": 136.06912166071214,
   "min_gradient_pct": -3.326708594029185,
   "suppressed_max_gradient_pct": 30.772167404384163,
   "suppressed_location_m": [
    326.0,
    376.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 7.750561418999382,
   "diagnostic": false,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 659.0,
   "end_distance_m": 759.0,
   "start_elevation_m": 128.1055459294589,
   "end_elevation_m": 135.8561073484583,
   "min_gradient_pct": 0.4800744285249152,
   "suppressed_max_gradient_pct": 18.91803188675584,
   "suppressed_location_m": [
    504.0,
    604.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.639,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 43.0,
  "shape_class": "stepped"
 },
 "length_m": 3350.809901271664,
 "start_elevation_m": 72.63508035584512,
 "end_elevation_m": 183.9041357155947,
 "endpoint_gain_m": 111.26905535974957,
 "overall_gradient_pct": 3.320661530739834,
 "accumulated_ascent_m": 145.31189746698414,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 38.67334288099016,
   "start_distance_m": 285.0,
   "end_distance_m": 290.0,
   "midpoint_distance_m": 287.5,
   "start_elevation_m": 87.70855708354452,
   "end_elevation_m": 89.64222422759403,
   "start_xy": [
    1914350.779053116,
    5624128.7057198435
   ],
   "end_xy": [
    1914348.0623264804,
    5624132.903266316
   ]
  },
  "max_10m": {
   "gradient_pct": 29.384940615970265,
   "start_distance_m": 722.0,
   "end_distance_m": 732.0,
   "midpoint_distance_m": 727.0,
   "start_elevation_m": 132.0241572170867,
   "end_elevation_m": 134.96265127868372,
   "start_xy": [
    1914116.7480556492,
    5624441.288491013
   ],
   "end_xy": [
    1914111.0852985287,
    5624449.53064982
   ]
  },
  "max_20m": {
   "gradient_pct": 22.25472900854939,
   "start_distance_m": 718.0,
   "end_distance_m": 738.0,
   "midpoint_distance_m": 728.0,
   "start_elevation_m": 131.50480481177505,
   "end_elevation_m": 135.95575061348492,
   "start_xy": [
    1914119.0131584974,
    5624437.991627491
   ],
   "end_xy": [
    1914107.6876442565,
    5624454.475945104
   ]
  },
  "max_25m": {
   "gradient_pct": 20.23883104796016,
   "start_distance_m": 324.0,
   "end_distance_m": 349.0,
   "midpoint_distance_m": 336.5,
   "start_elevation_m": 88.24700705692437,
   "end_elevation_m": 93.30671481891441,
   "start_xy": [
    1914321.3457950312,
    5624153.307198153
   ],
   "end_xy": [
    1914298.473147168,
    5624162.753376455
   ]
  },
  "max_50m": {
   "gradient_pct": 12.808649043298203,
   "start_distance_m": 690.0,
   "end_distance_m": 740.0,
   "midpoint_distance_m": 715.0,
   "start_elevation_m": 129.66479713906304,
   "end_elevation_m": 136.06912166071214,
   "start_xy": [
    1914134.8688784349,
    5624414.913582833
   ],
   "end_xy": [
    1914106.5550928323,
    5624456.124376865
   ]
  },
  "max_100m": {
   "gradient_pct": 7.750561418999382,
   "start_distance_m": 659.0,
   "end_distance_m": 759.0,
   "midpoint_distance_m": 709.0,
   "start_elevation_m": 128.1055459294589,
   "end_elevation_m": 135.8561073484583,
   "start_xy": [
    1914152.4234255087,
    5624389.362890531
   ],
   "end_xy": [
    1914095.7958543033,
    5624471.784478598
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -27.011494965300926,
   "start_distance_m": 278.0,
   "end_distance_m": 283.0,
   "midpoint_distance_m": 280.5,
   "start_elevation_m": 88.9700723906649,
   "end_elevation_m": 87.61949764239985,
   "start_xy": [
    1914354.5824704058,
    5624122.829154783
   ],
   "end_xy": [
    1914351.8657437703,
    5624127.026701255
   ]
  },
  "min_10m": {
   "gradient_pct": -20.51676025903575,
   "start_distance_m": 299.0,
   "end_distance_m": 309.0,
   "midpoint_distance_m": 304.0,
   "start_elevation_m": 89.75214031715632,
   "end_elevation_m": 87.70046429125274,
   "start_xy": [
    1914342.1603789914,
    5624139.459703991
   ],
   "end_xy": [
    1914333.8345454072,
    5624144.998701656
   ]
  },
  "min_20m": {
   "gradient_pct": -12.520267763364785,
   "start_distance_m": 296.0,
   "end_distance_m": 316.0,
   "midpoint_distance_m": 306.0,
   "start_elevation_m": 90.1667620563268,
   "end_elevation_m": 87.66270850365385,
   "start_xy": [
    1914344.6581290665,
    5624137.7980046915
   ],
   "end_xy": [
    1914328.0064618983,
    5624148.876000022
   ]
  },
  "min_25m": {
   "gradient_pct": -9.101202745367289,
   "start_distance_m": 292.0,
   "end_distance_m": 317.0,
   "midpoint_distance_m": 304.5,
   "start_elevation_m": 89.94512212021888,
   "end_elevation_m": 87.66982143387706,
   "start_xy": [
    1914346.9756358261,
    5624134.582284905
   ],
   "end_xy": [
    1914327.1738785398,
    5624149.4298997875
   ]
  },
  "min_50m": {
   "gradient_pct": -3.326708594029185,
   "start_distance_m": 87.0,
   "end_distance_m": 137.0,
   "midpoint_distance_m": 112.0,
   "start_elevation_m": 80.1381619162117,
   "end_elevation_m": 78.47480761919711,
   "start_xy": [
    1914517.2323780651,
    5624054.787706099
   ],
   "end_xy": [
    1914470.6327430494,
    5624072.91155824
   ]
  },
  "min_100m": {
   "gradient_pct": 0.4800744285249152,
   "start_distance_m": 740.0,
   "end_distance_m": 840.0,
   "midpoint_distance_m": 790.0,
   "start_elevation_m": 136.06912166071214,
   "end_elevation_m": 136.54919608923706,
   "start_xy": [
    1914106.5550928323,
    5624456.124376865
   ],
   "end_xy": [
    1914034.5063144383,
    5624524.118392246
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 40.33737247555749,
   "start_distance_m": 287.0,
   "end_distance_m": 289.0,
   "midpoint_distance_m": 288.0,
   "start_elevation_m": 88.50187724412821,
   "end_elevation_m": 89.30862469363936,
   "start_xy": [
    1914349.6923624617,
    5624130.384738433
   ],
   "end_xy": [
    1914348.6056718074,
    5624132.063757022
   ]
  },
  "max_3m": {
   "gradient_pct": 40.056306662549446,
   "start_distance_m": 286.0,
   "end_distance_m": 289.0,
   "midpoint_distance_m": 287.5,
   "start_elevation_m": 88.10693549376288,
   "end_elevation_m": 89.30862469363936,
   "start_xy": [
    1914350.235707789,
    5624129.545229138
   ],
   "end_xy": [
    1914348.6056718074,
    5624132.063757022
   ]
  }
 },
 "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.036,
   "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
   ],
   "minima_unresolved": []
  },
  "no_bench_suppression": {
   "masked_fraction": 0.037,
   "windows_resited": [],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "placement_suppression": {
   "masked_fraction": 0.056,
   "windows_resited": [
    2.0
   ],
   "windows_unresolved": [],
   "minima_resited": [
    2.0,
    3.0,
    5.0,
    20.0,
    25.0
   ],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 0,
   "windows_masked": [],
   "advisory": [],
   "unresolved": [],
   "unstable": [
    {
     "window_m": 5.0,
     "start_m": 285.0,
     "end_m": 290.0,
     "raw_pct": 38.67,
     "reason": "hump",
     "perturbations": [
      "phase+0.000/mask+0",
      "phase+0.333/mask+1",
      "phase+0.667/mask-1"
     ],
     "perturbation_reasons": [
      "hump",
      "hump",
      ""
     ]
    }
   ]
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.077,
   "obstruction_max_height_m": 28.24,
   "flagged_windows_m": []
  },
  "excluded_ranges_m": [
   [
    210.0,
    251.0
   ],
   [
    353.0,
    368.0
   ],
   [
    520.0,
    650.0
   ]
  ],
  "review": [
   "short_window_divergence"
  ],
  "extent": [
   "may_start_earlier"
  ]
 },
 "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/BJ38.tiff"
  ],
  "calculated_at": "2026-09-28T05:33:36+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": [
   "BJ38"
  ],
  "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": 141,
   "stations_resolved": 141,
   "width_median_m": 7.25,
   "width_p10_m": 3.0,
   "width_min_m": 1.0,
   "width_max_m": 12.0,
   "bounded_share": 0.092,
   "unbounded_share": 0.908,
   "confidence_median": 0.0,
   "width_median_bounded_m": 2.25,
   "window_m": [
    324.0,
    349.0
   ],
   "width_at_max25_m": 3.5,
   "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": 141,
    "stations_resolved": 141,
    "width_median_m": 11.5,
    "width_p10_m": 2.75,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.255,
    "unbounded_share": 0.745,
    "confidence_median": 0.0,
    "width_median_bounded_m": 3.75,
    "window_m": [
     324.0,
     349.0
    ],
    "width_at_max25_m": 7.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": "Hawke's Bay",
  "county": "Hawke's Bay",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}