PostGIS  3.1.6dev-r@@SVN_REVISION@@

◆ lwtype_multitype()

uint8_t lwtype_multitype ( uint8_t  type)

Definition at line 353 of file lwgeom.c.

354 {
355  if (type > 15) return 0;
356  return MULTITYPE[type];
357 }
uint8_t MULTITYPE[NUMTYPES]
Look-up for the correct MULTI* type promotion for singleton types.
Definition: lwgeom.c:337
type
Definition: ovdump.py:42

References MULTITYPE, and ovdump::type.

Referenced by lwcollection_extract().

Here is the caller graph for this function: