reorder_multilinestring_parts(_multilinestring geometry, _road_code text)


Description

Reorder the parts of the given road MULTILINESTRING based on the graph. For each part, the references of the start & end points is calculated, which helps to reorder the parts. We also reverse the geometry if needed (since the ST_OffsetCurve sometimes does not respect the node order)

Parameters

Name Type Mode
_multilinestring geometry IN
_road_code text IN

Definition