girs.rast.raster.world_to_pixel

world_to_pixel(geo_trans, x, y, np_func=<ufunc 'trunc'>)

Transform world into pixel coordinates

Parameters:
  • geo_trans (tuple with six values) – geo transformation
  • x
  • y
  • np_func
Returns:

pixel coordinates of (x, y)

Return type:

list of int