PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
int clamp_srid | ( | int | 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 380 of file lwutil.c.
References lwnotice(), SRID_MAXIMUM, SRID_UNKNOWN, and SRID_USER_MAXIMUM.
Referenced by gserialized_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().