PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ calculate_corner()

def window.calculate_corner (   gt,
  x,
  y 
)

Definition at line 45 of file window.py.

45 def calculate_corner(gt, x, y):
46  if is_georeferenced(gt):
47  xgeo = gt[0] + gt[1] * x + gt[2] * y
48  ygeo = gt[3] + gt[4] * x + gt[5] * y
49  else:
50  xgeo = x
51  xgeo = y
52  return (xgeo, ygeo)
53 
def is_georeferenced(gt)
Definition: window.py:39
def calculate_corner(gt, x, y)
Definition: window.py:45

References is_georeferenced().

Here is the call graph for this function: