2999 ArrayIterator iterator;
3002 bool gotsrid =
false;
3007 #if POSTGIS_PGSQL_VERSION >= 95 3008 iterator = array_create_iterator(array, 0, NULL);
3010 iterator = array_create_iterator(array, 0);
3013 while(array_iterate(iterator, &value, &isnull))
3027 lwpgerror(
"Geometry deserializing geometry");
LWGEOM * lwgeom_from_gserialized(const GSERIALIZED *g)
Allocate a new LWGEOM from a GSERIALIZED.
void error_if_srid_mismatch(int srid1, int srid2)
int gserialized_has_z(const GSERIALIZED *gser)
Check if a GSERIALIZED has a Z ordinate.
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)...