PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ calculate_geoxy()

def raster2pgsql.calculate_geoxy (   gt,
  xy 
)
Calculate georeferenced coordinate from given x and y

Definition at line 590 of file raster2pgsql.py.

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

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

Here is the caller graph for this function: