PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ rt_raster_get_x_offset()

double rt_raster_get_x_offset ( rt_raster  raster)

Get raster x offset, in projection units.

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

Definition at line 213 of file rt_raster.c.

213  {
214 
215 
216  assert(NULL != raster);
217 
218  return raster->ipX;
219 }
raster
Be careful!! Zeros function's input parameter can be a (height x width) array, not (width x height): ...
Definition: rtrowdump.py:121

References rtrowdump::raster.

Referenced by RASTER_getGeotransform(), RASTER_getXUpperLeft(), RASTER_mapAlgebra2(), RASTER_mapAlgebraExpr(), RASTER_mapAlgebraFct(), RASTER_mapAlgebraFctNgb(), RASTER_metadata(), rt_raster_iterator(), rt_raster_pixel_as_polygon(), test_gdal_rasterize(), test_raster_compute_skewed_raster(), test_raster_iterator(), test_raster_metadata(), and test_raster_wkb().

Here is the caller graph for this function: