PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ gserialized_has_z()

int gserialized_has_z ( const GSERIALIZED gser)

Check if a GSERIALIZED has a Z ordinate.

Definition at line 203 of file gserialized.c.

204 {
205  if (GFLAGS_GET_VERSION(g->gflags))
206  return gserialized2_has_z(g);
207  else
208  return gserialized1_has_z(g);
209 }
int gserialized1_has_z(const GSERIALIZED *gser)
Check if a GSERIALIZED has a Z ordinate.
Definition: gserialized1.c:96
int gserialized2_has_z(const GSERIALIZED *g)
Check if a GSERIALIZED has a Z ordinate.
Definition: gserialized2.c:158
#define GFLAGS_GET_VERSION(gflags)
Definition: gserialized.c:41