PostGIS  2.1.10dev-r@@SVN_REVISION@@
void rt_raster_get_geotransform_matrix ( rt_raster  raster,
double *  gt 
)

Get 6-element array of raster geotransform matrix.

Parameters
raster: the raster to get matrix of
gt: output parameter, 6-element geotransform matrix

Definition at line 6005 of file rt_api.c.

References rt_raster_t::ipX, rt_raster_t::ipY, rt_raster_t::scaleX, rt_raster_t::scaleY, rt_raster_t::skewX, and rt_raster_t::skewY.

Referenced by RASTER_addBandOutDB(), RASTER_clip(), RASTER_mapAlgebra2(), RASTER_setPixelValuesGeomval(), RASTER_tile(), RASTER_union_transfn(), rt_band_load_offline_data(), rt_raster_cell_to_geopoint(), rt_raster_clone(), rt_raster_from_band(), rt_raster_from_two_rasters(), rt_raster_gdal_rasterize(), rt_raster_gdal_warp(), rt_raster_get_convex_hull(), rt_raster_get_envelope(), rt_raster_get_inverse_geotransform_matrix(), rt_raster_get_perimeter(), rt_raster_to_gdal_mem(), and test_raster_clone().

6006  {
6007  assert(NULL != raster);
6008  assert(NULL != gt);
6009 
6010  gt[0] = raster->ipX;
6011  gt[1] = raster->scaleX;
6012  gt[2] = raster->skewX;
6013  gt[3] = raster->ipY;
6014  gt[4] = raster->skewY;
6015  gt[5] = raster->scaleY;
6016 }
double skewY
Definition: rt_api.h:2223
tuple gt
Definition: window.py:79
double ipY
Definition: rt_api.h:2221
double skewX
Definition: rt_api.h:2222
double ipX
Definition: rt_api.h:2220
double scaleX
Definition: rt_api.h:2218
double scaleY
Definition: rt_api.h:2219

Here is the caller graph for this function: