get_ordered_edges(_road_code text, _initial_id integer DEFAULT '-1'::integer, _direction text DEFAULT 'downstream'::text)


Description

Get the list of edge id with order for a given road, edge and the direction (downtream or upstream). It always includes the given edge

Parameters

Name Type Mode
_road_code text IN
_initial_id integer IN
_direction text IN
id integer TABLE
edge_order integer TABLE
road_code text TABLE
geom geometry TABLE

Definition