{
 "ocl_version": "0.1.0",
 "name": "Ruby Way",
 "slug": "ruby-way",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 37.79307798175324,
   "diagnostic": true,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 43.0,
   "end_distance_m": 45.0,
   "start_elevation_m": 165.87886705325602,
   "end_elevation_m": 166.63472861289108,
   "min_gradient_pct": -38.29809012290184
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 35.290802040274606,
   "diagnostic": true,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 42.0,
   "end_distance_m": 45.0,
   "start_elevation_m": 165.57600455168284,
   "end_elevation_m": 166.63472861289108,
   "min_gradient_pct": -31.917136563804622
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 28.70986338522357,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 42.0,
   "end_distance_m": 47.0,
   "start_elevation_m": 165.57600455168284,
   "end_elevation_m": 167.01149772094402,
   "min_gradient_pct": -17.811752389258118
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 27.917495698636117,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 42.0,
   "end_distance_m": 52.0,
   "start_elevation_m": 165.57600455168284,
   "end_elevation_m": 168.36775412154645,
   "min_gradient_pct": -7.189251498342912
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 24.748625158265156,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 32.0,
   "end_distance_m": 52.0,
   "start_elevation_m": 163.41802908989342,
   "end_elevation_m": 168.36775412154645,
   "min_gradient_pct": 0.04612844213255585
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 23.474273343428536,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 34.0,
   "end_distance_m": 59.0,
   "start_elevation_m": 163.90471370078882,
   "end_elevation_m": 169.77328203664595,
   "min_gradient_pct": 2.2403881380926123
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 21.646252783419072,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 29.0,
   "end_distance_m": 79.0,
   "start_elevation_m": 162.8316287572262,
   "end_elevation_m": 173.65475514893575,
   "min_gradient_pct": 3.3855339070796617
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 17.197221339900807,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 11.0,
   "end_distance_m": 111.0,
   "start_elevation_m": 160.8004709591996,
   "end_elevation_m": 177.9976922991004,
   "min_gradient_pct": 3.7754714148088055
  }
 ],
 "shape": {
  "ascent_concentration": 0.394,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 111.0,
  "shape_class": "sustained"
 },
 "length_m": 385.0000000000578,
 "start_elevation_m": 161.41415117158084,
 "end_elevation_m": 203.09915524497012,
 "endpoint_gain_m": 41.68500407338928,
 "overall_gradient_pct": 10.827273785294292,
 "accumulated_ascent_m": 42.8668254748294,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 28.70986338522357,
   "start_distance_m": 42.0,
   "end_distance_m": 47.0,
   "midpoint_distance_m": 44.5,
   "start_elevation_m": 165.57600455168284,
   "end_elevation_m": 167.01149772094402,
   "start_xy": [
    1732586.6112115402,
    6009725.473022685
   ],
   "end_xy": [
    1732581.8114220612,
    6009724.072301101
   ]
  },
  "max_10m": {
   "gradient_pct": 27.917495698636117,
   "start_distance_m": 42.0,
   "end_distance_m": 52.0,
   "midpoint_distance_m": 47.0,
   "start_elevation_m": 165.57600455168284,
   "end_elevation_m": 168.36775412154645,
   "start_xy": [
    1732586.6112115402,
    6009725.473022685
   ],
   "end_xy": [
    1732577.0116325822,
    6009722.6715795165
   ]
  },
  "max_20m": {
   "gradient_pct": 24.748625158265156,
   "start_distance_m": 32.0,
   "end_distance_m": 52.0,
   "midpoint_distance_m": 42.0,
   "start_elevation_m": 163.41802908989342,
   "end_elevation_m": 168.36775412154645,
   "start_xy": [
    1732596.0871188233,
    6009728.585305723
   ],
   "end_xy": [
    1732577.0116325822,
    6009722.6715795165
   ]
  },
  "max_25m": {
   "gradient_pct": 23.474273343428536,
   "start_distance_m": 34.0,
   "end_distance_m": 59.0,
   "midpoint_distance_m": 46.5,
   "start_elevation_m": 163.90471370078882,
   "end_elevation_m": 169.77328203664595,
   "start_xy": [
    1732594.2908747066,
    6009727.714177221
   ],
   "end_xy": [
    1732570.7445223422,
    6009719.640561043
   ]
  },
  "max_50m": {
   "gradient_pct": 21.646252783419072,
   "start_distance_m": 29.0,
   "end_distance_m": 79.0,
   "midpoint_distance_m": 54.0,
   "start_elevation_m": 162.8316287572262,
   "end_elevation_m": 173.65475514893575,
   "start_xy": [
    1732598.7572146833,
    6009729.953000169
   ],
   "end_xy": [
    1732553.9516481855,
    6009708.904270651
   ]
  },
  "max_100m": {
   "gradient_pct": 17.197221339900807,
   "start_distance_m": 11.0,
   "end_distance_m": 111.0,
   "midpoint_distance_m": 61.0,
   "start_elevation_m": 160.8004709591996,
   "end_elevation_m": 177.9976922991004,
   "start_xy": [
    1732612.6875758388,
    6009740.659318104
   ],
   "end_xy": [
    1732530.6380837373,
    6009687.086884127
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -17.811752389258118,
   "start_distance_m": 2.0,
   "end_distance_m": 7.0,
   "midpoint_distance_m": 4.5,
   "start_elevation_m": 161.5829080822237,
   "end_elevation_m": 160.6923204627608,
   "start_xy": [
    1732609.1828319707,
    6009748.94887602
   ],
   "end_xy": [
    1732611.1299118975,
    6009744.343566067
   ]
  },
  "min_10m": {
   "gradient_pct": -7.189251498342912,
   "start_distance_m": 1.0,
   "end_distance_m": 11.0,
   "midpoint_distance_m": 6.0,
   "start_elevation_m": 161.5193961090339,
   "end_elevation_m": 160.8004709591996,
   "start_xy": [
    1732608.7934159855,
    6009749.869938009
   ],
   "end_xy": [
    1732612.6875758388,
    6009740.659318104
   ]
  },
  "min_20m": {
   "gradient_pct": 0.04612844213255585,
   "start_distance_m": 1.0,
   "end_distance_m": 21.0,
   "midpoint_distance_m": 11.0,
   "start_elevation_m": 161.5193961090339,
   "end_elevation_m": 161.5286217974604,
   "start_xy": [
    1732608.7934159855,
    6009749.869938009
   ],
   "end_xy": [
    1732605.87747031,
    6009733.600185359
   ]
  },
  "min_25m": {
   "gradient_pct": 2.2403881380926123,
   "start_distance_m": 360.0,
   "end_distance_m": 385.0,
   "midpoint_distance_m": 372.5,
   "start_elevation_m": 202.53905821044697,
   "end_elevation_m": 203.09915524497012,
   "start_xy": [
    1732419.1462353696,
    6009488.166848329
   ],
   "end_xy": [
    1732396.4798276005,
    6009496.161516442
   ]
  },
  "min_50m": {
   "gradient_pct": 3.3855339070796617,
   "start_distance_m": 335.0,
   "end_distance_m": 385.0,
   "midpoint_distance_m": 360.0,
   "start_elevation_m": 201.4063882914303,
   "end_elevation_m": 203.09915524497012,
   "start_xy": [
    1732443.3615435807,
    6009492.325192158
   ],
   "end_xy": [
    1732396.4798276005,
    6009496.161516442
   ]
  },
  "min_100m": {
   "gradient_pct": 3.7754714148088055,
   "start_distance_m": 285.0,
   "end_distance_m": 385.0,
   "midpoint_distance_m": 335.0,
   "start_elevation_m": 199.32368383016131,
   "end_elevation_m": 203.09915524497012,
   "start_xy": [
    1732474.2989501108,
    6009530.700122523
   ],
   "end_xy": [
    1732396.4798276005,
    6009496.161516442
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 37.79307798175324,
   "start_distance_m": 43.0,
   "end_distance_m": 45.0,
   "midpoint_distance_m": 44.0,
   "start_elevation_m": 165.87886705325602,
   "end_elevation_m": 166.63472861289108,
   "start_xy": [
    1732585.6512536444,
    6009725.192878369
   ],
   "end_xy": [
    1732583.7313378528,
    6009724.632589735
   ]
  },
  "max_3m": {
   "gradient_pct": 35.290802040274606,
   "start_distance_m": 42.0,
   "end_distance_m": 45.0,
   "midpoint_distance_m": 43.5,
   "start_elevation_m": 165.57600455168284,
   "end_elevation_m": 166.63472861289108,
   "start_xy": [
    1732586.6112115402,
    6009725.473022685
   ],
   "end_xy": [
    1732583.7313378528,
    6009724.632589735
   ]
  }
 },
 "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.267,
   "obstruction_max_height_m": 8.54,
   "flagged_windows_m": [
    2,
    3,
    5,
    10,
    20,
    25,
    50,
    100
   ]
  },
  "review": [],
  "extent": []
 },
 "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/AY30.tiff",
   "data/cache/nz/AY31.tiff"
  ],
  "calculated_at": "2026-09-28T05:14:46+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": [
   "AY30",
   "AY31"
  ],
  "route_summit_trim_m": 108.3,
  "route_summit_trim_loss_m": 7.5,
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "carriageway": {
   "stations": 22,
   "stations_resolved": 22,
   "width_median_m": 5.88,
   "width_p10_m": 2.5,
   "width_min_m": 2.0,
   "width_max_m": 8.5,
   "bounded_share": 0.182,
   "unbounded_share": 0.818,
   "confidence_median": 0.0,
   "width_median_bounded_m": 4.38,
   "window_m": [
    34.0,
    59.0
   ],
   "width_at_max25_m": 4.0,
   "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": 22,
    "stations_resolved": 22,
    "width_median_m": 4.12,
    "width_p10_m": 2.5,
    "width_min_m": 1.5,
    "width_max_m": 10.0,
    "bounded_share": 0.955,
    "unbounded_share": 0.045,
    "confidence_median": 1.0,
    "width_median_bounded_m": 3.75,
    "window_m": [
     34.0,
     59.0
    ],
    "width_at_max25_m": 2.75,
    "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": "Rodney",
  "county": "Northland",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}