PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ calculate_corner()

def window.calculate_corner (   gt,
  x,
  y 
)

Definition at line 44 of file window.py.

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

References is_georeferenced().

Here is the call graph for this function: