PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
#define TYPMOD_GET_SRID | ( | typmod | ) | ((((typmod) & 0x0FFFFF00) - ((typmod) & 0x10000000)) >> 8) |
Macros for manipulating the 'typemod' int.
An int32_t used as follows: Plus/minus = Top bit. Spare bits = Next 2 bits. SRID = Next 21 bits. TYPE = Next 6 bits. ZM Flags = Bottom 2 bits.
Definition at line 165 of file liblwgeom.h.