Definition at line 447 of file gserialized.c.
448{
450 if (srid1 != srid2)
451 lwerror(
"%s: Operation on mixed SRID geometries %s %d != %d",
452 funcname,
454 srid1,
455 srid2);
456}
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 void lwerror(const char *fmt,...) __attribute__((format(printf
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().