pgr_astar

pgr_astar

Button Action
Help Opens the web page of the documentation of pgr_astar
Function Choose pgr_astar on the drop down box

Edges SQL tab

Edges SQL tab

Field Action
Edge table Write the table name of the edges
Edge schema Write the schema of the edge table
Geometry Write the geometry column name
BBOX Tick to use the Bounding Box of the QGIS canvas to limit the rows of edge table BBOX

Columns

Field Action
Id Write the column that has the edge identifier
Source Write the column that has the edge source
Target Write the column that has the edge target
Cost Write the column that has the cost of the edge source -> target
Reverse Cost Write the column that has the cost of the edge target -> source, the column will be used when the box is ticked Reverse Cost
x Write the geometry column name
y Write the geometry column name

Arguments tab

Arguments tab

Field Action
fromVids Choose with plus or write the comma separated identifiers of the start vertices
toVids Choose with plus or write the comma separated identifiers of the destination vertices
Heuristic Heuristic number. Current valid values 0~5 . Default 5
Factor For units manipulation. factor > 0. Default 1. See astar_factor.
Epsilon For less restricted results. epsilon >= 1. Default 1.
Directed Tick if the graph is directed Directed

Execute tab

Execute tab

Button Action
Preview Draws in the canvas the resulting path
Clear Preview Removes from the canvas objects generated with Preview
Export Creates a one row per edge line geometry layer
Export Merged Creates a one row per path multiline geometry layer. As many rows as needed

Depending on the pressed button the layer name will be

(<U|D>) pgr_astar: <source_id>  to <target_id>  BBOX(<bbox>)
(M <U|D>) pgr_astar: <source_id>  to <target_id>  BBOX(<bbox>)