{
 "ocl_version": "0.1.0",
 "name": "Maybole Bypass",
 "slug": "maybole-bypass",
 "confidence": "A",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 53.05942464313489,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 384.0,
   "end_distance_m": 386.0,
   "start_elevation_m": 129.35596656616644,
   "end_elevation_m": 130.41715505902914,
   "min_gradient_pct": -5.101810878515778
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 44.286266317574054,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 383.0,
   "end_distance_m": 386.0,
   "start_elevation_m": 129.08856706950192,
   "end_elevation_m": 130.41715505902914,
   "min_gradient_pct": -3.2244533305136733
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 35.65896962674344,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 381.0,
   "end_distance_m": 386.0,
   "start_elevation_m": 128.63420657769197,
   "end_elevation_m": 130.41715505902914,
   "min_gradient_pct": -1.7866247886155406
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 29.22123480018527,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 85.0,
   "end_distance_m": 95.0,
   "start_elevation_m": 104.3714361786369,
   "end_elevation_m": 107.29355965865543,
   "min_gradient_pct": -1.4526705012843877
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 28.022586075349455,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 81.0,
   "end_distance_m": 101.0,
   "start_elevation_m": 103.25724719177389,
   "end_elevation_m": 108.86176440684378,
   "min_gradient_pct": -0.9373607496941361
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 27.534055444378108,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 78.0,
   "end_distance_m": 103.0,
   "start_elevation_m": 102.45337548931639,
   "end_elevation_m": 109.33688935041091,
   "min_gradient_pct": -0.7476417247683571
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 24.247965103026672,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 74.0,
   "end_distance_m": 124.0,
   "start_elevation_m": 101.6011244313912,
   "end_elevation_m": 113.72510698290453,
   "min_gradient_pct": 0.5457553349511102
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 19.11375755441,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 32.0,
   "end_distance_m": 132.0,
   "start_elevation_m": 95.87348967134686,
   "end_elevation_m": 114.98724722575686,
   "min_gradient_pct": 4.147449046180327
  }
 ],
 "shape": {
  "ascent_concentration": 0.503,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 85.0,
  "shape_class": "stepped"
 },
 "length_m": 483.0000000000388,
 "start_elevation_m": 93.66919169308683,
 "end_elevation_m": 135.83069296954721,
 "endpoint_gain_m": 42.161501276460385,
 "overall_gradient_pct": 8.729089291191924,
 "accumulated_ascent_m": 43.24792140207923,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 35.65896962674344,
   "start_distance_m": 381.0,
   "end_distance_m": 386.0,
   "midpoint_distance_m": 383.5,
   "start_elevation_m": 128.63420657769197,
   "end_elevation_m": 130.41715505902914,
   "start_xy": [
    228934.37643217627,
    609931.7405695238
   ],
   "end_xy": [
    228936.27774186488,
    609936.3644106721
   ]
  },
  "max_10m": {
   "gradient_pct": 29.22123480018527,
   "start_distance_m": 85.0,
   "end_distance_m": 95.0,
   "midpoint_distance_m": 90.0,
   "start_elevation_m": 104.3714361786369,
   "end_elevation_m": 107.29355965865543,
   "start_xy": [
    228847.30423760705,
    609648.9940205808
   ],
   "end_xy": [
    228850.00386850623,
    609658.622727296
   ]
  },
  "max_20m": {
   "gradient_pct": 28.022586075349455,
   "start_distance_m": 81.0,
   "end_distance_m": 101.0,
   "midpoint_distance_m": 91.0,
   "start_elevation_m": 103.25724719177389,
   "end_elevation_m": 108.86176440684378,
   "start_xy": [
    228846.22438524736,
    609645.1425378947
   ],
   "end_xy": [
    228851.63982441125,
    609664.3953822708
   ]
  },
  "max_25m": {
   "gradient_pct": 27.534055444378108,
   "start_distance_m": 78.0,
   "end_distance_m": 103.0,
   "midpoint_distance_m": 90.5,
   "start_elevation_m": 102.45337548931639,
   "end_elevation_m": 109.33688935041091,
   "start_xy": [
    228845.4144959776,
    609642.2539258801
   ],
   "end_xy": [
    228852.18710511882,
    609666.3190464377
   ]
  },
  "max_50m": {
   "gradient_pct": 24.247965103026672,
   "start_distance_m": 74.0,
   "end_distance_m": 124.0,
   "midpoint_distance_m": 99.0,
   "start_elevation_m": 101.6011244313912,
   "end_elevation_m": 113.72510698290453,
   "start_xy": [
    228844.33464361794,
    609638.4024431941
   ],
   "end_xy": [
    228857.93355254846,
    609686.5175201903
   ]
  },
  "max_100m": {
   "gradient_pct": 19.11375755441,
   "start_distance_m": 32.0,
   "end_distance_m": 132.0,
   "midpoint_distance_m": 82.0,
   "start_elevation_m": 95.87348967134686,
   "end_elevation_m": 114.98724722575686,
   "start_xy": [
    228832.99619384133,
    609597.96187499
   ],
   "end_xy": [
    228860.12267537878,
    609694.2121768581
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -1.7866247886155406,
   "start_distance_m": 174.0,
   "end_distance_m": 179.0,
   "midpoint_distance_m": 176.5,
   "start_elevation_m": 117.4218737422666,
   "end_elevation_m": 117.33254250283582,
   "start_xy": [
    228871.70961143041,
    609734.582159095
   ],
   "end_xy": [
    228873.09771974033,
    609739.3856115326
   ]
  },
  "min_10m": {
   "gradient_pct": -1.4526705012843877,
   "start_distance_m": 169.0,
   "end_distance_m": 179.0,
   "midpoint_distance_m": 174.0,
   "start_elevation_m": 117.47780955296426,
   "end_elevation_m": 117.33254250283582,
   "start_xy": [
    228870.32150312047,
    609729.7787066575
   ],
   "end_xy": [
    228873.09771974033,
    609739.3856115326
   ]
  },
  "min_20m": {
   "gradient_pct": -0.9373607496941361,
   "start_distance_m": 169.0,
   "end_distance_m": 189.0,
   "midpoint_distance_m": 179.0,
   "start_elevation_m": 117.47780955296426,
   "end_elevation_m": 117.29033740302543,
   "start_xy": [
    228870.32150312047,
    609729.7787066575
   ],
   "end_xy": [
    228875.87393636018,
    609748.9925164077
   ]
  },
  "min_25m": {
   "gradient_pct": -0.7476417247683571,
   "start_distance_m": 165.0,
   "end_distance_m": 190.0,
   "midpoint_distance_m": 177.5,
   "start_elevation_m": 117.47561734978281,
   "end_elevation_m": 117.28870691859072,
   "start_xy": [
    228869.21101647255,
    609725.9359447074
   ],
   "end_xy": [
    228876.15155802216,
    609749.9532068952
   ]
  },
  "min_50m": {
   "gradient_pct": 0.5457553349511102,
   "start_distance_m": 155.0,
   "end_distance_m": 205.0,
   "midpoint_distance_m": 180.0,
   "start_elevation_m": 117.25697515703513,
   "end_elevation_m": 117.52985282451068,
   "start_xy": [
    228866.4347998527,
    609716.3290398322
   ],
   "end_xy": [
    228880.2664444345,
    609764.3776427142
   ]
  },
  "min_100m": {
   "gradient_pct": 4.147449046180327,
   "start_distance_m": 149.0,
   "end_distance_m": 249.0,
   "midpoint_distance_m": 199.0,
   "start_elevation_m": 116.87093903324597,
   "end_elevation_m": 121.0183880794263,
   "start_xy": [
    228864.77456139325,
    609710.5633222769
   ],
   "end_xy": [
    228892.37456731417,
    609806.6776793175
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 53.05942464313489,
   "start_distance_m": 384.0,
   "end_distance_m": 386.0,
   "midpoint_distance_m": 385.0,
   "start_elevation_m": 129.35596656616644,
   "end_elevation_m": 130.41715505902914,
   "start_xy": [
    228935.49593651644,
    609934.5238607468
   ],
   "end_xy": [
    228936.27774186488,
    609936.3644106721
   ]
  },
  "max_3m": {
   "gradient_pct": 44.286266317574054,
   "start_distance_m": 383.0,
   "end_distance_m": 386.0,
   "midpoint_distance_m": 384.5,
   "start_elevation_m": 129.08856706950192,
   "end_elevation_m": 130.41715505902914,
   "start_xy": [
    228935.12276840303,
    609933.5960970058
   ],
   "end_xy": [
    228936.27774186488,
    609936.3644106721
   ]
  }
 },
 "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.012,
   "obstruction_max_height_m": 8.1,
   "flagged_windows_m": []
  },
  "review": [],
  "extent": []
 },
 "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": 0.5,
  "elevation_tiles": [
   "data/cache/scotland/phase-4/dtm/NS20NE.tif",
   "data/cache/scotland/phase-4/dtm/NS21SE.tif"
  ],
  "calculated_at": "2026-08-19T17:32:04+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/scotland-2026-08-14.osm.pbf",
  "osm_snapshot": "2026-08-13T20:21:01Z",
  "elevation_provider": "Scottish Remote Sensing Portal (AWS Open Data, srsp-open-data)",
  "elevation_licence": "Open Government Licence v3 \u2014 \u00a9 Scottish Government, SEPA and partners; Crown copyright",
  "elevation_dataset": "Scottish Public Sector LiDAR Phase 4 50cm",
  "elevation_tile_ids": [
   "NS20NE",
   "NS21SE"
  ],
  "route_summit_trim_m": 81.7,
  "route_summit_trim_loss_m": 7.9,
  "climb_origin": "discovered",
  "notes": "Coarse pass: max 7.9% over 200 m (Terrain 50), gain 26.0 m over 565 m way. KEPT at seed extent: no ascending continuation (min_avg=2.0%). ADOPTED (Scotland launch 2026-08-18): clean-steep,qualified-steep.",
  "license": "ODbL-1.0",
  "license_url": "https://howsteep.org/licensing.html"
 },
 "area": {
  "place": "Maybole",
  "county": "South Ayrshire"
 }
}