PostGIS  2.1.10dev-r@@SVN_REVISION@@
def raster2pgsql.calculate_geoxy (   gt,
  xy 
)
Calculate georeferenced coordinate from given x and y

Definition at line 592 of file raster2pgsql.py.

Referenced by calculate_bounding_box(), calculate_geoxy_level(), and wkblify_raster_header().

592 def calculate_geoxy(gt, xy):
593  """Calculate georeferenced coordinate from given x and y"""
594  assert gt is not None
595  assert xy is not None
596  assert len(xy) == 2
597 
598  xgeo = gt[0] + gt[1] * xy[0] + gt[2] * xy[1];
599  ygeo = gt[3] + gt[4] * xy[0] + gt[5] * xy[1];
600 
601  return (xgeo, ygeo)
602 
def calculate_geoxy(gt, xy)

Here is the caller graph for this function: