forked from anitagraser/pgRoutingLayer
-
-
Notifications
You must be signed in to change notification settings - Fork 19
pgRoutingLayers for 2.1
Vicky Vergara edited this page Apr 15, 2016
·
9 revisions
-
[pgRouting] (http://pgrouting.org/) home page.
-
For naming:
- < U|D >:
- U = Undirected
- D = Directed
- < bbox > = xMin yMin, xMax yMax
- M = when Export Merged button is used
- < U|D >:
-
Information about the pgr-v2.2 is also included
- Uses BBOX of the QGIS canvas to limit the edges in the query
- The alpha shape is based on the results of
pgr_drivingDistance:-
pgr-v2.0: Identifiers are converted to
int4type. Costs are converted tofloat8 -
pgr-v2.1 & pgr-v2.2:
pgr_drivingDistancefor one starting vertex is used.
-
pgr-v2.0: Identifiers are converted to
- Buttons:
- Preview: Draws in the canvas the area of the alpha shape
- Clear Preview: Removes from the canvas objects generated with Preview
- Export: Creates a new layer containing the multi polygon geometry named:
(< U|D >) alphashape: <source_id> dd = <value> BBOX(< bbox >)
- Uses BBOX of the QGIS canvas to limit the edges in the query
-
pgr-v2.0, pgr-v2.1 & pgr-v2.2: Identifiers are converted to
int4type. Costs are converted tofloat8 - Buttons:
- 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. Only one row is generated
- Layer name:
(< M >< U|D >) astar: < source_id > to < target_id> BBOX(< bbox >)
In the following image we ran an undirected pgr_astar from 2 to 3, and we can see that astar has a bug. (Should go directly from 2 to 3.

- Uses BBOX of the QGIS canvas to limit the edges in the query
-
pgr-v2.0, pgr-v2.1 & pgr-v2.2: Identifiers are converted to
int4type. Costs are converted tofloat8 - Buttons:
- 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. Only one row is generated
- Layer name:
(< M >< U|D >) bdAstar: < source_id > to < target_id> BBOX(< bbox >)
- Uses BBOX of the QGIS canvas to limit the edges in the query
-
pgr-v2.0, pgr-v2.1 & pgr-v2.2: Identifiers are converted to
int4type. Costs are converted tofloat8 - Buttons:
- 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. Only one row is generated
- Layer name:
(< M >< U|D >) bdDijkstra: < source_id > to < target_id> BBOX(< bbox >)
- Uses BBOX of the QGIS canvas to limit the resulting path(s)
-
pgr-v2.0: Identifiers are converted to
int4type. Costs are converted tofloat8; single source & target. , pgr-v2.1 & pgr-v2.2: Multiple source & target - Buttons:
- 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.
- Layer name:
(< M >< U|D >) dijkstra: < source_ids > to < target_ids> BBOX(< bbox >)
The export button results

The export merge results

-
pgr-v2.0: Identifiers are converted to
int4type. Costs are converted tofloat8; single source , pgr-v2.1 & pgr-v2.2: Multiple source - Buttons:
- Preview: Draws in the canvas points within the driving distance
- Clear Preview: Removes from the canvas objects generated with Preview
- Export: Creates a one row per point point geometry layer
- Export Merged: Creates a one row per edge line geometry layer
- Layer name:
(< M >< U|D >) drivingDistance: < source_ids > dd = < value > BBOX(< bbox >)
- Uses BBOX of the QGIS canvas to limit the edges in the query
-
pgr-v2.0, pgr-v2.1, pgr-v2.2: Identifiers are converted to
int4type. Costs are converted tofloat8 -
pgr-v2.2: Function is being deprecated in favour of
pgr_dijkstraCostwhich is not yet implemented in this plugin. - Buttons:
- Preview: Draws in the canvas a straight line from the start_vid and a label with the cost information at the target_vid.
- Clear Preview: Removes from the canvas the objects generated with Preview
- Uses BBOX of the QGIS canvas to limit the edges in the query
-
pgr-v2.0, pgr-v2.1 & pgr-v2.2: Identifiers are converted to
int4type. Costs are converted tofloat8 - Buttons:
- 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
- Layer name:
(< M >< U|D >) kDijkstra: < source_id > to [tarjets_ids] BBOX(< bbox >)
-
pgr-v2.0: Identifiers are converted to
int4type. Costs are converted tofloat8; single source , pgr-v2.1 & pgr-v2.2: Multiple source - Buttons:
- Preview: Draws in the canvas points within the driving distance
- Clear Preview: Removes from the canvas objects generated with Preview
- Export: Creates a one row per point point geometry layer
- Export Merged: Creates a one row per path multiline geometry layer. As many rows as needed
- Layer name:
(< M >< U|D >) drivingDistance: < source_ids > K = < value > BBOX(< bbox >)
- Uses BBOX of the QGIS canvas to limit the edges in the query
-
pgr-v2.0, pgr-v2.1 & pgr-v2.2: Identifiers are converted to
int4type. Costs are converted tofloat8 - Buttons:
- 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. One row is generated.
- Layer name:
(< M >< U|D >) trsp(Node): < source_id > to < tarjets_id > BBOX(< bbox >)
- Uses BBOX of the QGIS canvas to limit the edges in the query
-
pgr-v2.0, pgr-v2.1 & pgr-v2.2: Identifiers are converted to
int4type. Costs are converted tofloat8 - Buttons:
- 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. One row is generated.
- Layer name:
(< M >< U|D >) trsp(Node): < source_id > to < tarjets_id > BBOX(< bbox >)
- Uses BBOX of the QGIS canvas to limit the edges in the query
-
pgr-v2.0, pgr-v2.1 & pgr-v2.2: Identifiers are converted to
int4type. Costs are converted tofloat8 - Buttons:
- Preview: Draws in the canvas the resulting path
- Clear Preview: Removes from the canvas objects generated with Preview
- Uses BBOX of the QGIS canvas to limit the edges in the query
-
pgr-v2.0, pgr-v2.1 & pgr-v2.2: Identifiers are converted to
int4type. Costs are converted tofloat8 - Buttons:
- 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. One row is generated.
- Layer name:
(< M >< U|D >) trsp(via vertex): < source_id > to < tarjets_id > BBOX(< bbox >)
- does not use BBOX
-
pgr-v2.0, pgr-v2.1 & pgr-v2.2: Identifiers are converted to
int4type. - Buttons:
- Preview: Draws in the canvas the resulting path, and a label
- Clear Preview: Removes from the canvas objects generated with Preview
Maintained by the pgRouting Community
Website: https://pgrouting.org