{
 "ocl_version": "0.1.0",
 "name": "Lerwick Terrace",
 "slug": "lerwick-terrace",
 "confidence": "U",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 45.532559724095734,
   "diagnostic": true,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 389.0,
   "end_distance_m": 391.0,
   "start_elevation_m": 55.24874628534825,
   "end_elevation_m": 56.15939747983016,
   "min_gradient_pct": -29.94659529185597,
   "suppressed_max_gradient_pct": 79.50571546139358,
   "suppressed_location_m": [
    458.0,
    460.0
   ]
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 44.326280392972706,
   "diagnostic": true,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 388.0,
   "end_distance_m": 391.0,
   "start_elevation_m": 54.82960906804098,
   "end_elevation_m": 56.15939747983016,
   "min_gradient_pct": -23.053770150360247,
   "suppressed_max_gradient_pct": 77.14001326751401,
   "suppressed_location_m": [
    458.0,
    461.0
   ]
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 42.44211632036496,
   "diagnostic": false,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 386.0,
   "end_distance_m": 391.0,
   "start_elevation_m": 54.037291663811914,
   "end_elevation_m": 56.15939747983016,
   "min_gradient_pct": -11.873325848922605,
   "suppressed_max_gradient_pct": 62.04367168346835,
   "suppressed_location_m": [
    457.0,
    462.0
   ]
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 33.71036589565222,
   "diagnostic": false,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 385.0,
   "end_distance_m": 395.0,
   "start_elevation_m": 53.74349810848649,
   "end_elevation_m": 57.11453469805171,
   "min_gradient_pct": 1.229649521354368,
   "suppressed_max_gradient_pct": 37.20483950778643,
   "suppressed_location_m": [
    453.0,
    463.0
   ]
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 26.6405850777193,
   "diagnostic": false,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 385.0,
   "end_distance_m": 405.0,
   "start_elevation_m": 53.74349810848649,
   "end_elevation_m": 59.07161512403035,
   "min_gradient_pct": 1.7481385068359145,
   "suppressed_max_gradient_pct": 28.225931155212436,
   "suppressed_location_m": [
    457.0,
    477.0
   ]
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 25.017987712422013,
   "diagnostic": false,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 383.0,
   "end_distance_m": 408.0,
   "start_elevation_m": 53.349859476528515,
   "end_elevation_m": 59.60435640463402,
   "min_gradient_pct": 1.8928354115106316,
   "suppressed_max_gradient_pct": 27.473190056060783,
   "suppressed_location_m": [
    457.0,
    482.0
   ]
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 22.98918912990817,
   "diagnostic": false,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 385.0,
   "end_distance_m": 435.0,
   "start_elevation_m": 53.74349810848649,
   "end_elevation_m": 65.23809267344058,
   "min_gradient_pct": 2.469747310319704,
   "suppressed_max_gradient_pct": 24.417584644226622,
   "suppressed_location_m": [
    412.0,
    462.0
   ]
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 18.821082591001336,
   "diagnostic": false,
   "flags": [
    "structure_excluded"
   ],
   "start_distance_m": 355.0,
   "end_distance_m": 455.0,
   "start_elevation_m": 50.36789818770942,
   "end_elevation_m": 69.18898077871076,
   "min_gradient_pct": 2.9995100284994756,
   "suppressed_max_gradient_pct": 23.42565656863772,
   "suppressed_location_m": [
    386.0,
    486.0
   ]
  }
 ],
 "shape": {
  "ascent_concentration": 0.434,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 184.0,
  "shape_class": "sustained"
 },
 "length_m": 496.64807338514197,
 "start_elevation_m": 17.223571880331935,
 "end_elevation_m": 79.77280256399843,
 "endpoint_gain_m": 62.549230683666494,
 "overall_gradient_pct": 12.59427631669491,
 "accumulated_ascent_m": 63.45153472636804,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 42.44211632036496,
   "start_distance_m": 386.0,
   "end_distance_m": 391.0,
   "midpoint_distance_m": 388.5,
   "start_elevation_m": 54.037291663811914,
   "end_elevation_m": 56.15939747983016,
   "start_xy": [
    1749834.3419036495,
    5423886.737216979
   ],
   "end_xy": [
    1749833.9510142724,
    5423891.721914111
   ]
  },
  "max_10m": {
   "gradient_pct": 33.71036589565222,
   "start_distance_m": 385.0,
   "end_distance_m": 395.0,
   "midpoint_distance_m": 390.0,
   "start_elevation_m": 53.74349810848649,
   "end_elevation_m": 57.11453469805171,
   "start_xy": [
    1749834.420081525,
    5423885.740277553
   ],
   "end_xy": [
    1749833.6383027707,
    5423895.709671816
   ]
  },
  "max_20m": {
   "gradient_pct": 26.6405850777193,
   "start_distance_m": 385.0,
   "end_distance_m": 405.0,
   "midpoint_distance_m": 395.0,
   "start_elevation_m": 53.74349810848649,
   "end_elevation_m": 59.07161512403035,
   "start_xy": [
    1749834.420081525,
    5423885.740277553
   ],
   "end_xy": [
    1749834.4770582125,
    5423905.655238413
   ]
  },
  "max_25m": {
   "gradient_pct": 25.017987712422013,
   "start_distance_m": 383.0,
   "end_distance_m": 408.0,
   "midpoint_distance_m": 395.5,
   "start_elevation_m": 53.349859476528515,
   "end_elevation_m": 59.60435640463402,
   "start_xy": [
    1749834.5764372759,
    5423883.7463986995
   ],
   "end_xy": [
    1749835.3892491378,
    5423908.469546135
   ]
  },
  "max_50m": {
   "gradient_pct": 22.98918912990817,
   "start_distance_m": 385.0,
   "end_distance_m": 435.0,
   "midpoint_distance_m": 410.0,
   "start_elevation_m": 53.74349810848649,
   "end_elevation_m": 65.23809267344058,
   "start_xy": [
    1749834.420081525,
    5423885.740277553
   ],
   "end_xy": [
    1749843.9941822395,
    5423933.92985886
   ]
  },
  "max_100m": {
   "gradient_pct": 18.821082591001336,
   "start_distance_m": 355.0,
   "end_distance_m": 455.0,
   "midpoint_distance_m": 405.0,
   "start_elevation_m": 50.36789818770942,
   "end_elevation_m": 69.18898077871076,
   "start_xy": [
    1749837.2729671148,
    5423855.884616107
   ],
   "end_xy": [
    1749848.6530813402,
    5423953.361493324
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -11.873325848922605,
   "start_distance_m": 378.0,
   "end_distance_m": 383.0,
   "midpoint_distance_m": 380.5,
   "start_elevation_m": 53.943525768974645,
   "end_elevation_m": 53.349859476528515,
   "start_xy": [
    1749834.9673266532,
    5423878.761701568
   ],
   "end_xy": [
    1749834.5764372759,
    5423883.7463986995
   ]
  },
  "min_10m": {
   "gradient_pct": 1.229649521354368,
   "start_distance_m": 85.0,
   "end_distance_m": 95.0,
   "midpoint_distance_m": 90.0,
   "start_elevation_m": 19.9115826447014,
   "end_elevation_m": 20.034547596836838,
   "start_xy": [
    1750004.4176330722,
    5423745.769768788
   ],
   "end_xy": [
    1750007.03367152,
    5423755.421522143
   ]
  },
  "min_20m": {
   "gradient_pct": 1.7481385068359145,
   "start_distance_m": 75.0,
   "end_distance_m": 95.0,
   "midpoint_distance_m": 85.0,
   "start_elevation_m": 19.684919895469655,
   "end_elevation_m": 20.034547596836838,
   "start_xy": [
    1750001.8015946245,
    5423736.118015432
   ],
   "end_xy": [
    1750007.03367152,
    5423755.421522143
   ]
  },
  "min_25m": {
   "gradient_pct": 1.8928354115106316,
   "start_distance_m": 70.0,
   "end_distance_m": 95.0,
   "midpoint_distance_m": 82.5,
   "start_elevation_m": 19.56133874395918,
   "end_elevation_m": 20.034547596836838,
   "start_xy": [
    1750000.493575401,
    5423731.292138754
   ],
   "end_xy": [
    1750007.03367152,
    5423755.421522143
   ]
  },
  "min_50m": {
   "gradient_pct": 2.469747310319704,
   "start_distance_m": 48.0,
   "end_distance_m": 98.0,
   "midpoint_distance_m": 73.0,
   "start_elevation_m": 18.902665115980497,
   "end_elevation_m": 20.13753877114035,
   "start_xy": [
    1749996.4607410876,
    5423709.668402654
   ],
   "end_xy": [
    1750006.0777623542,
    5423757.527134974
   ]
  },
  "min_100m": {
   "gradient_pct": 2.9995100284994756,
   "start_distance_m": 0.0,
   "end_distance_m": 100.0,
   "midpoint_distance_m": 50.0,
   "start_elevation_m": 17.223571880331935,
   "end_elevation_m": 20.22308190883141,
   "start_xy": [
    1749989.002,
    5423662.262
   ],
   "end_xy": [
    1750004.2804661498,
    5423758.404475475
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 45.532559724095734,
   "start_distance_m": 389.0,
   "end_distance_m": 391.0,
   "midpoint_distance_m": 390.0,
   "start_elevation_m": 55.24874628534825,
   "end_elevation_m": 56.15939747983016,
   "start_xy": [
    1749834.1073700234,
    5423889.728035258
   ],
   "end_xy": [
    1749833.9510142724,
    5423891.721914111
   ]
  },
  "max_3m": {
   "gradient_pct": 44.326280392972706,
   "start_distance_m": 388.0,
   "end_distance_m": 391.0,
   "midpoint_distance_m": 389.5,
   "start_elevation_m": 54.82960906804098,
   "end_elevation_m": 56.15939747983016,
   "start_xy": [
    1749834.1855478988,
    5423888.731095832
   ],
   "end_xy": [
    1749833.9510142724,
    5423891.721914111
   ]
  }
 },
 "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.016,
   "windows_resited": [
    2.0,
    3.0,
    5.0,
    10.0,
    20.0,
    25.0,
    50.0,
    100.0
   ],
   "windows_unresolved": [],
   "minima_resited": [],
   "minima_unresolved": []
  },
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.04,
   "obstruction_max_height_m": 7.96,
   "flagged_windows_m": []
  },
  "excluded_ranges_m": [
   [
    456.0,
    463.0
   ]
  ],
  "review": [
   "short_window_divergence"
  ],
  "extent": [
   "may_continue_beyond_end"
  ]
 },
 "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-n3",
   "road_pbf": "block-batch-nz-n3.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:7959a7d1d462b1b3"
  },
  "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/BQ31.tiff"
  ],
  "calculated_at": "2026-09-28T05:18:08+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-n3.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-n3",
  "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": [
   "BQ31"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 3,
  "carriageway": {
   "stations": 26,
   "stations_resolved": 26,
   "width_median_m": 7.38,
   "width_p10_m": 5.88,
   "width_min_m": 3.0,
   "width_max_m": 12.0,
   "bounded_share": 0.308,
   "unbounded_share": 0.692,
   "confidence_median": 0.0,
   "width_median_bounded_m": 6.5,
   "window_m": [
    383.0,
    408.0
   ],
   "width_at_max25_m": 6.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": 26,
    "stations_resolved": 26,
    "width_median_m": 6.88,
    "width_p10_m": 3.25,
    "width_min_m": 2.25,
    "width_max_m": 12.0,
    "bounded_share": 0.692,
    "unbounded_share": 0.308,
    "confidence_median": 1.0,
    "width_median_bounded_m": 4.62,
    "window_m": [
     383.0,
     408.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": "Wellington",
  "county": "Wellington",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}