PostGIS  2.1.10dev-r@@SVN_REVISION@@
void rt_raster_set_scale ( rt_raster  raster,
double  scaleX,
double  scaleY 
)

Set scale in projection units.

Parameters
raster: the raster to set georeference of
scaleX: scale X in projection units
scaleY: scale Y height in projection units

NOTE: doesn't recompute offsets

Definition at line 5442 of file rt_api.c.

References _rt_raster_geotransform_warn_offline_band(), rt_raster_t::scaleX, and rt_raster_t::scaleY.

Referenced by fillRasterToPolygonize(), RASTER_makeEmpty(), RASTER_mapAlgebra2(), RASTER_mapAlgebraExpr(), RASTER_mapAlgebraFct(), RASTER_mapAlgebraFctNgb(), RASTER_setScale(), RASTER_setScaleXY(), rt_raster_compute_skewed_raster(), rt_raster_from_two_rasters(), rt_raster_gdal_rasterize(), rt_raster_gdal_warp(), rt_raster_iterator(), rt_raster_set_phys_params(), test_band_get_pixel_line(), test_gdal_warp(), test_raster_clone(), test_raster_convex_hull(), test_raster_from_two_rasters(), test_raster_fully_within_distance(), test_raster_geos_contains(), test_raster_geos_contains_properly(), test_raster_geos_covered_by(), test_raster_geos_covers(), test_raster_geos_overlaps(), test_raster_geos_touches(), test_raster_intersects(), test_raster_iterator(), test_raster_metadata(), test_raster_perimeter(), test_raster_same_alignment(), test_raster_surface(), test_raster_to_gdal(), and test_raster_within_distance().

5445  {
5446  assert(NULL != raster);
5447 
5448  raster->scaleX = scaleX;
5449  raster->scaleY = scaleY;
5450 
5452 }
static void _rt_raster_geotransform_warn_offline_band(rt_raster raster)
Definition: rt_api.c:5400
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: