2696 ArrayIterator iterator;
2699 bool gotsrid =
false;
2704 #if POSTGIS_PGSQL_VERSION >= 95
2705 iterator = array_create_iterator(array, 0, NULL);
2707 iterator = array_create_iterator(array, 0);
2710 while(array_iterate(iterator, &
value, &isnull))
2724 lwpgerror(
"Geometry deserializing geometry");
int32_t gserialized_get_srid(const GSERIALIZED *s)
Extract the SRID from the serialized form (it is packed into three bytes so this is a handy function)...
int gserialized_has_z(const GSERIALIZED *gser)
Check if a GSERIALIZED has a Z ordinate.
LWGEOM * lwgeom_from_gserialized(const GSERIALIZED *g)
Allocate a new LWGEOM from a GSERIALIZED.
void error_if_srid_mismatch(int srid1, int srid2)