PostGIS  2.1.10dev-r@@SVN_REVISION@@
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 5661 of file rt_api.c.

References clamp_srid(), and rt_raster_t::srid.

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_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_iterator(), test_raster_metadata(), and test_raster_wkb().

5661  {
5662  assert(NULL != raster);
5663 
5664  return clamp_srid(raster->srid);
5665 }
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:326
int32_t srid
Definition: rt_api.h:2225

Here is the call graph for this function:

Here is the caller graph for this function: