PostGIS
2.5.7dev-r@@SVN_REVISION@@
◆
geometry_enforce_typmod()
Datum geometry_enforce_typmod
(
PG_FUNCTION_ARGS
)
Definition at line
341
of file
gserialized_typmod.c
.
342
{
343
GSERIALIZED
*arg = PG_GETARG_GSERIALIZED_P(0);
344
int32
typmod = PG_GETARG_INT32(1);
345
/* We don't need to have different behavior based on explicitness. */
346
/* bool isExplicit = PG_GETARG_BOOL(2); */
347
348
/* Check if geometry typmod is consistent with the supplied one. */
349
arg =
postgis_valid_typmod
(arg, typmod);
350
351
PG_RETURN_POINTER(arg);
352
}
postgis_valid_typmod
GSERIALIZED * postgis_valid_typmod(GSERIALIZED *gser, int32_t typmod)
Check the consistency of the metadata we want to enforce in the typmod: srid, type and dimensionality...
Definition:
gserialized_typmod.c:112
int32
unsigned int int32
Definition:
shpopen.c:273
GSERIALIZED
Definition:
liblwgeom.h:383
References
postgis_valid_typmod()
.
Here is the call graph for this function:
postgis
gserialized_typmod.c
Generated by
1.9.1