PostGIS  2.5.0dev-r@@SVN_REVISION@@
#define FLAGS_NDIMS (   flags)    (2 + FLAGS_GET_Z(flags) + FLAGS_GET_M(flags))