PostGIS  2.1.10dev-r@@SVN_REVISION@@
void rt_raster_set_offsets ( rt_raster  raster,
double  x,
double  y 
)

Set insertion points in projection units.

Parameters
raster: the raster to set georeference of
x: x ordinate of the upper-left corner of upper-left pixel, in projection units
y: y ordinate of the upper-left corner of upper-left pixel, in projection units

Definition at line 5504 of file rt_api.c.

References _rt_raster_geotransform_warn_offline_band(), rt_raster_t::ipX, rt_raster_t::ipY, pixval::x, and pixval::y.

Referenced by RASTER_makeEmpty(), RASTER_mapAlgebraExpr(), RASTER_mapAlgebraFct(), RASTER_mapAlgebraFctNgb(), RASTER_setGeotransform(), RASTER_setUpperLeftXY(), RASTER_tile(), rt_raster_compute_skewed_raster(), rt_raster_gdal_rasterize(), rt_raster_gdal_warp(), test_band_metadata(), 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().

5507  {
5508 
5509  assert(NULL != raster);
5510 
5511  raster->ipX = x;
5512  raster->ipY = y;
5513 
5515 }
double ipY
Definition: rt_api.h:2221
static void _rt_raster_geotransform_warn_offline_band(rt_raster raster)
Definition: rt_api.c:5400
tuple x
Definition: pixval.py:53
double ipX
Definition: rt_api.h:2220
tuple y
Definition: pixval.py:54

Here is the call graph for this function:

Here is the caller graph for this function: