{
 "ocl_version": "0.1.0",
 "name": "Market Street",
 "slug": "market-street",
 "confidence": "A",
 "reported_claims": [],
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 24.23420781316139,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 382.0,
   "end_distance_m": 384.0,
   "start_elevation_m": 40.045349470024675,
   "end_elevation_m": 40.5300336262879,
   "min_gradient_pct": -3.1059279869243728
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 23.966325825556822,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 382.0,
   "end_distance_m": 385.0,
   "start_elevation_m": 40.045349470024675,
   "end_elevation_m": 40.76433924479138,
   "min_gradient_pct": -3.0189513133583348
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 23.14488650236072,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 381.0,
   "end_distance_m": 386.0,
   "start_elevation_m": 39.8316678112893,
   "end_elevation_m": 40.988912136407336,
   "min_gradient_pct": -2.7421923564774886
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 22.752056561491543,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 376.0,
   "end_distance_m": 386.0,
   "start_elevation_m": 38.71370648025818,
   "end_elevation_m": 40.988912136407336,
   "min_gradient_pct": -0.9908512072546927
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 21.56561907852396,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 367.0,
   "end_distance_m": 387.0,
   "start_elevation_m": 36.87337545865725,
   "end_elevation_m": 41.18649927436204,
   "min_gradient_pct": 2.445394148734552
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 21.0862504040156,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 362.0,
   "end_distance_m": 387.0,
   "start_elevation_m": 35.91493667335814,
   "end_elevation_m": 41.18649927436204,
   "min_gradient_pct": 3.1387094184567985
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 19.342950994115157,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 341.0,
   "end_distance_m": 391.0,
   "start_elevation_m": 32.23277604649495,
   "end_elevation_m": 41.904251543552526,
   "min_gradient_pct": 4.042674966894978
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 16.75081360868167,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 292.0,
   "end_distance_m": 392.0,
   "start_elevation_m": 25.293303738677626,
   "end_elevation_m": 42.0441173473593,
   "min_gradient_pct": 4.559275200763077
  }
 ],
 "shape": {
  "ascent_concentration": 0.463,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 133.0,
  "shape_class": "stepped"
 },
 "length_m": 397.103095803744,
 "start_elevation_m": 6.283876093057099,
 "end_elevation_m": 42.248543437878574,
 "endpoint_gain_m": 35.96466734482148,
 "overall_gradient_pct": 9.056758238569842,
 "accumulated_ascent_m": 36.15705738738867,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 23.14488650236072,
   "start_distance_m": 381.0,
   "end_distance_m": 386.0,
   "midpoint_distance_m": 383.5,
   "start_elevation_m": 39.8316678112893,
   "end_elevation_m": 40.988912136407336,
   "start_xy": [
    1357445.958491294,
    4869372.020456334
   ],
   "end_xy": [
    1357450.131058596,
    4869369.265518565
   ]
  },
  "max_10m": {
   "gradient_pct": 22.752056561491543,
   "start_distance_m": 376.0,
   "end_distance_m": 386.0,
   "midpoint_distance_m": 381.0,
   "start_elevation_m": 38.71370648025818,
   "end_elevation_m": 40.988912136407336,
   "start_xy": [
    1357441.304958186,
    4869373.7667622175
   ],
   "end_xy": [
    1357450.131058596,
    4869369.265518565
   ]
  },
  "max_20m": {
   "gradient_pct": 21.56561907852396,
   "start_distance_m": 367.0,
   "end_distance_m": 387.0,
   "midpoint_distance_m": 377.0,
   "start_elevation_m": 36.87337545865725,
   "end_elevation_m": 41.18649927436204,
   "start_xy": [
    1357432.7240346433,
    4869376.48112239
   ],
   "end_xy": [
    1357450.7475779643,
    4869368.483957987
   ]
  },
  "max_25m": {
   "gradient_pct": 21.0862504040156,
   "start_distance_m": 362.0,
   "end_distance_m": 387.0,
   "midpoint_distance_m": 374.5,
   "start_elevation_m": 35.91493667335814,
   "end_elevation_m": 41.18649927436204,
   "start_xy": [
    1357427.9376517457,
    4869377.926843037
   ],
   "end_xy": [
    1357450.7475779643,
    4869368.483957987
   ]
  },
  "max_50m": {
   "gradient_pct": 19.342950994115157,
   "start_distance_m": 341.0,
   "end_distance_m": 391.0,
   "midpoint_distance_m": 366.0,
   "start_elevation_m": 32.23277604649495,
   "end_elevation_m": 41.904251543552526,
   "start_xy": [
    1357407.826662344,
    4869383.972345933
   ],
   "end_xy": [
    1357453.1351320974,
    4869365.274661294
   ]
  },
  "max_100m": {
   "gradient_pct": 16.75081360868167,
   "start_distance_m": 292.0,
   "end_distance_m": 392.0,
   "midpoint_distance_m": 342.0,
   "start_elevation_m": 25.293303738677626,
   "end_elevation_m": 42.0441173473593,
   "start_xy": [
    1357360.5045246428,
    4869396.652278244
   ],
   "end_xy": [
    1357453.7320206305,
    4869364.472337121
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -2.7421923564774886,
   "start_distance_m": 1.0,
   "end_distance_m": 6.0,
   "midpoint_distance_m": 3.5,
   "start_elevation_m": 6.26422778624187,
   "end_elevation_m": 6.127118168417995,
   "start_xy": [
    1357078.2928716491,
    4869467.579803371
   ],
   "end_xy": [
    1357083.0822298955,
    4869466.143820227
   ]
  },
  "min_10m": {
   "gradient_pct": -0.9908512072546927,
   "start_distance_m": 0.0,
   "end_distance_m": 10.0,
   "midpoint_distance_m": 5.0,
   "start_elevation_m": 6.283876093057099,
   "end_elevation_m": 6.18479097233163,
   "start_xy": [
    1357077.335,
    4869467.867
   ],
   "end_xy": [
    1357086.925004749,
    4869465.036200995
   ]
  },
  "min_20m": {
   "gradient_pct": 2.445394148734552,
   "start_distance_m": 0.0,
   "end_distance_m": 20.0,
   "midpoint_distance_m": 10.0,
   "start_elevation_m": 6.283876093057099,
   "end_elevation_m": 6.77295492280401,
   "start_xy": [
    1357077.335,
    4869467.867
   ],
   "end_xy": [
    1357096.6289093208,
    4869462.620784661
   ]
  },
  "min_25m": {
   "gradient_pct": 3.1387094184567985,
   "start_distance_m": 0.0,
   "end_distance_m": 25.0,
   "midpoint_distance_m": 12.5,
   "start_elevation_m": 6.283876093057099,
   "end_elevation_m": 7.068553447671299,
   "start_xy": [
    1357077.335,
    4869467.867
   ],
   "end_xy": [
    1357101.4808616065,
    4869461.413076495
   ]
  },
  "min_50m": {
   "gradient_pct": 4.042674966894978,
   "start_distance_m": 0.0,
   "end_distance_m": 50.0,
   "midpoint_distance_m": 25.0,
   "start_elevation_m": 6.283876093057099,
   "end_elevation_m": 8.305213576504588,
   "start_xy": [
    1357077.335,
    4869467.867
   ],
   "end_xy": [
    1357125.7406230357,
    4869455.374535661
   ]
  },
  "min_100m": {
   "gradient_pct": 4.559275200763077,
   "start_distance_m": 0.0,
   "end_distance_m": 100.0,
   "midpoint_distance_m": 50.0,
   "start_elevation_m": 6.283876093057099,
   "end_elevation_m": 10.843151293820176,
   "start_xy": [
    1357077.335,
    4869467.867
   ],
   "end_xy": [
    1357174.2601458943,
    4869443.297453994
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 24.23420781316139,
   "start_distance_m": 382.0,
   "end_distance_m": 384.0,
   "midpoint_distance_m": 383.0,
   "start_elevation_m": 40.045349470024675,
   "end_elevation_m": 40.5300336262879,
   "start_xy": [
    1357446.7930047542,
    4869371.46946878
   ],
   "end_xy": [
    1357448.462031675,
    4869370.367493672
   ]
  },
  "max_3m": {
   "gradient_pct": 23.966325825556822,
   "start_distance_m": 382.0,
   "end_distance_m": 385.0,
   "midpoint_distance_m": 383.5,
   "start_elevation_m": 40.045349470024675,
   "end_elevation_m": 40.76433924479138,
   "start_xy": [
    1357446.7930047542,
    4869371.46946878
   ],
   "end_xy": [
    1357449.2965451356,
    4869369.8165061185
   ]
  }
 },
 "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.02,
   "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/CF15.tiff"
  ],
  "calculated_at": "2026-09-28T05:09:46+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": [
   "CF15"
  ],
  "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": 8.12,
   "width_p10_m": 6.28,
   "width_min_m": 6.0,
   "width_max_m": 12.0,
   "bounded_share": 0.0,
   "unbounded_share": 1.0,
   "confidence_median": 0.0,
   "window_m": [
    362.0,
    387.0
   ],
   "width_at_max25_m": 7.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": 12.0,
    "width_p10_m": 9.1,
    "width_min_m": 8.25,
    "width_max_m": 12.0,
    "bounded_share": 0.182,
    "unbounded_share": 0.818,
    "confidence_median": 0.0,
    "width_median_bounded_m": 9.0,
    "window_m": [
     362.0,
     387.0
    ],
    "width_at_max25_m": 10.0,
    "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": "Otago",
  "county": "Otago",
  "source": "OpenStreetMap administrative boundaries (\u00a9 OpenStreetMap contributors, ODbL)"
 }
}