{
 "ocl_version": "0.1.0",
 "name": "Palmer Street",
 "slug": "palmer-street",
 "confidence": "A",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 24.409120190178868,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 345.0,
   "end_distance_m": 347.0,
   "start_elevation_m": 37.34338435909868,
   "end_elevation_m": 37.831566762902256,
   "min_gradient_pct": -4.715620221870598
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 23.903319921966926,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 344.0,
   "end_distance_m": 347.0,
   "start_elevation_m": 37.11446716524325,
   "end_elevation_m": 37.831566762902256,
   "min_gradient_pct": -4.374163118381465
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 23.52000824548469,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 345.0,
   "end_distance_m": 350.0,
   "start_elevation_m": 37.34338435909868,
   "end_elevation_m": 38.51938477137291,
   "min_gradient_pct": -3.4161384745017287
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 23.138669686084583,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 344.0,
   "end_distance_m": 354.0,
   "start_elevation_m": 37.11446716524325,
   "end_elevation_m": 39.428334133851706,
   "min_gradient_pct": -2.035899339641225
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 21.822000571942475,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 334.0,
   "end_distance_m": 354.0,
   "start_elevation_m": 35.06393401946321,
   "end_elevation_m": 39.428334133851706,
   "min_gradient_pct": -0.004103377693138732
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 21.600051838867813,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 331.0,
   "end_distance_m": 356.0,
   "start_elevation_m": 34.45414224010913,
   "end_elevation_m": 39.85415519982608,
   "min_gradient_pct": 0.6740392909588522
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 20.239084533571898,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 261.0,
   "end_distance_m": 311.0,
   "start_elevation_m": 21.179766174365888,
   "end_elevation_m": 31.299308441151837,
   "min_gradient_pct": 2.2870828406821015
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 19.48966586225661,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 257.0,
   "end_distance_m": 357.0,
   "start_elevation_m": 20.547621423536572,
   "end_elevation_m": 40.037287285793184,
   "min_gradient_pct": 4.038738160228894
  }
 ],
 "shape": {
  "ascent_concentration": 0.49,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 122.0,
  "shape_class": "stepped"
 },
 "length_m": 357.4740951088196,
 "start_elevation_m": 4.178687725189604,
 "end_elevation_m": 40.1247680625918,
 "endpoint_gain_m": 35.94608033740219,
 "overall_gradient_pct": 10.055576286292789,
 "accumulated_ascent_m": 36.15114125952063,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 23.52000824548469,
   "start_distance_m": 345.0,
   "end_distance_m": 350.0,
   "midpoint_distance_m": 347.5,
   "start_elevation_m": 37.34338435909868,
   "end_elevation_m": 38.51938477137291,
   "start_xy": [
    1243323.166474113,
    4828422.364678369
   ],
   "end_xy": [
    1243320.59816192,
    4828418.074716542
   ]
  },
  "max_10m": {
   "gradient_pct": 23.138669686084583,
   "start_distance_m": 344.0,
   "end_distance_m": 354.0,
   "midpoint_distance_m": 349.0,
   "start_elevation_m": 37.11446716524325,
   "end_elevation_m": 39.428334133851706,
   "start_xy": [
    1243323.6801365516,
    4828423.222670734
   ],
   "end_xy": [
    1243318.5435121655,
    4828414.64274708
   ]
  },
  "max_20m": {
   "gradient_pct": 21.822000571942475,
   "start_distance_m": 334.0,
   "end_distance_m": 354.0,
   "midpoint_distance_m": 344.0,
   "start_elevation_m": 35.06393401946321,
   "end_elevation_m": 39.428334133851706,
   "start_xy": [
    1243328.8167609377,
    4828431.802594389
   ],
   "end_xy": [
    1243318.5435121655,
    4828414.64274708
   ]
  },
  "max_25m": {
   "gradient_pct": 21.600051838867813,
   "start_distance_m": 331.0,
   "end_distance_m": 356.0,
   "midpoint_distance_m": 343.5,
   "start_elevation_m": 34.45414224010913,
   "end_elevation_m": 39.85415519982608,
   "start_xy": [
    1243330.3577482533,
    4828434.376571485
   ],
   "end_xy": [
    1243317.5161872883,
    4828412.926762349
   ]
  },
  "max_50m": {
   "gradient_pct": 20.239084533571898,
   "start_distance_m": 261.0,
   "end_distance_m": 311.0,
   "midpoint_distance_m": 286.0,
   "start_elevation_m": 21.179766174365888,
   "end_elevation_m": 31.299308441151837,
   "start_xy": [
    1243364.7082158597,
    4828495.056252095
   ],
   "end_xy": [
    1243339.142381931,
    4828452.086633345
   ]
  },
  "max_100m": {
   "gradient_pct": 19.48966586225661,
   "start_distance_m": 257.0,
   "end_distance_m": 357.0,
   "midpoint_distance_m": 307.0,
   "start_elevation_m": 20.547621423536572,
   "end_elevation_m": 40.037287285793184,
   "start_xy": [
    1243366.7534825741,
    4828498.493821595
   ],
   "end_xy": [
    1243317.0025248497,
    4828412.068769983
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -3.4161384745017287,
   "start_distance_m": 0.0,
   "end_distance_m": 5.0,
   "midpoint_distance_m": 2.5,
   "start_elevation_m": 4.178687725189604,
   "end_elevation_m": 4.007880801464518,
   "start_xy": [
    1243497.034,
    4828720.012
   ],
   "end_xy": [
    1243494.3217544567,
    4828715.811556676
   ]
  },
  "min_10m": {
   "gradient_pct": -2.035899339641225,
   "start_distance_m": 0.0,
   "end_distance_m": 10.0,
   "midpoint_distance_m": 5.0,
   "start_elevation_m": 4.178687725189604,
   "end_elevation_m": 3.975097791225482,
   "start_xy": [
    1243497.034,
    4828720.012
   ],
   "end_xy": [
    1243491.6166069137,
    4828711.6067644255
   ]
  },
  "min_20m": {
   "gradient_pct": -0.004103377693138732,
   "start_distance_m": 0.0,
   "end_distance_m": 20.0,
   "midpoint_distance_m": 10.0,
   "start_elevation_m": 4.178687725189604,
   "end_elevation_m": 4.177867049650977,
   "start_xy": [
    1243497.034,
    4828720.012
   ],
   "end_xy": [
    1243486.5953266488,
    4828702.958831464
   ]
  },
  "min_25m": {
   "gradient_pct": 0.6740392909588522,
   "start_distance_m": 0.0,
   "end_distance_m": 25.0,
   "midpoint_distance_m": 12.5,
   "start_elevation_m": 4.178687725189604,
   "end_elevation_m": 4.3471975479293175,
   "start_xy": [
    1243497.034,
    4828720.012
   ],
   "end_xy": [
    1243484.0846865163,
    4828698.634864984
   ]
  },
  "min_50m": {
   "gradient_pct": 2.2870828406821015,
   "start_distance_m": 0.0,
   "end_distance_m": 50.0,
   "midpoint_distance_m": 25.0,
   "start_elevation_m": 4.178687725189604,
   "end_elevation_m": 5.322229145530655,
   "start_xy": [
    1243497.034,
    4828720.012
   ],
   "end_xy": [
    1243471.5314858537,
    4828677.015032581
   ]
  },
  "min_100m": {
   "gradient_pct": 4.038738160228894,
   "start_distance_m": 0.0,
   "end_distance_m": 100.0,
   "midpoint_distance_m": 50.0,
   "start_elevation_m": 4.178687725189604,
   "end_elevation_m": 8.217425885418498,
   "start_xy": [
    1243497.034,
    4828720.012
   ],
   "end_xy": [
    1243446.4250845287,
    4828633.775367775
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 24.409120190178868,
   "start_distance_m": 345.0,
   "end_distance_m": 347.0,
   "midpoint_distance_m": 346.0,
   "start_elevation_m": 37.34338435909868,
   "end_elevation_m": 37.831566762902256,
   "start_xy": [
    1243323.166474113,
    4828422.364678369
   ],
   "end_xy": [
    1243322.1391492358,
    4828420.648693638
   ]
  },
  "max_3m": {
   "gradient_pct": 23.903319921966926,
   "start_distance_m": 344.0,
   "end_distance_m": 347.0,
   "midpoint_distance_m": 345.5,
   "start_elevation_m": 37.11446716524325,
   "end_elevation_m": 37.831566762902256,
   "start_xy": [
    1243323.6801365516,
    4828423.222670734
   ],
   "end_xy": [
    1243322.1391492358,
    4828420.648693638
   ]
  }
 },
 "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.0,
   "obstruction_max_height_m": 0.04,
   "flagged_windows_m": []
  },
  "review": [],
  "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-s1",
   "road_pbf": "block-batch-nz-s1.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:65f98740b9968e3e"
  },
  "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/CH10.tiff"
  ],
  "calculated_at": "2026-09-28T05:12:20+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/block-batch-nz-s1.osm.pbf",
  "osm_snapshot": "",
  "run_id": "nz-s1",
  "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": [
   "CH10"
  ],
  "climb_origin": "discovered",
  "seam_filled_samples": {
   "count": 0,
   "distances_m": []
  },
  "seam_filled_in_maximum": false,
  "structure_own_ways": 2,
  "carriageway": {
   "stations": 21,
   "stations_resolved": 21,
   "width_median_m": 8.25,
   "width_p10_m": 5.25,
   "width_min_m": 5.0,
   "width_max_m": 12.0,
   "bounded_share": 0.048,
   "unbounded_share": 0.952,
   "confidence_median": 0.0,
   "width_median_bounded_m": 5.5,
   "window_m": [
    331.0,
    356.0
   ],
   "width_at_max25_m": 5.5,
   "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": 21,
    "stations_resolved": 21,
    "width_median_m": 12.0,
    "width_p10_m": 7.25,
    "width_min_m": 5.0,
    "width_max_m": 12.0,
    "bounded_share": 0.333,
    "unbounded_share": 0.667,
    "confidence_median": 0.0,
    "width_median_bounded_m": 7.5,
    "window_m": [
     331.0,
     356.0
    ],
    "width_at_max25_m": 7.5,
    "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": "Southland",
  "county": "Southland",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}