PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ rt_raster_get_srid()

int32_t rt_raster_get_srid ( rt_raster  raster)

Get raster's SRID.

Parameters
raster: the raster to set SRID of
Returns
the raster's SRID

Definition at line 356 of file rt_raster.c.

356  {
357  assert(NULL != raster);
358 
359  return clamp_srid(raster->srid);
360 }
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
raster
Be careful!! Zeros function's input parameter can be a (height x width) array, not (width x height): ...
Definition: rtrowdump.py:121

References clamp_srid(), and rtrowdump::raster.

Referenced by RASTER_addBandOutDB(), RASTER_asGDALRaster(), RASTER_clip(), RASTER_contains(), RASTER_containsProperly(), RASTER_coveredby(), RASTER_covers(), RASTER_dfullywithin(), RASTER_dwithin(), RASTER_GDALWarp(), RASTER_getSRID(), RASTER_intersects(), RASTER_mapAlgebra2(), RASTER_mapAlgebraExpr(), RASTER_mapAlgebraFct(), RASTER_mapAlgebraFctNgb(), RASTER_metadata(), RASTER_nearestValue(), RASTER_overlaps(), RASTER_setPixelValuesGeomval(), RASTER_tile(), RASTER_touches(), rt_raster_clone(), rt_raster_fully_within_distance(), rt_raster_gdal_polygonize(), rt_raster_gdal_warp(), rt_raster_geos_spatial_relationship(), rt_raster_get_convex_hull(), rt_raster_get_envelope_geom(), rt_raster_get_perimeter(), rt_raster_intersects(), rt_raster_iterator(), rt_raster_pixel_as_polygon(), rt_raster_same_alignment(), rt_raster_surface(), rt_raster_within_distance(), test_raster_clone(), test_raster_convex_hull(), test_raster_envelope_geom(), test_raster_iterator(), test_raster_metadata(), and test_raster_wkb().

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