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

Definition at line 46 of file window.py.

References is_georeferenced().

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

Here is the call graph for this function: