{
 "ocl_version": "0.1.0",
 "name": "Mokoroa Valley Road",
 "slug": "mokoroa-valley-road",
 "confidence": "B",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 25.95385983252072,
   "diagnostic": true,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 1397.0,
   "end_distance_m": 1399.0,
   "start_elevation_m": 181.8534062275781,
   "end_elevation_m": 182.3724834242285,
   "min_gradient_pct": -7.620445331507852
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 25.373344329109198,
   "diagnostic": true,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 1398.0,
   "end_distance_m": 1401.0,
   "start_elevation_m": 182.09697925420946,
   "end_elevation_m": 182.85817958408273,
   "min_gradient_pct": -6.34322771958485
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 24.4516732297177,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 1397.0,
   "end_distance_m": 1402.0,
   "start_elevation_m": 181.8534062275781,
   "end_elevation_m": 183.07598988906398,
   "min_gradient_pct": -6.256019428674335
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 23.886655146706346,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 1397.0,
   "end_distance_m": 1407.0,
   "start_elevation_m": 181.8534062275781,
   "end_elevation_m": 184.24207174224873,
   "min_gradient_pct": -6.03691897317006
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 22.965323087864817,
   "diagnostic": false,
   "flags": [
    "canopy_or_structure"
   ],
   "start_distance_m": 1391.0,
   "end_distance_m": 1411.0,
   "start_elevation_m": 180.4931079248263,
   "end_elevation_m": 185.08617254239925,
   "min_gradient_pct": -5.637791665437177
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 22.326565680976273,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1391.0,
   "end_distance_m": 1416.0,
   "start_elevation_m": 180.4931079248263,
   "end_elevation_m": 186.07474934507036,
   "min_gradient_pct": -5.3928687602945615
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 21.333930249372884,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1391.0,
   "end_distance_m": 1441.0,
   "start_elevation_m": 180.4931079248263,
   "end_elevation_m": 191.16007304951273,
   "min_gradient_pct": -4.742020087162928
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 20.81670170867838,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 1386.0,
   "end_distance_m": 1486.0,
   "start_elevation_m": 179.54661718036053,
   "end_elevation_m": 200.3633188890389,
   "min_gradient_pct": -3.5089403445686003
  }
 ],
 "shape": {
  "ascent_concentration": 0.48,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 200.0,
  "shape_class": "stepped"
 },
 "length_m": 1586.140551178802,
 "start_elevation_m": 87.4264345676483,
 "end_elevation_m": 212.96485101658172,
 "endpoint_gain_m": 125.53841644893342,
 "overall_gradient_pct": 7.914709472350017,
 "accumulated_ascent_m": 132.5395188893205,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 24.4516732297177,
   "start_distance_m": 1397.0,
   "end_distance_m": 1402.0,
   "midpoint_distance_m": 1399.5,
   "start_elevation_m": 181.8534062275781,
   "end_elevation_m": 183.07598988906398,
   "start_xy": [
    1733740.4036224962,
    5921633.109974504
   ],
   "end_xy": [
    1733740.101269503,
    5921628.11912461
   ]
  },
  "max_10m": {
   "gradient_pct": 23.886655146706346,
   "start_distance_m": 1397.0,
   "end_distance_m": 1407.0,
   "midpoint_distance_m": 1402.0,
   "start_elevation_m": 181.8534062275781,
   "end_elevation_m": 184.24207174224873,
   "start_xy": [
    1733740.4036224962,
    5921633.109974504
   ],
   "end_xy": [
    1733739.7989165098,
    5921623.1282747155
   ]
  },
  "max_20m": {
   "gradient_pct": 22.965323087864817,
   "start_distance_m": 1391.0,
   "end_distance_m": 1411.0,
   "midpoint_distance_m": 1401.0,
   "start_elevation_m": 180.4931079248263,
   "end_elevation_m": 185.08617254239925,
   "start_xy": [
    1733740.766446088,
    5921639.098994378
   ],
   "end_xy": [
    1733739.5570341153,
    5921619.1355948
   ]
  },
  "max_25m": {
   "gradient_pct": 22.326565680976273,
   "start_distance_m": 1391.0,
   "end_distance_m": 1416.0,
   "midpoint_distance_m": 1403.5,
   "start_elevation_m": 180.4931079248263,
   "end_elevation_m": 186.07474934507036,
   "start_xy": [
    1733740.766446088,
    5921639.098994378
   ],
   "end_xy": [
    1733739.254681122,
    5921614.144744907
   ]
  },
  "max_50m": {
   "gradient_pct": 21.333930249372884,
   "start_distance_m": 1391.0,
   "end_distance_m": 1441.0,
   "midpoint_distance_m": 1416.0,
   "start_elevation_m": 180.4931079248263,
   "end_elevation_m": 191.16007304951273,
   "start_xy": [
    1733740.766446088,
    5921639.098994378
   ],
   "end_xy": [
    1733737.7491432368,
    5921589.190183303
   ]
  },
  "max_100m": {
   "gradient_pct": 20.81670170867838,
   "start_distance_m": 1386.0,
   "end_distance_m": 1486.0,
   "midpoint_distance_m": 1436.0,
   "start_elevation_m": 179.54661718036053,
   "end_elevation_m": 200.3633188890389,
   "start_xy": [
    1733741.068799081,
    5921644.0898442725
   ],
   "end_xy": [
    1733735.9649898782,
    5921544.2255661385
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -6.256019428674335,
   "start_distance_m": 378.0,
   "end_distance_m": 383.0,
   "midpoint_distance_m": 380.5,
   "start_elevation_m": 93.24184609449654,
   "end_elevation_m": 92.92904512306282,
   "start_xy": [
    1733399.0338194955,
    5922419.525986397
   ],
   "end_xy": [
    1733404.019857108,
    5922419.899388228
   ]
  },
  "min_10m": {
   "gradient_pct": -6.03691897317006,
   "start_distance_m": 378.0,
   "end_distance_m": 388.0,
   "midpoint_distance_m": 383.0,
   "start_elevation_m": 93.24184609449654,
   "end_elevation_m": 92.63815419717953,
   "start_xy": [
    1733399.0338194955,
    5922419.525986397
   ],
   "end_xy": [
    1733409.0058947203,
    5922420.2727900585
   ]
  },
  "min_20m": {
   "gradient_pct": -5.637791665437177,
   "start_distance_m": 370.0,
   "end_distance_m": 390.0,
   "midpoint_distance_m": 380.0,
   "start_elevation_m": 93.65798298211709,
   "end_elevation_m": 92.53042464902965,
   "start_xy": [
    1733391.0561593156,
    5922418.928543467
   ],
   "end_xy": [
    1733411.0003097653,
    5922420.422150791
   ]
  },
  "min_25m": {
   "gradient_pct": -5.3928687602945615,
   "start_distance_m": 368.0,
   "end_distance_m": 393.0,
   "midpoint_distance_m": 380.5,
   "start_elevation_m": 93.75110626084975,
   "end_elevation_m": 92.40288907077611,
   "start_xy": [
    1733389.0617442706,
    5922418.779182735
   ],
   "end_xy": [
    1733413.9919323327,
    5922420.6461918885
   ]
  },
  "min_50m": {
   "gradient_pct": -4.742020087162928,
   "start_distance_m": 340.0,
   "end_distance_m": 390.0,
   "midpoint_distance_m": 365.0,
   "start_elevation_m": 94.90143469261112,
   "end_elevation_m": 92.53042464902965,
   "start_xy": [
    1733369.0000273425,
    5922399.941559181
   ],
   "end_xy": [
    1733411.0003097653,
    5922420.422150791
   ]
  },
  "min_100m": {
   "gradient_pct": -3.5089403445686003,
   "start_distance_m": 315.0,
   "end_distance_m": 415.0,
   "midpoint_distance_m": 365.0,
   "start_elevation_m": 95.70637798362152,
   "end_elevation_m": 92.19743763905292,
   "start_xy": [
    1733352.1153542052,
    5922381.509668873
   ],
   "end_xy": [
    1733435.893398374,
    5922419.841299198
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 25.95385983252072,
   "start_distance_m": 1397.0,
   "end_distance_m": 1399.0,
   "midpoint_distance_m": 1398.0,
   "start_elevation_m": 181.8534062275781,
   "end_elevation_m": 182.3724834242285,
   "start_xy": [
    1733740.4036224962,
    5921633.109974504
   ],
   "end_xy": [
    1733740.282681299,
    5921631.113634547
   ]
  },
  "max_3m": {
   "gradient_pct": 25.373344329109198,
   "start_distance_m": 1398.0,
   "end_distance_m": 1401.0,
   "midpoint_distance_m": 1399.5,
   "start_elevation_m": 182.09697925420946,
   "end_elevation_m": 182.85817958408273,
   "start_xy": [
    1733740.3431518974,
    5921632.111804525
   ],
   "end_xy": [
    1733740.1617401016,
    5921629.117294589
   ]
  }
 },
 "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.032,
   "windows_resited": [],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.037,
   "obstruction_max_height_m": 5.87,
   "flagged_windows_m": [
    2,
    3,
    5,
    10,
    20
   ]
  },
  "excluded_ranges_m": [
   [
    0.0,
    50.0
   ]
  ],
  "review": [],
  "extent": [
   "may_start_earlier"
  ]
 },
 "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-28T04:56:57+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"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 1,
  "structure_mask_ranges_m": [
   [
    0.0,
    15.0
   ]
  ],
  "mask_basin_extension_m": 30.0,
  "carriageway": {
   "stations": 70,
   "stations_resolved": 70,
   "width_median_m": 7.88,
   "width_p10_m": 4.25,
   "width_min_m": 3.0,
   "width_max_m": 12.0,
   "bounded_share": 0.071,
   "unbounded_share": 0.929,
   "confidence_median": 0.0,
   "width_median_bounded_m": 6.75,
   "window_m": [
    1391.0,
    1416.0
   ],
   "width_at_max25_m": 3.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": 70,
    "stations_resolved": 70,
    "width_median_m": 8.62,
    "width_p10_m": 2.0,
    "width_min_m": 0.5,
    "width_max_m": 12.0,
    "bounded_share": 0.443,
    "unbounded_share": 0.557,
    "confidence_median": 0.0,
    "width_median_bounded_m": 3.5,
    "window_m": [
     1391.0,
     1416.0
    ],
    "width_at_max25_m": 3.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": "Wait\u0101kere Ranges",
  "county": "Auckland",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}