Parameters
| Name | Type | Mode |
|---|---|---|
| _point | geometry | IN |
| _create | boolean | IN |
| node_id | integer | TABLE |
| node_geom | geometry | TABLE |
| is_created | boolean | TABLE |
Get the node of the given start or end point of an edge: the closest node less than 0.5 m from it, or the node with the lowest id if several nodes are at the same distance.
If there is no node and _create is True, the node is created (its id can be NULL if a node already exists at the same place). The edges under the created node are split, even if they must not be cut at the intersections, unless the edge of the node must not be cut itself (session variable road.graph.edge.no.intersection.cutting). Used by the trigger function before_edge_insert_or_update.
| Name | Type | Mode |
|---|---|---|
| _point | geometry | IN |
| _create | boolean | IN |
| node_id | integer | TABLE |
| node_geom | geometry | TABLE |
| is_created | boolean | TABLE |