PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ rt_raster_set_offsets()

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

202  {
203 
204  assert(NULL != raster);
205 
206  raster->ipX = x;
207  raster->ipY = y;
208 
210 }
raster
Be careful!! Zeros function's input parameter can be a (height x width) array, not (width x height): ...
Definition: rtrowdump.py:121
static void _rt_raster_geotransform_warn_offline_band(rt_raster raster)
Definition: rt_raster.c:95

References _rt_raster_geotransform_warn_offline_band(), rtrowdump::raster, 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_envelope(), test_raster_envelope_geom(), 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().

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