⚠️ Our 0.1 release refactored several early-development functions for long-term stability, to update your code see here. ⚠️
Future changes will come with deprecation warnings! 🙂

geoutils.Raster.get_footprint_projected

geoutils.Raster.get_footprint_projected#

Raster.get_footprint_projected(out_crs, densify_points=5000)[source]#

Get raster footprint projected in a specified CRS.

The polygon points of the vector are densified during reprojection to warp the rectangular square footprint of the original projection into the new one.

Parameters:
  • out_crs (CRS) – Output CRS.

  • densify_points (int) – Maximum points to be added between image corners to account for non linear edges. Reduce if time computation is really critical (ms) or increase if extent is not accurate enough.

Return type:

Vector