Return a sortable key based on gserialized.
Definition at line 391 of file gserialized.c.
392{
395
396 if (is_empty)
397 return 0;
398 else
400}
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 lwgeom_abbrev_convert().