Closed alexander-koval closed 8 months ago
Wiki is wrong, query should be:
SELECT *
FROM pgr_trsp_withPoints(
$$SELECT id, source, target, cost, reverse_cost FROM network$$,
$$SELECT * FROM restrictions$$,
$$SELECT * FROM (VALUES (1, 2, 0.75),(2, 8, 0.5)) AS t(pid, edge_id, fraction)$$,
-1, -2
);
Thanks for noticing ... fixing the wiki
See #2593
Problem Hello guys. I have a problem with your new version of pgr_trsp_withPoints function. Specifically I try to use your wiki TRSP-for-railroads. Example with restrictions doesn't work properly.
To Reproduce
The result is:
Expectation According to your wiki, it should be:
Sample Data Just try to reproduce your example TRSP-for-railroads
Platform/versions