Adding a small feature to PostGIS topology

Sandro Santilli strk at kbt.io
Sun Mar 15 04:41:36 PDT 2026


On Sun, Mar 15, 2026 at 01:44:06AM +0000, Scott Smith wrote:
> The edge_topo table was populated using those indices. However, I am
> not aware of anything in the indices that identifies what edges follow
> each other.

Those are the the next_left_edge and next_right_edge fields.
Those tell you which edge follows while you walk on the specific
side of the edge (forward on the left, backward on the right).

Once you are on the next edge, if the other side face is still part of
the topogeometry you can continue looking for the next one and so on.

--strk;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20260315/49f307e4/attachment.sig>


More information about the postgis-devel mailing list