[postgis-devel] Z-order implementation from PostgreSQL

Han Wang hanwgeek at gmail.com
Wed Jun 2 08:03:50 PDT 2021


Hi all,

I am currently working on the GSoC project of `*Implementating a
pre-sorting methods before GiST index building*` and now try to borrow some
ideas from z-order implementation
<https://github.com/postgres/postgres/blob/master/src/backend/access/gist/gistproc.c#L1761>
in Postgres.
I am wondering, however, if I should use lower level postgres functions
like `*point_zorder_internal
<https://github.com/postgres/postgres/blob/master/src/backend/access/gist/gistproc.c#L1576>*`
and `*ieee_float32_to_uint32*
<https://github.com/postgres/postgres/blob/master/src/backend/access/gist/gistproc.c#L1604>`
and data structure like `*BOX
<https://github.com/postgres/postgres/blob/master/src/include/utils/geo_decls.h#L140>*
`.
What's more, I don't know if it is necessary to implement a util function `
*ieee_float32_to_uint32*` in lwgeom.

I appreciate your ideas and suggestions. Feel free to talk to me.

Best regards,
Han
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20210602/0f1c3ae8/attachment.html>


More information about the postgis-devel mailing list