check_graph_useless_nodes(_road_codes text[], _options jsonb)


Description

Check G04 run by the function check_graph: find the useless nodes, which can be deleted.

An issue is returned for each node without edge (only when all the roads are checked), and for each node between two edges of the same road which can be merged: one edge arrives at the node and the other one leaves it, with the same value of no_intersection_cutting, they do not form a loop, and they only touch each other at the node. The details give the node type (no_edge or two_edges) and the road code of the edges.

The issue can be fixed with the action delete_node, which deletes the node: the triggers merge the two edges.

Parameters

Name Type Mode
_road_codes text[] IN
_options jsonb IN
check_code text TABLE
check_title text TABLE
severity text TABLE
road_code text TABLE
edge_ids integer[] TABLE
node_ids integer[] TABLE
marker_ids integer[] TABLE
details jsonb TABLE
fix_action text TABLE
fix_params jsonb TABLE
geom geometry TABLE
geom_detail geometry TABLE

Definition