PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ checkTopoGeomRemNode

int(* LWT_BE_CALLBACKS_T::checkTopoGeomRemNode) (const LWT_BE_TOPOLOGY *topo, LWT_ELEMID rem_node, LWT_ELEMID e1, LWT_ELEMID e2)

Check TopoGeometry objects before a node removal event.

Parameters
topothe topology to act upon
rem_nodeidentifier of the node that's been removed
e1identifier of the first connected edge
e2identifier of the second connected edge

The operation should be forbidden if any TopoGeometry object exists which contains only one of the two healed edges.

The operation should also be forbidden if the removed node takes part in the definition of a TopoGeometry, although this wasn't the case yet as of PostGIS version 2.1.8: https://trac.osgeo.org/postgis/ticket/3239

Returns
1 to allow, 0 to forbid the operation (reporting reason via lastErrorMessage)

Definition at line 828 of file liblwgeom_topo.h.