update_edge_references(_road_code text DEFAULT NULL::text, _edge_ids integer[] DEFAULT NULL::integer[], _from_edge_ids integer[] DEFAULT NULL::integer[])


Description

Find the edges corresponding to the optionaly given _road_code and _edges_ids and calculate their start and end points references. This method calculates the road cached objects to speed of the process for big roads with many edges.

If _from_edge_ids is given with _road_code, only the edges downstream of the most upstream of these edges are updated, including this edge: the references of a point only depend on the geometry of the road upstream of it. The edges without order in the road, for example after a gap without next edge, are also updated. All the edges are updated if none of the given edges is found in the order of the road.

Parameters

Name Type Mode
_road_code text IN
_edge_ids integer[] IN
_from_edge_ids integer[] IN

Definition