{
 "ocl_version": "0.1.0",
 "name": "Llanfach Road",
 "slug": "llanfach-road",
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 46.90237012367717,
   "diagnostic": true,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 95.0,
   "end_distance_m": 97.0,
   "start_elevation_m": 117.58545903070527,
   "end_elevation_m": 118.52350643317881,
   "min_gradient_pct": -9.171485348326769
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 43.66940069617774,
   "diagnostic": true,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 94.0,
   "end_distance_m": 97.0,
   "start_elevation_m": 117.21342441229348,
   "end_elevation_m": 118.52350643317881,
   "min_gradient_pct": -8.677658856767797
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 33.93224073796972,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 93.0,
   "end_distance_m": 98.0,
   "start_elevation_m": 116.98602140397435,
   "end_elevation_m": 118.68263344087283,
   "min_gradient_pct": -8.147464991728839
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 27.231964239718707,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 79.0,
   "end_distance_m": 89.0,
   "start_elevation_m": 114.28270928507979,
   "end_elevation_m": 117.00590570905166,
   "min_gradient_pct": -7.47021688169923
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 22.77772326511659,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 78.0,
   "end_distance_m": 98.0,
   "start_elevation_m": 114.12708878784952,
   "end_elevation_m": 118.68263344087283,
   "min_gradient_pct": -5.731338326766036
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 20.947053595620787,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 73.0,
   "end_distance_m": 98.0,
   "start_elevation_m": 113.44587004196764,
   "end_elevation_m": 118.68263344087283,
   "min_gradient_pct": -5.370427667893182
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 19.01841948058933,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 178.0,
   "end_distance_m": 228.0,
   "start_elevation_m": 127.01542998945848,
   "end_elevation_m": 136.52463972975315,
   "min_gradient_pct": -4.463525321402301
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 17.93201693414045,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 1287.0,
   "end_distance_m": 1387.0,
   "start_elevation_m": 247.9392971000862,
   "end_elevation_m": 265.87131403422666,
   "min_gradient_pct": -0.8458525486773567
  }
 ],
 "length_m": 1737.4730202639053,
 "start_elevation_m": 106.3581637187504,
 "end_elevation_m": 293.50009342749365,
 "endpoint_gain_m": 187.14192970874325,
 "overall_gradient_pct": 10.770925794307772,
 "accumulated_ascent_m": 190.59851605417578,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 33.93224073796972,
   "start_distance_m": 93.0,
   "end_distance_m": 98.0,
   "midpoint_distance_m": 95.5,
   "start_elevation_m": 116.98602140397435,
   "end_elevation_m": 118.68263344087283,
   "start_xy": [
    321588.71178710076,
    195053.63419232063
   ],
   "end_xy": [
    321590.0539183391,
    195058.45069351332
   ]
  },
  "max_10m": {
   "gradient_pct": 27.231964239718707,
   "start_distance_m": 79.0,
   "end_distance_m": 89.0,
   "midpoint_distance_m": 84.0,
   "start_elevation_m": 114.28270928507979,
   "end_elevation_m": 117.00590570905166,
   "start_xy": [
    321585.55582217034,
    195040.0761108468
   ],
   "end_xy": [
    321587.6380821101,
    195049.78099136648
   ]
  },
  "max_20m": {
   "gradient_pct": 22.77772326511659,
   "start_distance_m": 78.0,
   "end_distance_m": 98.0,
   "midpoint_distance_m": 88.0,
   "start_elevation_m": 114.12708878784952,
   "end_elevation_m": 118.68263344087283,
   "start_xy": [
    321585.5899028888,
    195039.0766917632
   ],
   "end_xy": [
    321590.0539183391,
    195058.45069351332
   ]
  },
  "max_25m": {
   "gradient_pct": 20.947053595620787,
   "start_distance_m": 73.0,
   "end_distance_m": 98.0,
   "midpoint_distance_m": 85.5,
   "start_elevation_m": 113.44587004196764,
   "end_elevation_m": 118.68263344087283,
   "start_xy": [
    321585.7603064812,
    195034.0795963453
   ],
   "end_xy": [
    321590.0539183391,
    195058.45069351332
   ]
  },
  "max_50m": {
   "gradient_pct": 19.01841948058933,
   "start_distance_m": 178.0,
   "end_distance_m": 228.0,
   "midpoint_distance_m": 203.0,
   "start_elevation_m": 127.01542998945848,
   "end_elevation_m": 136.52463972975315,
   "start_xy": [
    321625.6552313187,
    195129.40040466475
   ],
   "end_xy": [
    321663.26189713523,
    195155.90310176098
   ]
  },
  "max_100m": {
   "gradient_pct": 17.93201693414045,
   "start_distance_m": 1287.0,
   "end_distance_m": 1387.0,
   "midpoint_distance_m": 1337.0,
   "start_elevation_m": 247.9392971000862,
   "end_elevation_m": 265.87131403422666,
   "start_xy": [
    322372.16693698347,
    195567.75063256302
   ],
   "end_xy": [
    322405.9422530784,
    195661.8627045273
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -8.147464991728839,
   "start_distance_m": 871.0,
   "end_distance_m": 876.0,
   "midpoint_distance_m": 873.5,
   "start_elevation_m": 199.13781702576688,
   "end_elevation_m": 198.73044377618044,
   "start_xy": [
    322114.88836962456,
    195262.0831875642
   ],
   "end_xy": [
    322109.9848953428,
    195263.0609093894
   ]
  },
  "min_10m": {
   "gradient_pct": -7.47021688169923,
   "start_distance_m": 866.0,
   "end_distance_m": 876.0,
   "midpoint_distance_m": 871.0,
   "start_elevation_m": 199.47746546435036,
   "end_elevation_m": 198.73044377618044,
   "start_xy": [
    322119.4922592872,
    195260.29598148572
   ],
   "end_xy": [
    322109.9848953428,
    195263.0609093894
   ]
  },
  "min_20m": {
   "gradient_pct": -5.731338326766036,
   "start_distance_m": 856.0,
   "end_distance_m": 876.0,
   "midpoint_distance_m": 866.0,
   "start_elevation_m": 199.87671144153364,
   "end_elevation_m": 198.73044377618044,
   "start_xy": [
    322128.2093780786,
    195255.39579373648
   ],
   "end_xy": [
    322109.9848953428,
    195263.0609093894
   ]
  },
  "min_25m": {
   "gradient_pct": -5.370427667893182,
   "start_distance_m": 851.0,
   "end_distance_m": 876.0,
   "midpoint_distance_m": 863.5,
   "start_elevation_m": 200.07305069315373,
   "end_elevation_m": 198.73044377618044,
   "start_xy": [
    322132.56793747423,
    195252.94569986186
   ],
   "end_xy": [
    322109.9848953428,
    195263.0609093894
   ]
  },
  "min_50m": {
   "gradient_pct": -4.463525321402301,
   "start_distance_m": 826.0,
   "end_distance_m": 876.0,
   "midpoint_distance_m": 851.0,
   "start_elevation_m": 200.9622064368816,
   "end_elevation_m": 198.73044377618044,
   "start_xy": [
    322154.36073445255,
    195240.69523048875
   ],
   "end_xy": [
    322109.9848953428,
    195263.0609093894
   ]
  },
  "min_100m": {
   "gradient_pct": -0.8458525486773567,
   "start_distance_m": 808.0,
   "end_distance_m": 908.0,
   "midpoint_distance_m": 858.0,
   "start_elevation_m": 201.29112375483234,
   "end_elevation_m": 200.44527120615498,
   "start_xy": [
    322169.1090048601,
    195230.6689994082
   ],
   "end_xy": [
    322129.0757576149,
    195288.3494164482
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 46.90237012367717,
   "start_distance_m": 95.0,
   "end_distance_m": 97.0,
   "midpoint_distance_m": 96.0,
   "start_elevation_m": 117.58545903070527,
   "end_elevation_m": 118.52350643317881,
   "start_xy": [
    321589.24863959604,
    195055.5607927977
   ],
   "end_xy": [
    321589.7854920914,
    195057.4873932748
   ]
  },
  "max_3m": {
   "gradient_pct": 43.66940069617774,
   "start_distance_m": 94.0,
   "end_distance_m": 97.0,
   "midpoint_distance_m": 95.5,
   "start_elevation_m": 117.21342441229348,
   "end_elevation_m": 118.52350643317881,
   "start_xy": [
    321588.9802133484,
    195054.59749255917
   ],
   "end_xy": [
    321589.7854920914,
    195057.4873932748
   ]
  }
 },
 "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.338,
   "obstruction_max_height_m": 22.0,
   "flagged_windows_m": [
    2,
    3,
    5,
    10,
    20,
    25,
    50,
    100
   ]
  },
  "review": [],
  "extent": [
   "may_start_earlier"
  ]
 },
 "provenance": {
  "analysis_version": "0.1.0",
  "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:27700",
  "elevation_resolution_m": 1.0,
  "elevation_tiles": [
   "data/cache/wales/dtm_1m/wg_del_5_321194_20201224dtm.tif",
   "data/cache/wales/dtm_1m/wg_del_5_321195_20201224dtm.tif",
   "data/cache/wales/dtm_1m/wg_del_5_321196_20201224dtm.tif",
   "data/cache/wales/dtm_1m/wg_del_5_322194_20201224dtm.tif",
   "data/cache/wales/dtm_1m/wg_del_5_322195_20201224dtm.tif",
   "data/cache/wales/dtm_1m/wg_del_5_322196_20201224dtm.tif"
  ],
  "calculated_at": "2026-08-12T09:10:47+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/wales-2026-08-11.osm.pbf",
  "osm_snapshot": "2026-08-10T20:21:40Z",
  "elevation_provider": "Welsh Government",
  "elevation_dataset": "Welsh Government LiDAR 1m DTM (2020-2023)",
  "elevation_licence": "Open Government Licence v3 \u2014 \u00a9 Crown copyright Welsh Government",
  "elevation_catalogue_layer": "geonode:welsh_government_lidar_tile_catalogue_2020_2023",
  "elevation_tile_ids": [
   "wg_del_5_321194_20201224dtm.tif",
   "wg_del_5_321195_20201224dtm.tif",
   "wg_del_5_321196_20201224dtm.tif",
   "wg_del_5_322194_20201224dtm.tif",
   "wg_del_5_322195_20201224dtm.tif",
   "wg_del_5_322196_20201224dtm.tif"
  ],
  "elevation_capture_dates": [
   "24-12-2020"
  ],
  "climb_origin": "discovered",
  "notes": "Coarse pass: max 13.7% over 200 m (Terrain 50), gain 65.6 m over 648 m way. EXTENDED by graph walk: +3 segment(s) at base, +2 at top (stop: base=no_descending_continuation, top=no_ascending_continuation; min_avg=2.0%). Review before adopting. DEDUPE: absorbed 4 overlapping proposal(s): coed-moelfa-road, twyn-road, twyn-road-3, twyn-road-4 ADOPTED (notable slice 2026-08-11): endurance."
 },
 "area": {
  "place": "Llanfach",
  "county": "Caerffili - Caerphilly"
 },
 "reported_claims": [],
 "confidence": "B",
 "shape": {
  "ascent_concentration": 0.359,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 532.0,
  "shape_class": "sustained"
 }
}