Hello,
I need to get directions for hgv profile, when transporting hazmat category E.
I only see option to pass hazmat bool which has no effect on my route - even when there are tunnels with hazmat:b=no hazmat:c=no hazmat:d=no hazmat:e=no.
Is there way to pass what category is my vehicle?
Also for the time beeing, it would be okay if my route would avoid any tunnel along the road, but I’m not able to find that parameter. Any ideas? Thanks
Thanks for reaching out!
This is correct, currently only roads tagged with hazmat=no
can be filtered out from routing. Unfortunately, we do not provide an option to avoid tunnels in general. However, as the described issue sounds legitimate, I’ve opened a feature request. It seems relatively easy to implement, so stay tuned
1 Like
Thank you very much for feature request. I will keep an eye on that.
Hi, the functionality to include ways tagged with hazmat:B
, hazmat:C
, hazmat:D
, and hazmat:E
to the filter which restricts roads for the transport of dangerous goods (specified via the hazmat
flag in vehicle parameters) has been merged to the main branch. It will be included in the upcoming November release
Happy routing!