Planning routes between private areas

Firstly, I would like to express my admiration for the work you’ve been doing with GraphHopper. It’s an excellent tool that has been instrumental in solving our complex routing problems.

We are planning to use GraphHopper for route planning between industrial areas. These areas often have gates and private roads within them. Our use case involves using these private roads when they are inside the industrial area, but we want to avoid using private roads during the rest of the trip. Essentially, we want to allow private roads only at the start and at the destination, which seems like a straightforward requirement.

However, we’ve noticed that the conditional access for the destination (access:conditional = yes @ (destination)) doesn’t seem to work in this case. And allowing private roads with conditional multiplication is screwing up route times.

We were wondering if you could provide some guidance or recommend a solution for this issue.

You could use a small factor like 0.01 for your custom model, so that these private roads are avoided at all costs but are not excluded. Would this work or do you mean something else?

And allowing private roads with conditional multiplication is screwing up route times.

You need to be more precise what exactly the problem is to help you further. Regardless of this you can have a look into this PR which improves handling for custom models and conditional access.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.