I have following problem. I am trying to calculate route with certain types of roads blocked. Although I have set parameter ALLOW_SEGMENT_VIOLATIONS to true (as suggested here) I am getting error that route cannot be found.
Code: Select all
{
"errorMessage": "cannot calculate route (concerning leg 1)",
"errorKey": "2500",
"exceptionType": "com.ptvag.xserver.xroute.XRouteException"
}
Code: Select all
<BasicDataRules>
<Network rampMalus="10">
<MalusByNetworkClass malus="0"/>
<MalusByNetworkClass malus="0"/>
<MalusByNetworkClass malus="0"/>
<MalusByNetworkClass malus="0"/>
<MalusByNetworkClass malus="0"/>
<MalusByNetworkClass malus="2501"/>
<MalusByNetworkClass malus="2501"/>
<MalusByNetworkClass malus="2501"/>
</Network>
</BasicDataRules>
Full request options are in the attached file.
Thank You in advance.
Krzysztof