{
 "ocl_version": "0.1.0",
 "name": "Via al Gaggio",
 "slug": "via-al-gaggio",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 21.71136963554261,
   "diagnostic": true,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 237.0,
   "end_distance_m": 239.0,
   "start_elevation_m": 345.627733499955,
   "end_elevation_m": 346.06196089266587,
   "min_gradient_pct": -457.2602230318438,
   "suppressed_max_gradient_pct": 436.48651347513976,
   "suppressed_location_m": [
    1.0,
    3.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 21.547308960102402,
   "diagnostic": true,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 236.0,
   "end_distance_m": 239.0,
   "start_elevation_m": 345.4155416238628,
   "end_elevation_m": 346.06196089266587,
   "min_gradient_pct": -318.2547055785714,
   "suppressed_max_gradient_pct": 296.3854269525181,
   "suppressed_location_m": [
    1.0,
    4.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 20.80201465221876,
   "diagnostic": false,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 233.0,
   "end_distance_m": 238.0,
   "start_elevation_m": 344.80345050356425,
   "end_elevation_m": 345.8435512361752,
   "min_gradient_pct": -206.85695464731566,
   "suppressed_max_gradient_pct": 179.12564636516663,
   "suppressed_location_m": [
    1.0,
    6.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 20.476095528100586,
   "diagnostic": false,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 229.0,
   "end_distance_m": 239.0,
   "start_elevation_m": 344.0143513398558,
   "end_elevation_m": 346.06196089266587,
   "min_gradient_pct": -103.965721326025,
   "suppressed_max_gradient_pct": 105.70658896520115,
   "suppressed_location_m": [
    1.0,
    11.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 20.34249081325271,
   "diagnostic": false,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 219.0,
   "end_distance_m": 239.0,
   "start_elevation_m": 341.9934627300153,
   "end_elevation_m": 346.06196089266587,
   "min_gradient_pct": -50.1230035149689,
   "suppressed_max_gradient_pct": 54.2053772023084,
   "suppressed_location_m": [
    0.0,
    20.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 20.12649124049949,
   "diagnostic": false,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 214.0,
   "end_distance_m": 239.0,
   "start_elevation_m": 341.030338082541,
   "end_elevation_m": 346.06196089266587,
   "min_gradient_pct": -39.67192530386865,
   "suppressed_max_gradient_pct": 43.79131461371844,
   "suppressed_location_m": [
    1.0,
    26.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 19.69540659618565,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 199.0,
   "end_distance_m": 249.0,
   "start_elevation_m": 338.1046581930347,
   "end_elevation_m": 347.95236149112753,
   "min_gradient_pct": -16.285755188871917
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 17.66489404716117,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 177.0,
   "end_distance_m": 277.0,
   "start_elevation_m": 334.2982210726241,
   "end_elevation_m": 351.96311511978524,
   "min_gradient_pct": -1.436954629939919
  }
 ],
 "shape": {
  "ascent_concentration": 0.293,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 195.0,
  "shape_class": "sustained"
 },
 "length_m": 474.29999999983886,
 "start_elevation_m": 316.79266740723205,
 "end_elevation_m": 377.90582198398863,
 "endpoint_gain_m": 61.113154576756585,
 "overall_gradient_pct": 12.884915575959804,
 "accumulated_ascent_m": 71.73493955694727,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 20.80201465221876,
   "start_distance_m": 233.0,
   "end_distance_m": 238.0,
   "midpoint_distance_m": 235.5,
   "start_elevation_m": 344.80345050356425,
   "end_elevation_m": 345.8435512361752,
   "start_xy": [
    2715990.4218530706,
    1093472.0114085826
   ],
   "end_xy": [
    2715994.8048941046,
    1093474.4174310882
   ]
  },
  "max_10m": {
   "gradient_pct": 20.476095528100586,
   "start_distance_m": 229.0,
   "end_distance_m": 239.0,
   "midpoint_distance_m": 234.0,
   "start_elevation_m": 344.0143513398558,
   "end_elevation_m": 346.06196089266587,
   "start_xy": [
    2715986.915156121,
    1093470.0870708837
   ],
   "end_xy": [
    2715995.6816793187,
    1093474.8983132865
   ]
  },
  "max_20m": {
   "gradient_pct": 20.34249081325271,
   "start_distance_m": 219.0,
   "end_distance_m": 239.0,
   "midpoint_distance_m": 229.0,
   "start_elevation_m": 341.9934627300153,
   "end_elevation_m": 346.06196089266587,
   "start_xy": [
    2715978.1488607554,
    1093465.2754127975
   ],
   "end_xy": [
    2715995.6816793187,
    1093474.8983132865
   ]
  },
  "max_25m": {
   "gradient_pct": 20.12649124049949,
   "start_distance_m": 214.0,
   "end_distance_m": 239.0,
   "midpoint_distance_m": 226.5,
   "start_elevation_m": 341.030338082541,
   "end_elevation_m": 346.06196089266587,
   "start_xy": [
    2715973.765784812,
    1093462.8694529983
   ],
   "end_xy": [
    2715995.6816793187,
    1093474.8983132865
   ]
  },
  "max_50m": {
   "gradient_pct": 19.69540659618565,
   "start_distance_m": 199.0,
   "end_distance_m": 249.0,
   "midpoint_distance_m": 224.0,
   "start_elevation_m": 338.1046581930347,
   "end_elevation_m": 347.95236149112753,
   "start_xy": [
    2715960.4192672437,
    1093456.0942823694
   ],
   "end_xy": [
    2716005.1722201076,
    1093477.601790182
   ]
  },
  "max_100m": {
   "gradient_pct": 17.66489404716117,
   "start_distance_m": 177.0,
   "end_distance_m": 277.0,
   "midpoint_distance_m": 227.0,
   "start_elevation_m": 334.2982210726241,
   "end_elevation_m": 351.96311511978524,
   "start_xy": [
    2715938.831532932,
    1093456.5945312914
   ],
   "end_xy": [
    2716033.04637428,
    1093475.5241467333
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -206.85695464731566,
   "start_distance_m": 38.0,
   "end_distance_m": 43.0,
   "midpoint_distance_m": 40.5,
   "start_elevation_m": 328.03021413329435,
   "end_elevation_m": 317.68736640092857,
   "start_xy": [
    2715817.5417883703,
    1093435.9449324918
   ],
   "end_xy": [
    2715822.305496702,
    1093437.4638394515
   ]
  },
  "min_10m": {
   "gradient_pct": -103.965721326025,
   "start_distance_m": 35.0,
   "end_distance_m": 45.0,
   "midpoint_distance_m": 40.0,
   "start_elevation_m": 328.11233365432906,
   "end_elevation_m": 317.71576152172656,
   "start_xy": [
    2715814.683773792,
    1093435.0329278414
   ],
   "end_xy": [
    2715824.211098328,
    1093438.071031366
   ]
  },
  "min_20m": {
   "gradient_pct": -50.1230035149689,
   "start_distance_m": 25.0,
   "end_distance_m": 45.0,
   "midpoint_distance_m": 35.0,
   "start_elevation_m": 327.74036222472034,
   "end_elevation_m": 317.71576152172656,
   "start_xy": [
    2715805.156356853,
    1093431.9951138336
   ],
   "end_xy": [
    2715824.211098328,
    1093438.071031366
   ]
  },
  "min_25m": {
   "gradient_pct": -39.67192530386865,
   "start_distance_m": 20.0,
   "end_distance_m": 45.0,
   "midpoint_distance_m": 32.5,
   "start_elevation_m": 327.6337428476937,
   "end_elevation_m": 317.71576152172656,
   "start_xy": [
    2715800.392740924,
    1093430.4759173566
   ],
   "end_xy": [
    2715824.211098328,
    1093438.071031366
   ]
  },
  "min_50m": {
   "gradient_pct": -16.285755188871917,
   "start_distance_m": 9.0,
   "end_distance_m": 59.0,
   "midpoint_distance_m": 34.0,
   "start_elevation_m": 327.28022727977964,
   "end_elevation_m": 319.1373496853437,
   "start_xy": [
    2715789.912714336,
    1093427.1339088753
   ],
   "end_xy": [
    2715837.549428869,
    1093442.324136806
   ]
  },
  "min_100m": {
   "gradient_pct": -1.436954629939919,
   "start_distance_m": 9.0,
   "end_distance_m": 109.0,
   "midpoint_distance_m": 59.0,
   "start_elevation_m": 327.28022727977964,
   "end_elevation_m": 325.8432726498397,
   "start_xy": [
    2715789.912714336,
    1093427.1339088753
   ],
   "end_xy": [
    2715885.0061128386,
    1093458.0670375733
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 21.71136963554261,
   "start_distance_m": 237.0,
   "end_distance_m": 239.0,
   "midpoint_distance_m": 238.0,
   "start_elevation_m": 345.627733499955,
   "end_elevation_m": 346.06196089266587,
   "start_xy": [
    2715993.928321404,
    1093473.9361616387
   ],
   "end_xy": [
    2715995.6816793187,
    1093474.8983132865
   ]
  },
  "max_3m": {
   "gradient_pct": 21.547308960102402,
   "start_distance_m": 236.0,
   "end_distance_m": 239.0,
   "midpoint_distance_m": 237.5,
   "start_elevation_m": 345.4155416238628,
   "end_elevation_m": 346.06196089266587,
   "start_xy": [
    2715993.051555026,
    1093473.455245117
   ],
   "end_xy": [
    2715995.6816793187,
    1093474.8983132865
   ]
  }
 },
 "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.173,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    10.0,
    20.0,
    25.0
   ],
   "windows_unresolved": []
  },
  "excluded_ranges_m": [
   [
    0.0,
    81.0
   ]
  ],
  "review": [],
  "extent": [
   "may_start_earlier",
   "may_continue_beyond_end"
  ]
 },
 "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:2056",
  "elevation_resolution_m": 0.5,
  "elevation_tiles": [
   "data/cache/ch/swissalti3d_2022_2715-1093_0.5_2056_5728.tif",
   "data/cache/ch/swissalti3d_2022_2716-1093_0.5_2056_5728.tif"
  ],
  "calculated_at": "2026-09-15T22:02:09+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/switzerland-2026-09-10.osm.pbf",
  "osm_snapshot": "2026-09-09T20:21:20Z",
  "run_id": "retro-260915-dogleg-all",
  "elevation_provider": "swisstopo swissALTI3D",
  "elevation_licence": "swisstopo open government data (OGD): free use, attribution '\u00a9 swisstopo' \u2014 https://www.swisstopo.admin.ch/en/terms-and-conditions",
  "elevation_dataset": "swissALTI3D 0.5 m DTM (Federal Office of Topography swisstopo)",
  "elevation_tile_ids": [
   "2715-1093",
   "2716-1093"
  ],
  "route_cut_m": 474.3,
  "climb_origin": "discovered",
  "canopy_check": "unavailable \u2014 no surface model (DSM or point cloud) registered for this coverage",
  "structure_own_ways": "none \u2014 the route carried no way list; own decks unmasked",
  "structure_mask_ranges_m": [
   [
    38.5,
    68.5
   ],
   [
    33.6,
    63.6
   ],
   [
    28.6,
    58.6
   ],
   [
    43.5,
    73.5
   ],
   [
    30.9,
    60.9
   ],
   [
    24.9,
    54.9
   ],
   [
    23.6,
    53.6
   ],
   [
    17.4,
    47.4
   ],
   [
    20.3,
    50.3
   ],
   [
    0.0,
    19.8
   ],
   [
    0.0,
    22.6
   ],
   [
    46.6,
    76.6
   ],
   [
    0.0,
    29.4
   ],
   [
    0.0,
    24.5
   ],
   [
    2.7,
    32.7
   ],
   [
    0.0,
    17.8
   ],
   [
    5.2,
    35.2
   ],
   [
    0.0,
    27.5
   ],
   [
    9.7,
    39.7
   ],
   [
    35.5,
    65.5
   ],
   [
    7.5,
    37.5
   ],
   [
    12.4,
    42.4
   ],
   [
    40.4,
    70.4
   ],
   [
    15.1,
    45.1
   ]
  ],
  "license": "ODbL-1.0",
  "license_url": "https://howsteep.org/licensing"
 },
 "area": {
  "place": "Lugano",
  "county": "Ticino",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}