{
 "ocl_version": "0.1.0",
 "name": "Duncan Road",
 "slug": "duncan-road",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 48.9208636084669,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 4201.0,
   "end_distance_m": 4203.0,
   "start_elevation_m": 226.74147935028523,
   "end_elevation_m": 227.71989662245457,
   "min_gradient_pct": -35.32940407072189,
   "suppressed_max_gradient_pct": 60.90481290225398,
   "suppressed_location_m": [
    3169.0,
    3171.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 44.122294375967876,
   "diagnostic": true,
   "flags": [
    "structure_excluded",
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 4201.0,
   "end_distance_m": 4204.0,
   "start_elevation_m": 226.74147935028523,
   "end_elevation_m": 228.06514818156427,
   "min_gradient_pct": -27.64319338162598,
   "suppressed_max_gradient_pct": 57.98260950572853,
   "suppressed_location_m": [
    3168.0,
    3171.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 40.048129945292885,
   "diagnostic": false,
   "flags": [
    "texture_excluded",
    "canopy_or_structure"
   ],
   "start_distance_m": 4519.0,
   "end_distance_m": 4524.0,
   "start_elevation_m": 244.0286423499183,
   "end_elevation_m": 246.03104884718294,
   "min_gradient_pct": -26.068155543087244,
   "suppressed_max_gradient_pct": 47.830287605720514,
   "suppressed_location_m": [
    3143.0,
    3148.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 35.57272267515316,
   "diagnostic": false,
   "flags": [
    "suppression_unstable",
    "canopy_or_structure"
   ],
   "start_distance_m": 4517.0,
   "end_distance_m": 4527.0,
   "start_elevation_m": 243.31227072217524,
   "end_elevation_m": 246.86954298969056,
   "min_gradient_pct": -23.059345591616136
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 25.457680926609072,
   "diagnostic": false,
   "flags": [
    "texture_excluded"
   ],
   "start_distance_m": 3356.0,
   "end_distance_m": 3376.0,
   "start_elevation_m": 183.40091067981263,
   "end_elevation_m": 188.49244686513444,
   "min_gradient_pct": -21.328606739391205,
   "suppressed_max_gradient_pct": 27.76608144114448,
   "suppressed_location_m": [
    6267.0,
    6287.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 23.732434886350234,
   "diagnostic": false,
   "flags": [
    "texture_excluded"
   ],
   "start_distance_m": 3352.0,
   "end_distance_m": 3377.0,
   "start_elevation_m": 182.75851824883654,
   "end_elevation_m": 188.6916269704241,
   "min_gradient_pct": -20.05911953360919,
   "suppressed_max_gradient_pct": 26.617036053050015,
   "suppressed_location_m": [
    6262.0,
    6287.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 22.25224854670398,
   "diagnostic": false,
   "flags": [
    "no_bench_excluded",
    "texture_excluded"
   ],
   "start_distance_m": 6301.0,
   "end_distance_m": 6351.0,
   "start_elevation_m": 362.6064559760589,
   "end_elevation_m": 373.7325802494109,
   "min_gradient_pct": -16.938175925300754,
   "suppressed_max_gradient_pct": 24.03899685974534,
   "suppressed_location_m": [
    6239.0,
    6289.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 18.575708685734412,
   "diagnostic": false,
   "flags": [
    "no_bench_excluded",
    "texture_excluded"
   ],
   "start_distance_m": 6293.0,
   "end_distance_m": 6393.0,
   "start_elevation_m": 361.16569219113586,
   "end_elevation_m": 379.7414008768703,
   "min_gradient_pct": -11.901491850237292,
   "suppressed_max_gradient_pct": 22.338418695104792,
   "suppressed_location_m": [
    6246.0,
    6346.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.334,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 236.0,
  "shape_class": "sustained"
 },
 "length_m": 6491.897063760537,
 "start_elevation_m": 20.431049586521603,
 "end_elevation_m": 390.23832705299117,
 "endpoint_gain_m": 369.80727746646954,
 "overall_gradient_pct": 5.6964439490396455,
 "accumulated_ascent_m": 442.91626013849725,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 40.048129945292885,
   "start_distance_m": 4519.0,
   "end_distance_m": 4524.0,
   "midpoint_distance_m": 4521.5,
   "start_elevation_m": 244.0286423499183,
   "end_elevation_m": 246.03104884718294,
   "start_xy": [
    1425246.426455395,
    4975971.651171012
   ],
   "end_xy": [
    1425244.57970142,
    4975967.00472078
   ]
  },
  "max_10m": {
   "gradient_pct": 35.57272267515316,
   "start_distance_m": 4517.0,
   "end_distance_m": 4527.0,
   "midpoint_distance_m": 4522.0,
   "start_elevation_m": 243.31227072217524,
   "end_elevation_m": 246.86954298969056,
   "start_xy": [
    1425247.1651569852,
    4975973.509751104
   ],
   "end_xy": [
    1425243.4716490349,
    4975964.216850641
   ]
  },
  "max_20m": {
   "gradient_pct": 25.457680926609072,
   "start_distance_m": 3356.0,
   "end_distance_m": 3376.0,
   "midpoint_distance_m": 3366.0,
   "start_elevation_m": 183.40091067981263,
   "end_elevation_m": 188.49244686513444,
   "start_xy": [
    1425920.3492906303,
    4976641.606253043
   ],
   "end_xy": [
    1425900.682612897,
    4976645.242430559
   ]
  },
  "max_25m": {
   "gradient_pct": 23.732434886350234,
   "start_distance_m": 3352.0,
   "end_distance_m": 3377.0,
   "midpoint_distance_m": 3364.5,
   "start_elevation_m": 182.75851824883654,
   "end_elevation_m": 188.6916269704241,
   "start_xy": [
    1425924.282626177,
    4976640.879017539
   ],
   "end_xy": [
    1425899.6992790103,
    4976645.424239435
   ]
  },
  "max_50m": {
   "gradient_pct": 22.25224854670398,
   "start_distance_m": 6301.0,
   "end_distance_m": 6351.0,
   "midpoint_distance_m": 6326.0,
   "start_elevation_m": 362.6064559760589,
   "end_elevation_m": 373.7325802494109,
   "start_xy": [
    1423750.485159946,
    4975566.798960321
   ],
   "end_xy": [
    1423719.2238021584,
    4975605.623353131
   ]
  },
  "max_100m": {
   "gradient_pct": 18.575708685734412,
   "start_distance_m": 6293.0,
   "end_distance_m": 6393.0,
   "midpoint_distance_m": 6343.0,
   "start_elevation_m": 361.16569219113586,
   "end_elevation_m": 379.7414008768703,
   "start_xy": [
    1423756.8430711061,
    4975561.943348549
   ],
   "end_xy": [
    1423710.6809457927,
    4975646.233370086
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -26.068155543087244,
   "start_distance_m": 2653.0,
   "end_distance_m": 2658.0,
   "midpoint_distance_m": 2655.5,
   "start_elevation_m": 122.94777378031338,
   "end_elevation_m": 121.64436600315902,
   "start_xy": [
    1426338.0530468363,
    4976894.304939371
   ],
   "end_xy": [
    1426335.9006744763,
    4976889.791925607
   ]
  },
  "min_10m": {
   "gradient_pct": -23.059345591616136,
   "start_distance_m": 2649.0,
   "end_distance_m": 2659.0,
   "midpoint_distance_m": 2654.0,
   "start_elevation_m": 123.71111546885056,
   "end_elevation_m": 121.40518090968895,
   "start_xy": [
    1426339.7749447243,
    4976897.915350381
   ],
   "end_xy": [
    1426335.4702000043,
    4976888.8893228555
   ]
  },
  "min_20m": {
   "gradient_pct": -21.328606739391205,
   "start_distance_m": 2645.0,
   "end_distance_m": 2665.0,
   "midpoint_distance_m": 2655.0,
   "start_elevation_m": 124.55165600905816,
   "end_elevation_m": 120.28593466117992,
   "start_xy": [
    1426341.496842612,
    4976901.525761391
   ],
   "end_xy": [
    1426332.8873531723,
    4976883.4737063395
   ]
  },
  "min_25m": {
   "gradient_pct": -20.05911953360919,
   "start_distance_m": 2647.0,
   "end_distance_m": 2672.0,
   "midpoint_distance_m": 2659.5,
   "start_elevation_m": 124.09680404510834,
   "end_elevation_m": 119.08202416170604,
   "start_xy": [
    1426340.635893668,
    4976899.720555886
   ],
   "end_xy": [
    1426329.4526891764,
    4976877.375348422
   ]
  },
  "min_50m": {
   "gradient_pct": -16.938175925300754,
   "start_distance_m": 2640.0,
   "end_distance_m": 2690.0,
   "midpoint_distance_m": 2665.0,
   "start_elevation_m": 125.1311161907864,
   "end_elevation_m": 116.66202822813602,
   "start_xy": [
    1426343.649214972,
    4976906.038775154
   ],
   "end_xy": [
    1426320.5577907301,
    4976861.726681334
   ]
  },
  "min_100m": {
   "gradient_pct": -11.901491850237292,
   "start_distance_m": 2598.0,
   "end_distance_m": 2698.0,
   "midpoint_distance_m": 2648.0,
   "start_elevation_m": 128.2872412285662,
   "end_elevation_m": 116.3857493783289,
   "start_xy": [
    1426361.729142796,
    4976943.948090762
   ],
   "end_xy": [
    1426316.6045025317,
    4976854.771718184
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 48.9208636084669,
   "start_distance_m": 4201.0,
   "end_distance_m": 4203.0,
   "midpoint_distance_m": 4202.0,
   "start_elevation_m": 226.74147935028523,
   "end_elevation_m": 227.71989662245457,
   "start_xy": [
    1425510.0203250614,
    4976112.34901133
   ],
   "end_xy": [
    1425508.5009279437,
    4976111.048460524
   ]
  },
  "max_3m": {
   "gradient_pct": 44.122294375967876,
   "start_distance_m": 4201.0,
   "end_distance_m": 4204.0,
   "midpoint_distance_m": 4202.5,
   "start_elevation_m": 226.74147935028523,
   "end_elevation_m": 228.06514818156427,
   "start_xy": [
    1425510.0203250614,
    4976112.34901133
   ],
   "end_xy": [
    1425507.741229385,
    4976110.398185121
   ]
  }
 },
 "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.001,
   "windows_resited": [
    2.0,
    3.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "no_bench_suppression": {
   "masked_fraction": 0.055,
   "windows_resited": [
    50.0,
    100.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_suppression": {
   "masked_fraction": 0.062,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    20.0,
    25.0,
    50.0,
    100.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 1,
   "windows_masked": [
    {
     "window_m": 25.0,
     "start_m": 6262.0,
     "end_m": 6287.0,
     "raw_pct": 26.62,
     "reason": "hump"
    },
    {
     "window_m": 20.0,
     "start_m": 6267.0,
     "end_m": 6287.0,
     "raw_pct": 27.77,
     "reason": "hump"
    },
    {
     "window_m": 5.0,
     "start_m": 3143.0,
     "end_m": 3148.0,
     "raw_pct": 47.83,
     "reason": "hump"
    }
   ],
   "advisory": [],
   "unresolved": [],
   "unstable": [
    {
     "window_m": 10.0,
     "start_m": 4517.0,
     "end_m": 4527.0,
     "raw_pct": 35.57,
     "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.247,
   "obstruction_max_height_m": 28.24,
   "flagged_windows_m": [
    2,
    3,
    5,
    10.0
   ]
  },
  "excluded_ranges_m": [
   [
    3141.0,
    3150.0
   ],
   [
    3167.0,
    3172.0
   ],
   [
    5090.0,
    5140.0
   ],
   [
    5220.0,
    5340.0
   ],
   [
    6020.0,
    6090.0
   ],
   [
    6140.0,
    6250.0
   ],
   [
    6260.0,
    6289.0
   ]
  ],
  "review": [],
  "extent": []
 },
 "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-s2",
   "road_pbf": "block-batch-nz-s2.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:996c8a61eaf9687f"
  },
  "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/CC18.tiff"
  ],
  "calculated_at": "2026-09-28T05:32:47+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-s2.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-s2",
  "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": [
   "CC18"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "suppression_unstable": [
   10.0
  ],
  "carriageway": {
   "stations": 266,
   "stations_resolved": 266,
   "width_median_m": 4.75,
   "width_p10_m": 2.5,
   "width_min_m": 1.0,
   "width_max_m": 12.0,
   "bounded_share": 0.214,
   "unbounded_share": 0.786,
   "confidence_median": 0.0,
   "width_median_bounded_m": 3.5,
   "window_m": [
    3352.0,
    3377.0
   ],
   "width_at_max25_m": 2.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": 266,
    "stations_resolved": 266,
    "width_median_m": 6.75,
    "width_p10_m": 1.62,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.643,
    "unbounded_share": 0.357,
    "confidence_median": 1.0,
    "width_median_bounded_m": 3.5,
    "window_m": [
     3352.0,
     3377.0
    ],
    "width_at_max25_m": 5.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": "Otago",
  "county": "Otago",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}