check_graph_parallel_edges(_road_codes text[], _options jsonb)


Description

Check G07 run by the function check_graph: find the edges of the same road running parallel to each other, for example the two carriageways of a road using the same road code.

An issue is returned for each pair of edges of the same road, not connected by a node, which run along each other less than the option tolerance from each other (30 m by default), along at least the option min_length (10 m by default). The edges which only approach each other, for example on both sides of a roundabout, are ignored. The roundabouts are ignored. The details give the distance between the edges and the length along which they are parallel. The line of the issue shows the parallel parts of the edges.

The issue must be fixed manually, for example by giving another road code to one of the carriageways.

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