PostGIS
3.0.6dev-r@@SVN_REVISION@@
|
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 what went in.
Raises an error if SRID value is out of bounds.
Definition at line 333 of file lwutil.c.
References lwnotice(), SRID_MAXIMUM, SRID_UNKNOWN, and SRID_USER_MAXIMUM.
Referenced by gserialized1_set_srid(), gserialized2_set_srid(), gserialized_typmod_in(), lwgeom_from_wkb_state(), RASTER_asGDALRaster(), RASTER_asRaster(), RASTER_clip(), RASTER_fromGDALRaster(), RASTER_GDALWarp(), RASTER_nearestValue(), RASTER_setPixelValuesGeomval(), rt_raster_from_wkb(), rt_raster_get_srid(), rt_raster_set_srid(), and wkt_lexer_read_srid().