fix_graph_delete_duplicate_edges(_params jsonb)


Description

Action delete_duplicate_edges run by the function fix_graph_issue, to fix the issues of the check G12: delete the duplicates of an edge.

The parameters give the kept edge, the duplicate edges and the tolerance: {“edge_id”: 12, “duplicate_edge_ids”: [13, 14], “tolerance”: 0.5}. Only the edges which are still duplicates of the kept edge, with the same road code, are deleted, one by one: the trigger after_edge_delete links the previous and next edges of each deleted edge.

It returns a JSON object with the keys status (success, skipped if there is no duplicate anymore, or error) and message.

Parameters

Name Type Mode
_params jsonb IN

Definition