girs.rast.raster.extent_pixel_to_world

extent_pixel_to_world(geo_trans, raster_x_size, raster_y_size)

Return extent in world coordinates.

Transform the given pixel coordinates raster_x_size (number of columns) and raster_y_size (number of rows) into world coordinates.

Parameters:
  • geo_trans (tuple with six values) – geo transformation
  • raster_x_size (int) – number of columns
  • raster_y_size – number of rows
Returns:

(x_min, x_max, y_min, y_max)

Return type:

tuple