PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ rt_raster_set_srid()

void rt_raster_set_srid ( rt_raster  raster,
int32_t  srid 
)

Set raster's SRID.

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

Definition at line 367 of file rt_raster.c.

367 {
368 assert(NULL != raster);
369
370 raster->srid = clamp_srid(srid);
371
373}
int32_t clamp_srid(int32_t srid)
Return a valid SRID from an arbitrary integer Raises a notice if what comes out is different from wha...
Definition lwutil.c:339
raster
Be careful!! Zeros function's input parameter can be a (height x width) array, not (width x height): ...
Definition rtrowdump.py:125
static void _rt_raster_geotransform_warn_offline_band(rt_raster raster)
Definition rt_raster.c:99

References _rt_raster_geotransform_warn_offline_band(), and clamp_srid().

Referenced by build_overview(), convert_raster(), 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: