1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------
-- PGR_drivingDistance
------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------
SELECT seq, id1 AS node, cost
FROM pgr_drivingDistance(
'SELECT id, source, target, cost FROM edge_table',
6, 1.5, false, false
);
SELECT seq, id1 AS node, cost
FROM pgr_drivingDistance(
'SELECT id, source, target, cost, reverse_cost FROM edge_table',
6, 1.5, true, true
);
|