{
 "ocl_version": "0.1.0",
 "name": "Long Road",
 "slug": "long-road-2",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 24.455203667272585,
   "diagnostic": true,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 221.0,
   "end_distance_m": 223.0,
   "start_elevation_m": 57.73268537085855,
   "end_elevation_m": 58.221789444204,
   "min_gradient_pct": -7.658876564091521
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 23.651874641896597,
   "diagnostic": true,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 221.0,
   "end_distance_m": 224.0,
   "start_elevation_m": 57.73268537085855,
   "end_elevation_m": 58.442241610115445,
   "min_gradient_pct": -7.033189806374788
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 23.20594231654681,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 193.0,
   "end_distance_m": 198.0,
   "start_elevation_m": 51.55246468982597,
   "end_elevation_m": 52.71276180565331,
   "min_gradient_pct": -6.591727206167874
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 23.02616218646918,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 194.0,
   "end_distance_m": 204.0,
   "start_elevation_m": 51.777962214759484,
   "end_elevation_m": 54.0805784334064,
   "min_gradient_pct": -5.652724351828304
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 22.842192848769685,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 191.0,
   "end_distance_m": 211.0,
   "start_elevation_m": 51.095219182687245,
   "end_elevation_m": 55.66365775244118,
   "min_gradient_pct": -4.2137958649033
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 22.72735914771428,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 185.0,
   "end_distance_m": 210.0,
   "start_elevation_m": 49.768387991757784,
   "end_elevation_m": 55.450227778686354,
   "min_gradient_pct": -3.5193590827561394
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 22.164501372052456,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 182.0,
   "end_distance_m": 232.0,
   "start_elevation_m": 49.12320315315989,
   "end_elevation_m": 60.20545383918612,
   "min_gradient_pct": 0.5450211713562254
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 21.96288746312902,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 137.0,
   "end_distance_m": 237.0,
   "start_elevation_m": 39.320528282036676,
   "end_elevation_m": 61.2834157451657,
   "min_gradient_pct": 3.32274283674613
  }
 ],
 "shape": {
  "ascent_concentration": 0.442,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 337.0,
  "shape_class": "sustained"
 },
 "length_m": 841.00000000009,
 "start_elevation_m": 25.661182193910186,
 "end_elevation_m": 122.12709990906086,
 "endpoint_gain_m": 96.46591771515068,
 "overall_gradient_pct": 11.470382605843087,
 "accumulated_ascent_m": 97.36244850628495,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 23.20594231654681,
   "start_distance_m": 193.0,
   "end_distance_m": 198.0,
   "midpoint_distance_m": 195.5,
   "start_elevation_m": 51.55246468982597,
   "end_elevation_m": 52.71276180565331,
   "start_xy": [
    1733782.203355731,
    5918508.022909586
   ],
   "end_xy": [
    1733783.0077690603,
    5918503.088776827
   ]
  },
  "max_10m": {
   "gradient_pct": 23.02616218646918,
   "start_distance_m": 194.0,
   "end_distance_m": 204.0,
   "midpoint_distance_m": 199.0,
   "start_elevation_m": 51.777962214759484,
   "end_elevation_m": 54.0805784334064,
   "start_xy": [
    1733782.3652147006,
    5918507.036095685
   ],
   "end_xy": [
    1733782.1903679138,
    5918497.144716315
   ]
  },
  "max_20m": {
   "gradient_pct": 22.842192848769685,
   "start_distance_m": 191.0,
   "end_distance_m": 211.0,
   "midpoint_distance_m": 201.0,
   "start_elevation_m": 51.095219182687245,
   "end_elevation_m": 55.66365775244118,
   "start_xy": [
    1733781.8796377922,
    5918509.996537387
   ],
   "end_xy": [
    1733780.9921092521,
    5918490.262138727
   ]
  },
  "max_25m": {
   "gradient_pct": 22.72735914771428,
   "start_distance_m": 185.0,
   "end_distance_m": 210.0,
   "midpoint_distance_m": 197.5,
   "start_elevation_m": 49.768387991757784,
   "end_elevation_m": 55.450227778686354,
   "start_xy": [
    1733780.4017873202,
    5918515.802002864
   ],
   "end_xy": [
    1733781.271824301,
    5918491.222221793
   ]
  },
  "max_50m": {
   "gradient_pct": 22.164501372052456,
   "start_distance_m": 182.0,
   "end_distance_m": 232.0,
   "midpoint_distance_m": 207.0,
   "start_elevation_m": 49.12320315315989,
   "end_elevation_m": 60.20545383918612,
   "start_xy": [
    1733779.5572980207,
    5918518.680689687
   ],
   "end_xy": [
    1733775.118093225,
    5918470.100394365
   ]
  },
  "max_100m": {
   "gradient_pct": 21.96288746312902,
   "start_distance_m": 137.0,
   "end_distance_m": 237.0,
   "midpoint_distance_m": 187.0,
   "start_elevation_m": 39.320528282036676,
   "end_elevation_m": 61.2834157451657,
   "start_xy": [
    1733759.6615431914,
    5918558.03558371
   ],
   "end_xy": [
    1733773.7195179802,
    5918465.299979041
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -6.591727206167874,
   "start_distance_m": 2.0,
   "end_distance_m": 7.0,
   "midpoint_distance_m": 4.5,
   "start_elevation_m": 25.548764102460275,
   "end_elevation_m": 25.21917774215188,
   "start_xy": [
    1733753.8037043165,
    5918692.340933267
   ],
   "end_xy": [
    1733754.4529651075,
    5918687.383266434
   ]
  },
  "min_10m": {
   "gradient_pct": -5.652724351828304,
   "start_distance_m": 0.0,
   "end_distance_m": 10.0,
   "midpoint_distance_m": 5.0,
   "start_elevation_m": 25.661182193910186,
   "end_elevation_m": 25.095909758727355,
   "start_xy": [
    1733753.544,
    5918694.324
   ],
   "end_xy": [
    1733754.8425215823,
    5918684.408666334
   ]
  },
  "min_20m": {
   "gradient_pct": -4.2137958649033,
   "start_distance_m": 0.0,
   "end_distance_m": 20.0,
   "midpoint_distance_m": 10.0,
   "start_elevation_m": 25.661182193910186,
   "end_elevation_m": 24.818423020929526,
   "start_xy": [
    1733753.544,
    5918694.324
   ],
   "end_xy": [
    1733756.1410431643,
    5918674.493332669
   ]
  },
  "min_25m": {
   "gradient_pct": -3.5193590827561394,
   "start_distance_m": 0.0,
   "end_distance_m": 25.0,
   "midpoint_distance_m": 12.5,
   "start_elevation_m": 25.661182193910186,
   "end_elevation_m": 24.78134242322115,
   "start_xy": [
    1733753.544,
    5918694.324
   ],
   "end_xy": [
    1733756.7903039553,
    5918669.535665836
   ]
  },
  "min_50m": {
   "gradient_pct": 0.5450211713562254,
   "start_distance_m": 0.0,
   "end_distance_m": 50.0,
   "midpoint_distance_m": 25.0,
   "start_elevation_m": 25.661182193910186,
   "end_elevation_m": 25.9336927795883,
   "start_xy": [
    1733753.544,
    5918694.324
   ],
   "end_xy": [
    1733759.8072122983,
    5918644.719085841
   ]
  },
  "min_100m": {
   "gradient_pct": 3.32274283674613,
   "start_distance_m": 533.0,
   "end_distance_m": 633.0,
   "midpoint_distance_m": 583.0,
   "start_elevation_m": 100.7359473980882,
   "end_elevation_m": 104.05869023483433,
   "start_xy": [
    1733901.4719864174,
    5918231.686334723
   ],
   "end_xy": [
    1733856.0231940392,
    5918144.45386495
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 24.455203667272585,
   "start_distance_m": 221.0,
   "end_distance_m": 223.0,
   "midpoint_distance_m": 222.0,
   "start_elevation_m": 57.73268537085855,
   "end_elevation_m": 58.221789444204,
   "start_xy": [
    1733778.194958763,
    5918480.661308079
   ],
   "end_xy": [
    1733777.635528665,
    5918478.74114195
   ]
  },
  "max_3m": {
   "gradient_pct": 23.651874641896597,
   "start_distance_m": 221.0,
   "end_distance_m": 224.0,
   "midpoint_distance_m": 222.5,
   "start_elevation_m": 57.73268537085855,
   "end_elevation_m": 58.442241610115445,
   "start_xy": [
    1733778.194958763,
    5918480.661308079
   ],
   "end_xy": [
    1733777.3558136162,
    5918477.781058884
   ]
  }
 },
 "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.259,
   "obstruction_max_height_m": 30.17,
   "flagged_windows_m": [
    2,
    3,
    5,
    10,
    20,
    25,
    50,
    100
   ]
  },
  "review": [],
  "extent": [
   "descends_at_start"
  ]
 },
 "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-n2",
   "road_pbf": "block-batch-nz-n2.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:1ffe0b32a690b9c1"
  },
  "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/BA31.tiff"
  ],
  "calculated_at": "2026-09-28T05:15:53+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-n2.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-n2",
  "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": [
   "BA31"
  ],
  "route_summit_trim_m": 156.7,
  "route_summit_trim_loss_m": 7.3,
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 2,
  "carriageway": {
   "stations": 39,
   "stations_resolved": 39,
   "width_median_m": 6.25,
   "width_p10_m": 4.7,
   "width_min_m": 4.0,
   "width_max_m": 12.0,
   "bounded_share": 0.077,
   "unbounded_share": 0.923,
   "confidence_median": 0.0,
   "width_median_bounded_m": 6.5,
   "window_m": [
    185.0,
    210.0
   ],
   "width_at_max25_m": 6.38,
   "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": 39,
    "stations_resolved": 39,
    "width_median_m": 4.25,
    "width_p10_m": 0.9,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.769,
    "unbounded_share": 0.231,
    "confidence_median": 1.0,
    "width_median_bounded_m": 2.38,
    "window_m": [
     185.0,
     210.0
    ],
    "width_at_max25_m": 1.0,
    "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": "Wait\u0101kere Ranges",
  "county": "Auckland",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}