Return a sortable key based on gserialized.
Definition at line 419 of file gserialized.c.
420{
423
424 if (is_empty)
425 return 0;
426 else
428}
uint64_t gbox_get_sortable_hash(const GBOX *g, const int32_t srid)
Return a sortable key based on the center point of the GBOX.
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)...
int gserialized_get_gbox_p(const GSERIALIZED *g, GBOX *gbox)
Read the box from the GSERIALIZED or calculate it if necessary.
References gbox_get_sortable_hash(), gserialized_get_gbox_p(), gserialized_get_srid(), and LW_FAILURE.
Referenced by _ST_SortableHash(), and lwgeom_abbrev_convert().