girs.rast.raster.rasters_get_extent

rasters_get_extent(rasters, extent_type='intersection')

Return the extent of a list of rasters.

Return the extent of the union or intersection of a list of rasters

Parameters:
  • rasters – list of rasters or raster filenames (also mixed)
  • extent_type – intersection or union
Returns:

(xmin, xmax, ymin, ymax) in world coordinates