I'm new to the pgRouting engine.
Is it possible to input my own data and get it restricted when I want to find the shortest path between points A and B?
For example I want to height and weight attributes for trucks routing to be restricted.
And how do I call it in code?
This is just a simple example which I have found in tutorial
CREATE OR REPLACE FUNCTION shortest_path (sql text, source_id integer, target_id integer, directed boolean, has_reverse_cost boolean) RETURNS SETOF path_result
Should I add it like this?
...maxweight double, maxheight double...