def getImageBoundingBox(filePath): """Returns (minLon, maxLon, minLat, maxLat) for a georeferenced image file""" extension = os.path.splitext(filePath)[1] if asp_image_utils.isIsisFile(filePath): return getIsisBoundingBox(filePath) else: # Handle all other types return getGeoTiffBoundingBox(filePath)