PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ lwtype_multitype()

uint8_t lwtype_multitype ( uint8_t  type)

Definition at line 398 of file lwgeom.c.

399 {
400  if (type > 15) return 0;
401  return MULTITYPE[type];
402 }
uint8_t MULTITYPE[NUMTYPES]
Look-up for the correct MULTI* type promotion for singleton types.
Definition: lwgeom.c:382
type
Definition: ovdump.py:42

References MULTITYPE, and ovdump::type.

Referenced by lwcollection_extract(), and postgis_valid_typmod().

Here is the caller graph for this function: