OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
download_detroit_imagery Namespace Reference

Download a bounded USGS/USDA NAIP image once, retaining source evidence. More...

Classes

class  SourceRequestError
 A failed network response, distinct from invalid catalog/source data. More...
class  NoImageryCoverage
 A complete catalog contains no approved NAIP source for this footprint. More...

Functions

 read_image (response, *, max_bytes=MAX_BYTES)
 Bounded streaming read with honest progress when total size is unknown.
 validate_export_image (payload, expected_size)
 Reject malformed or empty service exports before they enter a resume cache.

Detailed Description

Download a bounded USGS/USDA NAIP image once, retaining source evidence.