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

Set raster's geotransform using 6-element array.

Parameters
raster: the raster to set matrix of
gt: intput parameter, 6-element geotransform matrix

Definition at line 6026 of file rt_api.c.

References _rt_raster_geotransform_warn_offline_band(), 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 convert_raster(), diff_rastinfo(), RASTER_addBandOutDB(), RASTER_mapAlgebra2(), RASTER_tile(), rt_band_load_offline_data(), rt_raster_clone(), rt_raster_compute_skewed_raster(), rt_raster_from_band(), rt_raster_from_gdal_dataset(), rt_raster_from_two_rasters(), rt_raster_gdal_warp(), test_raster_cell_to_geopoint(), and test_raster_geopoint_to_cell().

6027  {
6028  assert(NULL != raster);
6029  assert(NULL != gt);
6030 
6031  raster->ipX = gt[0];
6032  raster->scaleX = gt[1];
6033  raster->skewX = gt[2];
6034  raster->ipY = gt[3];
6035  raster->skewY = gt[4];
6036  raster->scaleY = gt[5];
6037 
6039 }
double skewY
Definition: rt_api.h:2223
tuple gt
Definition: window.py:79
double ipY
Definition: rt_api.h:2221
static void _rt_raster_geotransform_warn_offline_band(rt_raster raster)
Definition: rt_api.c:5400
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 call graph for this function:

Here is the caller graph for this function: