PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ calculate_corner()

window.calculate_corner (   gt,
  x,
  y 
)

Definition at line 45 of file window.py.

45def 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

References is_georeferenced().

Here is the call graph for this function: