PostGIS  2.3.7dev-r@@SVN_REVISION@@
def window.calculate_corner (   gt,
  x,
  y 
)

Definition at line 44 of file window.py.

References is_georeferenced().

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 calculate_corner(gt, x, y)
Definition: window.py:44
def is_georeferenced(gt)
Definition: window.py:38

Here is the call graph for this function: