PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ rt_raster_set_geotransform_matrix()

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 727 of file rt_raster.c.

728  {
729  assert(NULL != raster);
730  assert(NULL != gt);
731 
732  raster->ipX = gt[0];
733  raster->scaleX = gt[1];
734  raster->skewX = gt[2];
735  raster->ipY = gt[3];
736  raster->skewY = gt[4];
737  raster->scaleY = gt[5];
738 
740 }
raster
Be careful!! Zeros function's input parameter can be a (height x width) array, not (width x height): ...
Definition: rtrowdump.py:121
gt
Definition: window.py:77
static void _rt_raster_geotransform_warn_offline_band(rt_raster raster)
Definition: rt_raster.c:95

References _rt_raster_geotransform_warn_offline_band(), window::gt, and rtrowdump::raster.

Referenced by 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().

Here is the call graph for this function:
Here is the caller graph for this function: