urbanlc.downloader.landsat_downloader.Landsat_Collection2.get_spatial_filter#

Landsat_Collection2.get_spatial_filter(bounds: List[float], radius: float) BoundingBox#

Returns a BoundingBox instance based on the provided bounds and radius.

Parameters:
  • bounds (List[float]) – List of bounding box coordinates [lon_min, lat_min, lon_max, lat_max] or center coordinates [lon, lat].

  • radius (float) – Radius around the center (only used if center coordinates are provided).

Returns:

BoundingBox instance.

Return type:

BoundingBox

Raises:

ValueError – If the bounds format is invalid.