{
 "ocl_version": "0.1.0",
 "name": "Osvegen",
 "slug": "osvegen",
 "confidence": "A",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 26.497889138057218,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 280.0,
   "end_distance_m": 282.0,
   "start_elevation_m": 101.19131824803874,
   "end_elevation_m": 101.72127603079988,
   "min_gradient_pct": -4.010601525961732
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 26.30524626039327,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 280.0,
   "end_distance_m": 283.0,
   "start_elevation_m": 101.19131824803874,
   "end_elevation_m": 101.98047563585054,
   "min_gradient_pct": -3.7185793143919454
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 24.650937526395467,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 279.0,
   "end_distance_m": 284.0,
   "start_elevation_m": 100.97413024338427,
   "end_elevation_m": 102.20667711970404,
   "min_gradient_pct": -2.1422353701041175
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 23.994645189127226,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 273.0,
   "end_distance_m": 283.0,
   "start_elevation_m": 99.58101111693782,
   "end_elevation_m": 101.98047563585054,
   "min_gradient_pct": 1.564325617004414
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 22.74013505394798,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 265.0,
   "end_distance_m": 285.0,
   "start_elevation_m": 97.87335865794081,
   "end_elevation_m": 102.42138566873041,
   "min_gradient_pct": 3.942354765452123
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 21.81757899562859,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 264.0,
   "end_distance_m": 289.0,
   "start_elevation_m": 97.67702814024018,
   "end_elevation_m": 103.13142288914733,
   "min_gradient_pct": 4.65880137414166
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 19.927639968394544,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 260.0,
   "end_distance_m": 310.0,
   "start_elevation_m": 96.96746247645834,
   "end_elevation_m": 106.93128246065561,
   "min_gradient_pct": 5.677262973156729
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 19.0371831371792,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 257.0,
   "end_distance_m": 357.0,
   "start_elevation_m": 96.4745339011842,
   "end_elevation_m": 115.5117170383634,
   "min_gradient_pct": 6.500626771789854
  }
 ],
 "shape": {
  "ascent_concentration": 0.407,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 140.0,
  "shape_class": "sustained"
 },
 "length_m": 426.50494596559423,
 "start_elevation_m": 76.24385167906493,
 "end_elevation_m": 125.66650729906502,
 "endpoint_gain_m": 49.422655620000086,
 "overall_gradient_pct": 11.587827078560297,
 "accumulated_ascent_m": 49.54633062802404,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 24.650937526395467,
   "start_distance_m": 279.0,
   "end_distance_m": 284.0,
   "midpoint_distance_m": 281.5,
   "start_elevation_m": 100.97413024338427,
   "end_elevation_m": 102.20667711970404,
   "start_xy": [
    -31084.87138904968,
    6724063.376058217
   ],
   "end_xy": [
    -31087.508727006363,
    6724059.11019577
   ]
  },
  "max_10m": {
   "gradient_pct": 23.994645189127226,
   "start_distance_m": 273.0,
   "end_distance_m": 283.0,
   "midpoint_distance_m": 278.0,
   "start_elevation_m": 99.58101111693782,
   "end_elevation_m": 101.98047563585054,
   "start_xy": [
    -31085.88307821152,
    6724068.93150445
   ],
   "end_xy": [
    -31086.981259415028,
    6724059.963368259
   ]
  },
  "max_20m": {
   "gradient_pct": 22.74013505394798,
   "start_distance_m": 265.0,
   "end_distance_m": 285.0,
   "midpoint_distance_m": 275.0,
   "start_elevation_m": 97.87335865794081,
   "end_elevation_m": 102.42138566873041,
   "start_xy": [
    -31089.141728614155,
    6724076.18764114
   ],
   "end_xy": [
    -31088.11567095112,
    6724058.31245188
   ]
  },
  "max_25m": {
   "gradient_pct": 21.81757899562859,
   "start_distance_m": 264.0,
   "end_distance_m": 289.0,
   "midpoint_distance_m": 276.5,
   "start_elevation_m": 97.67702814024018,
   "end_elevation_m": 103.13142288914733,
   "start_xy": [
    -31089.749089079913,
    6724076.985913513
   ],
   "end_xy": [
    -31090.66172953138,
    6724055.223803874
   ]
  },
  "max_50m": {
   "gradient_pct": 19.927639968394544,
   "start_distance_m": 260.0,
   "end_distance_m": 310.0,
   "midpoint_distance_m": 285.0,
   "start_elevation_m": 96.96746247645834,
   "end_elevation_m": 106.93128246065561,
   "start_xy": [
    -31092.178530942943,
    6724080.179003005
   ],
   "end_xy": [
    -31102.785250051966,
    6724038.452255218
   ]
  },
  "max_100m": {
   "gradient_pct": 19.0371831371792,
   "start_distance_m": 257.0,
   "end_distance_m": 357.0,
   "midpoint_distance_m": 307.0,
   "start_elevation_m": 96.4745339011842,
   "end_elevation_m": 115.5117170383634,
   "start_xy": [
    -31094.000612340216,
    6724082.573820124
   ],
   "end_xy": [
    -31138.990940375097,
    6724013.217044106
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -2.1422353701041175,
   "start_distance_m": 149.0,
   "end_distance_m": 154.0,
   "midpoint_distance_m": 151.5,
   "start_elevation_m": 86.3841826960204,
   "end_elevation_m": 86.2770709275152,
   "start_xy": [
    -31104.880559783862,
    6724152.123879925
   ],
   "end_xy": [
    -31109.29949243723,
    6724149.751920729
   ]
  },
  "min_10m": {
   "gradient_pct": 1.564325617004414,
   "start_distance_m": 147.0,
   "end_distance_m": 157.0,
   "midpoint_distance_m": 152.0,
   "start_elevation_m": 86.27273452486818,
   "end_elevation_m": 86.42916708656863,
   "start_xy": [
    -31105.038769893814,
    6724153.706281233
   ],
   "end_xy": [
    -31111.950852029247,
    6724148.3287452115
   ]
  },
  "min_20m": {
   "gradient_pct": 3.942354765452123,
   "start_distance_m": 23.0,
   "end_distance_m": 43.0,
   "midpoint_distance_m": 33.0,
   "start_elevation_m": 77.78273253434247,
   "end_elevation_m": 78.5712034874329,
   "start_xy": [
    -31141.60886646999,
    6724262.839995228
   ],
   "end_xy": [
    -31149.702311974605,
    6724247.979457604
   ]
  },
  "min_25m": {
   "gradient_pct": 4.65880137414166,
   "start_distance_m": 23.0,
   "end_distance_m": 48.0,
   "midpoint_distance_m": 35.5,
   "start_elevation_m": 77.78273253434247,
   "end_elevation_m": 78.94743287787789,
   "start_xy": [
    -31141.60886646999,
    6724262.839995228
   ],
   "end_xy": [
    -31147.555026297647,
    6724243.4470933555
   ]
  },
  "min_50m": {
   "gradient_pct": 5.677262973156729,
   "start_distance_m": 0.0,
   "end_distance_m": 50.0,
   "midpoint_distance_m": 25.0,
   "start_elevation_m": 76.24385167906493,
   "end_elevation_m": 79.0824831656433,
   "start_xy": [
    -31153.296,
    6724282.731
   ],
   "end_xy": [
    -31146.69611202686,
    6724241.634147656
   ]
  },
  "min_100m": {
   "gradient_pct": 6.500626771789854,
   "start_distance_m": 0.0,
   "end_distance_m": 100.0,
   "midpoint_distance_m": 50.0,
   "start_elevation_m": 76.24385167906493,
   "end_elevation_m": 82.74447845085479,
   "start_xy": [
    -31153.296,
    6724282.731
   ],
   "end_xy": [
    -31125.22325525725,
    6724196.310505169
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 26.497889138057218,
   "start_distance_m": 280.0,
   "end_distance_m": 282.0,
   "midpoint_distance_m": 281.0,
   "start_elevation_m": 101.19131824803874,
   "end_elevation_m": 101.72127603079988,
   "start_xy": [
    -31085.39885664102,
    6724062.522885728
   ],
   "end_xy": [
    -31086.45379182369,
    6724060.816540749
   ]
  },
  "max_3m": {
   "gradient_pct": 26.30524626039327,
   "start_distance_m": 280.0,
   "end_distance_m": 283.0,
   "midpoint_distance_m": 281.5,
   "start_elevation_m": 101.19131824803874,
   "end_elevation_m": 101.98047563585054,
   "start_xy": [
    -31085.39885664102,
    6724062.522885728
   ],
   "end_xy": [
    -31086.981259415028,
    6724059.963368259
   ]
  }
 },
 "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.026,
   "obstruction_max_height_m": 5.66,
   "flagged_windows_m": []
  },
  "review": [],
  "extent": [
   "may_start_earlier",
   "may_continue_beyond_end"
  ]
 },
 "provenance": {
  "analysis_version": "0.1.0",
  "run_manifest": {
   "manifest_version": "1",
   "code_git_sha": "368c60c29e47d4b421849c953b172a04f7694146",
   "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.2",
   "pyproj": "3.8.0",
   "laspy": "2.7.0",
   "shapely": "2.1.2",
   "pyosmium": "4.3.1",
   "libosmium": "2.23.1",
   "gdal": "3.12.2",
   "proj": "9.8.1",
   "run_id": "no-b03",
   "road_pbf": "no-b03-block-batch-no-b03.osm.pbf",
   "region_key": "norway",
   "crs": "EPSG:25833",
   "elevation_provider_key": "nhm-no",
   "tile_index": "nhm-window",
   "authority": "nvdb",
   "registry_pbf": "norway-2026-10-01.osm.pbf"
  },
  "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
  ],
  "scale_correction": "point",
  "scale_correction_crs": "EPSG:25833",
  "elevation_crs": "EPSG:25833",
  "elevation_resolution_m": 1.0,
  "elevation_tiles": [
   "data/cache/no/nhm-no_dtm_E-31500-N6723500_1m.tif",
   "data/cache/no/nhm-no_dtm_E-31500-N6724000_1m.tif"
  ],
  "calculated_at": "2026-10-04T01:07:31+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/no-b03-block-batch-no-b03.osm.pbf",
  "osm_snapshot": "",
  "run_id": "no-b03",
  "elevation_provider": "Kartverket NHM DTM 1 m (laser-covered ground only)",
  "elevation_licence": "CC BY 4.0 \u2014 \u00a9 Kartverket (https://www.kartverket.no/api-og-data/vilkar-for-bruk)",
  "elevation_dataset": "Nasjonal h\u00f8ydemodell (NHM) DTM, 1 m, EPSG:25833, NN2000 (Kartverket), served by the hoydedata.no ImageServer; ground without a laser project is a coarser resampled product and is never measured",
  "elevation_vertical_datum": "NN2000",
  "elevation_tile_ids": [
   "E-31500-N6723500",
   "E-31500-N6724000"
  ],
  "elevation_blocks": [
   "nhm-dtm-1m"
  ],
  "nhm_laser_projects": [
   {
    "last_flight_date": "2024-05-17",
    "name": "Bergen 10pkt 2024",
    "points_per_m2": 10,
    "resolution_m": 0.25,
    "season": "",
    "year": 2024
   },
   {
    "last_flight_date": "2010-06-20",
    "name": "Bergen 2pkt 2010",
    "points_per_m2": 2,
    "resolution_m": 0.5,
    "season": "",
    "year": 2010
   },
   {
    "last_flight_date": "2016-04-28",
    "name": "Bergen 5pkt 2016",
    "points_per_m2": 5,
    "resolution_m": 0.25,
    "season": "snow-season",
    "year": 2016
   },
   {
    "last_flight_date": "2020-04-18",
    "name": "Bergen 5pkt 2020",
    "points_per_m2": 5,
    "resolution_m": 0.25,
    "season": "snow-season",
    "year": 2021
   }
  ],
  "nhm_last_flight_date": "2024-05-17",
  "nhm_snow_season_flights": [
   "Bergen 5pkt 2016",
   "Bergen 5pkt 2020"
  ],
  "nhm_retrieved_at": "2026-10-03T16:18:33Z",
  "nhm_note": "laser projects overlapping the route's cells; the mosaic draws on them by its own priority and which project supplied which pixel is not recorded",
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 3,
  "tunnel_check": "osm tunnel=* ways on 3 own way(s)",
  "tunnel_ranges_m": [],
  "underground_fraction": 0.0,
  "carriageway": {
   "stations": 24,
   "stations_resolved": 24,
   "width_median_m": 5.88,
   "width_p10_m": 3.58,
   "width_min_m": 3.5,
   "width_max_m": 12.0,
   "bounded_share": 0.292,
   "unbounded_share": 0.708,
   "confidence_median": 0.0,
   "width_median_bounded_m": 4.75,
   "window_m": [
    264.0,
    289.0
   ],
   "width_at_max25_m": 4.75,
   "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": 24,
    "stations_resolved": 24,
    "width_median_m": 7.5,
    "width_p10_m": 3.15,
    "width_min_m": 1.75,
    "width_max_m": 12.0,
    "bounded_share": 0.625,
    "unbounded_share": 0.375,
    "confidence_median": 0.986,
    "width_median_bounded_m": 5.25,
    "window_m": [
     264.0,
     289.0
    ],
    "width_at_max25_m": 8.0,
    "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": "Bergen",
  "county": "Vestland",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}