{
 "ocl_version": "0.1.0",
 "name": "Thornhill Road",
 "slug": "thornhill-road",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 41.11783680467909,
   "diagnostic": true,
   "flags": [
    "texture_excluded"
   ],
   "start_distance_m": 1136.0,
   "end_distance_m": 1138.0,
   "start_elevation_m": 250.7926492290951,
   "end_elevation_m": 251.6150059651887,
   "min_gradient_pct": -21.56340954680047,
   "suppressed_max_gradient_pct": 42.76754379046963,
   "suppressed_location_m": [
    1188.0,
    1190.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 38.24922285248439,
   "diagnostic": true,
   "flags": [
    "texture_excluded"
   ],
   "start_distance_m": 1136.0,
   "end_distance_m": 1139.0,
   "start_elevation_m": 250.7926492290951,
   "end_elevation_m": 251.94012591466964,
   "min_gradient_pct": -18.760453087096113,
   "suppressed_max_gradient_pct": 42.09348214327709,
   "suppressed_location_m": [
    1188.0,
    1191.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 36.204364550566766,
   "diagnostic": false,
   "flags": [
    "texture_excluded"
   ],
   "start_distance_m": 1135.0,
   "end_distance_m": 1140.0,
   "start_elevation_m": 250.46870633915387,
   "end_elevation_m": 252.2789245666822,
   "min_gradient_pct": -16.455469874273376,
   "suppressed_max_gradient_pct": 39.558681508270865,
   "suppressed_location_m": [
    1187.0,
    1192.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 31.333643202389112,
   "diagnostic": false,
   "flags": [
    "texture_excluded"
   ],
   "start_distance_m": 1131.0,
   "end_distance_m": 1141.0,
   "start_elevation_m": 249.4194993235307,
   "end_elevation_m": 252.5528636437696,
   "min_gradient_pct": -13.226305641645126,
   "suppressed_max_gradient_pct": 34.144149604142626,
   "suppressed_location_m": [
    1186.0,
    1196.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 23.871239185125717,
   "diagnostic": false,
   "flags": [
    "texture_excluded"
   ],
   "start_distance_m": 1121.0,
   "end_distance_m": 1141.0,
   "start_elevation_m": 247.77861580674445,
   "end_elevation_m": 252.5528636437696,
   "min_gradient_pct": -11.196850789465032,
   "suppressed_max_gradient_pct": 28.744797555364983,
   "suppressed_location_m": [
    1267.0,
    1287.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 23.67849992306742,
   "diagnostic": false,
   "flags": [
    "texture_excluded"
   ],
   "start_distance_m": 1130.0,
   "end_distance_m": 1155.0,
   "start_elevation_m": 249.208010007029,
   "end_elevation_m": 255.12763498779586,
   "min_gradient_pct": -10.950552453519776,
   "suppressed_max_gradient_pct": 26.456947052901114,
   "suppressed_location_m": [
    1266.0,
    1291.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 20.75094604790081,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1091.0,
   "end_distance_m": 1141.0,
   "start_elevation_m": 242.1773906198192,
   "end_elevation_m": 252.5528636437696,
   "min_gradient_pct": -8.276337116374293
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 19.717270217541767,
   "diagnostic": false,
   "flags": [
    "texture_excluded"
   ],
   "start_distance_m": 1058.0,
   "end_distance_m": 1158.0,
   "start_elevation_m": 236.04048300682211,
   "end_elevation_m": 255.75775322436388,
   "min_gradient_pct": -4.200485044463505,
   "suppressed_max_gradient_pct": 20.08941363734985,
   "suppressed_location_m": [
    1101.0,
    1201.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.344,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 357.0,
  "shape_class": "sustained"
 },
 "length_m": 2553.454028962259,
 "start_elevation_m": 116.21037382544272,
 "end_elevation_m": 390.99110532628737,
 "endpoint_gain_m": 274.78073150084464,
 "overall_gradient_pct": 10.76113877062895,
 "accumulated_ascent_m": 284.9922058926486,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 36.204364550566766,
   "start_distance_m": 1135.0,
   "end_distance_m": 1140.0,
   "midpoint_distance_m": 1137.5,
   "start_elevation_m": 250.46870633915387,
   "end_elevation_m": 252.2789245666822,
   "start_xy": [
    1294196.7920974046,
    4863603.648172535
   ],
   "end_xy": [
    1294199.3819786513,
    4863599.3711975375
   ]
  },
  "max_10m": {
   "gradient_pct": 31.333643202389112,
   "start_distance_m": 1131.0,
   "end_distance_m": 1141.0,
   "midpoint_distance_m": 1136.0,
   "start_elevation_m": 249.4194993235307,
   "end_elevation_m": 252.5528636437696,
   "start_xy": [
    1294194.720192407,
    4863607.069752532
   ],
   "end_xy": [
    1294199.8999549006,
    4863598.515802538
   ]
  },
  "max_20m": {
   "gradient_pct": 23.871239185125717,
   "start_distance_m": 1121.0,
   "end_distance_m": 1141.0,
   "midpoint_distance_m": 1131.0,
   "start_elevation_m": 247.77861580674445,
   "end_elevation_m": 252.5528636437696,
   "start_xy": [
    1294189.5404299137,
    4863615.623702527
   ],
   "end_xy": [
    1294199.8999549006,
    4863598.515802538
   ]
  },
  "max_25m": {
   "gradient_pct": 23.67849992306742,
   "start_distance_m": 1130.0,
   "end_distance_m": 1155.0,
   "midpoint_distance_m": 1142.5,
   "start_elevation_m": 249.208010007029,
   "end_elevation_m": 255.12763498779586,
   "start_xy": [
    1294194.2022161577,
    4863607.925147532
   ],
   "end_xy": [
    1294211.5286916038,
    4863590.825436764
   ]
  },
  "max_50m": {
   "gradient_pct": 20.75094604790081,
   "start_distance_m": 1091.0,
   "end_distance_m": 1141.0,
   "midpoint_distance_m": 1116.0,
   "start_elevation_m": 242.1773906198192,
   "end_elevation_m": 252.5528636437696,
   "start_xy": [
    1294187.1620604359,
    4863644.442444449
   ],
   "end_xy": [
    1294199.8999549006,
    4863598.515802538
   ]
  },
  "max_100m": {
   "gradient_pct": 19.717270217541767,
   "start_distance_m": 1058.0,
   "end_distance_m": 1158.0,
   "midpoint_distance_m": 1108.0,
   "start_elevation_m": 236.04048300682211,
   "end_elevation_m": 255.75775322436388,
   "start_xy": [
    1294203.9788040146,
    4863672.836055269
   ],
   "end_xy": [
    1294214.061328733,
    4863589.217410281
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -16.455469874273376,
   "start_distance_m": 2332.0,
   "end_distance_m": 2337.0,
   "midpoint_distance_m": 2334.5,
   "start_elevation_m": 384.8997307309256,
   "end_elevation_m": 384.07695723721196,
   "start_xy": [
    1294185.314751939,
    4862553.725269497
   ],
   "end_xy": [
    1294184.974411815,
    4862548.736866086
   ]
  },
  "min_10m": {
   "gradient_pct": -13.226305641645126,
   "start_distance_m": 2327.0,
   "end_distance_m": 2337.0,
   "midpoint_distance_m": 2332.0,
   "start_elevation_m": 385.39958780137647,
   "end_elevation_m": 384.07695723721196,
   "start_xy": [
    1294185.6550920631,
    4862558.71367291
   ],
   "end_xy": [
    1294184.974411815,
    4862548.736866086
   ]
  },
  "min_20m": {
   "gradient_pct": -11.196850789465032,
   "start_distance_m": 1209.0,
   "end_distance_m": 1229.0,
   "midpoint_distance_m": 1219.0,
   "start_elevation_m": 264.7778891840115,
   "end_elevation_m": 262.5385190261185,
   "start_xy": [
    1294257.1161599315,
    4863561.880960064
   ],
   "end_xy": [
    1294274.0004074604,
    4863551.160783509
   ]
  },
  "min_25m": {
   "gradient_pct": -10.950552453519776,
   "start_distance_m": 2449.0,
   "end_distance_m": 2474.0,
   "midpoint_distance_m": 2461.5,
   "start_elevation_m": 385.9872968165654,
   "end_elevation_m": 383.24965870318545,
   "start_xy": [
    1294159.4461077165,
    4862442.17331768
   ],
   "end_xy": [
    1294147.234250447,
    4862420.358860501
   ]
  },
  "min_50m": {
   "gradient_pct": -8.276337116374293,
   "start_distance_m": 2433.0,
   "end_distance_m": 2483.0,
   "midpoint_distance_m": 2458.0,
   "start_elevation_m": 386.57830203323994,
   "end_elevation_m": 382.4401334750528,
   "start_xy": [
    1294167.261696369,
    4862456.134570275
   ],
   "end_xy": [
    1294142.83798183,
    4862412.505655916
   ]
  },
  "min_100m": {
   "gradient_pct": -4.200485044463505,
   "start_distance_m": 2383.0,
   "end_distance_m": 2483.0,
   "midpoint_distance_m": 2433.0,
   "start_elevation_m": 386.6406185195163,
   "end_elevation_m": 382.4401334750528,
   "start_xy": [
    1294181.8432826733,
    4862502.843554696
   ],
   "end_xy": [
    1294142.83798183,
    4862412.505655916
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 41.11783680467909,
   "start_distance_m": 1136.0,
   "end_distance_m": 1138.0,
   "midpoint_distance_m": 1137.0,
   "start_elevation_m": 250.7926492290951,
   "end_elevation_m": 251.6150059651887,
   "start_xy": [
    1294197.310073654,
    4863602.7927775355
   ],
   "end_xy": [
    1294198.3460261526,
    4863601.0819875365
   ]
  },
  "max_3m": {
   "gradient_pct": 38.24922285248439,
   "start_distance_m": 1136.0,
   "end_distance_m": 1139.0,
   "midpoint_distance_m": 1137.5,
   "start_elevation_m": 250.7926492290951,
   "end_elevation_m": 251.94012591466964,
   "start_xy": [
    1294197.310073654,
    4863602.7927775355
   ],
   "end_xy": [
    1294198.864002402,
    4863600.226592537
   ]
  }
 },
 "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": {
  "texture_suppression": {
   "masked_fraction": 0.018,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    10.0,
    20.0,
    25.0,
    100.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "texture_windows": {
   "rounds": 1,
   "windows_masked": [
    {
     "window_m": 25.0,
     "start_m": 1266.0,
     "end_m": 1291.0,
     "raw_pct": 26.46,
     "reason": "hump"
    },
    {
     "window_m": 20.0,
     "start_m": 1267.0,
     "end_m": 1287.0,
     "raw_pct": 28.74,
     "reason": "hump"
    },
    {
     "window_m": 10.0,
     "start_m": 1186.0,
     "end_m": 1196.0,
     "raw_pct": 34.14,
     "reason": "hump+short-step"
    }
   ],
   "advisory": [],
   "unresolved": []
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.003,
   "obstruction_max_height_m": 7.9,
   "flagged_windows_m": []
  },
  "excluded_ranges_m": [
   [
    1184.0,
    1198.0
   ],
   [
    1264.0,
    1293.0
   ]
  ],
  "review": [],
  "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-s1",
   "road_pbf": "block-batch-nz-s1.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:65f98740b9968e3e"
  },
  "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/CG12.tiff"
  ],
  "calculated_at": "2026-09-28T05:16:25+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-s1.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-s1",
  "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": [
   "CG12"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "carriageway": {
   "stations": 108,
   "stations_resolved": 108,
   "width_median_m": 4.5,
   "width_p10_m": 2.5,
   "width_min_m": 1.25,
   "width_max_m": 8.75,
   "bounded_share": 0.139,
   "unbounded_share": 0.861,
   "confidence_median": 0.0,
   "width_median_bounded_m": 2.75,
   "window_m": [
    1130.0,
    1155.0
   ],
   "width_at_max25_m": 3.25,
   "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": 108,
    "stations_resolved": 108,
    "width_median_m": 9.25,
    "width_p10_m": 5.75,
    "width_min_m": 3.25,
    "width_max_m": 12.0,
    "bounded_share": 0.361,
    "unbounded_share": 0.639,
    "confidence_median": 0.0,
    "width_median_bounded_m": 7.25,
    "window_m": [
     1130.0,
     1155.0
    ],
    "width_at_max25_m": 8.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": "Waihopai Toetoe Community",
  "county": "Southland",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}