iwfm.gis.world2pixel

iwfm.gis.world2pixel(geoMatrix, x, y)[source]

Use a GDAL geomatrix to calculate the pixel location of a geospatial coordinate.

Parameters:
  • geoMatrix (GDAL geomatrix)

  • x (float) – x coordonate

  • y (float) – y coordonate

Returns:

(pixel, line) – Geospatiol coordinate

Return type:

(tuple)