This forum deals with any kind of routing computation whether it is simple A:B-routing, calculation of isochrones, simple matrix computation or nearest search.
{
"faultInfo": {
"$type": "DataNotAvailableFault",
"hint": "Please contact your PTV representative to obtain data for toll calculation.",
"parameter": "/routeRequest/resultFields/toll/costs/@enabled",
"value": "true"
},
"message": "Due to a specific parameter of the request certain data is required to calculate the response but the data is not available."
}
Update 2.6.2020:
If this error message appears on Premise: Please ensure that the Content Upodate Service is installed and activated. For those who don't know that specific service: this is a plugin that updates local environments by downloading latest toll updates and also live traffic data (aka PTV_TrafficIncidents). https://xserver2-europe-eu-test.cloud.p ... %20service
I know that toll is not yet covered by 100% in xRoute two - but can I compute at least some generic values?
Best regards,
Bernd
Bernd Welter Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
This error message appears when you try to access the new detailed toll via the ResultFields: the engine requires new data within a structure that isn't available for the current map - we already gather the data to provide it later.
Please use the LegResult field to get the toll in the well known "old school" style.
Best regards,
Bernd
Dein Kunde scheint über die ResultFields die Detailed Toll abzurufen. Diese ist aber im Moment für EUR noch nicht verfügbar.
Anstatt das TollResultField anzusprechen sollte er das LegResultField ansprechen, welches dann auch mit tollSummary die „alte Maut“ zurückgeben sollte.
Bernd Welter Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Thank you for the quick answer.
Unfortunately the field "TollSummary" just covers up the costs.
To check that the costs are correct, it's essential to know the toll-distance.
the value you need is not available so far.
At your own risk you could aggregate the segment distances by the toll flag (but we know that there's situations where the quality is not 100% correct. Here's how I aggregated the distances manually through LINQ:
Bernd Welter Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Hey Bernd,
Thank you very much for the code snippet. I can now calculate the toll costs so far... but in XS1 I was able to receive the “TollType”.
With the TollType I was able to filter to “NATIONALTOLL” and “CITYTOLL” and calculate the toll without any special charges (e.g. the Mont Blanc Tunnel).
Is there a possibility to filter these costs in XS2?
(Since 2.9 experimental the “TollRoadType” exists. Will that be the equivalent of XS1 “TollType”?)
Bernd Welter Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Hmm... I have read that, so I guess that means: "Yes, it is the equivalent". (but experimental)
Unfortunately the feature is part of the “Toll”, which data (for Europe) is not available at the moment.
right - not available right now.. We work on this.
And I try to get a test opportunity for players such as you...
Bernd Welter Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Hi,
news about the roadmap? check them here...
Bernd
Bernd Welter Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...