PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ rt_raster_set_srid()

void rt_raster_set_srid ( rt_raster  raster,
int32_t  srid 

Set raster's SRID.

raster: the raster to set SRID of
srid: the SRID to set for the raster

Definition at line 363 of file rt_raster.c.

363  {
364  assert(NULL != raster);
366  raster->srid = clamp_srid(srid);
369 }
int clamp_srid(int srid)
Return a valid SRID from an arbitrary integer Raises a notice if what comes out is different from wha...
Definition: lwutil.c:347
Be careful!! Zeros function's input parameter can be a (height x width) array, not (width x height): ...
static void _rt_raster_geotransform_warn_offline_band(rt_raster raster)
Definition: rt_raster.c:95

References _rt_raster_geotransform_warn_offline_band(), clamp_srid(), and rtrowdump::raster.

Referenced by RASTER_addBandOutDB(), RASTER_asRaster(), RASTER_clip(), RASTER_fromGDALRaster(), RASTER_GDALWarp(), RASTER_makeEmpty(), RASTER_mapAlgebra2(), RASTER_mapAlgebraExpr(), RASTER_mapAlgebraFct(), RASTER_mapAlgebraFctNgb(), RASTER_setPixelValuesGeomval(), RASTER_setSRID(), RASTER_tile(), rt_band_load_offline_data(), rt_raster_clone(), rt_raster_from_band(), rt_raster_from_gdal_dataset(), rt_raster_from_two_rasters(), rt_raster_gdal_warp(), test_raster_cell_to_geopoint(), test_raster_clone(), test_raster_from_two_rasters(), test_raster_geopoint_to_cell(), and test_raster_metadata().

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