girs.rast.raster.Raster.extent_world_to_pixel

Raster.extent_world_to_pixel(min_x, max_x, min_y, max_y)

Return extent in pixel coordinates

Parameters:
  • min_x (float) – minimum x (minimum longitude)
  • max_x (float) – maximum x (maximum longitude)
  • min_y (float) – minimum x (minimum latitude)
  • max_y (float) – maximum x (maximum latitude)
Returns:

(u_min, u_max, v_min, v_max)

Return type:

tuple