Definition at line 419 of file gserialized.c.
420{
422 if (srid1 != srid2)
423 lwerror(
"%s: Operation on mixed SRID geometries %s %d != %d",
424 funcname,
426 srid1,
427 srid2);
428}
uint32_t gserialized1_get_type(const GSERIALIZED *g)
Extract the geometry type from the serialized form (it hides in the anonymous data area,...
int32_t gserialized_get_srid(const GSERIALIZED *g)
Extract the SRID from the serialized form (it is packed into three bytes so this is a handy function)...
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
References gserialized1_get_type(), gserialized_get_srid(), lwerror(), and lwtype_name().
Referenced by ARRAY2GEOS(), ARRAY2LWGEOM(), LWGEOM_collect_garray(), LWGEOM_makeline_garray(), and pgis_union_geometry_array().