PostGIS  2.5.0dev-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 706 of file rt_raster.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_envelope_geom(), rt_raster_get_inverse_geotransform_matrix(), rt_raster_get_perimeter(), rt_raster_to_gdal_mem(), and test_raster_clone().

707  {
708  assert(NULL != raster);
709  assert(NULL != gt);
710 
711  gt[0] = raster->ipX;
712  gt[1] = raster->scaleX;
713  gt[2] = raster->skewX;
714  gt[3] = raster->ipY;
715  gt[4] = raster->skewY;
716  gt[5] = raster->scaleY;
717 }
double skewY
Definition: librtcore.h:2249
tuple gt
Definition: window.py:77
double ipY
Definition: librtcore.h:2247
double skewX
Definition: librtcore.h:2248
double ipX
Definition: librtcore.h:2246
double scaleX
Definition: librtcore.h:2244
double scaleY
Definition: librtcore.h:2245

Here is the caller graph for this function: