Toll costs details (c#) (xsers-1330)

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.
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Toll costs details (c#) (xsers-1330)

Post by Bernd Welter »

and forwarded to data department...
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... :twisted:
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Toll costs details (c#) (xsers-1330)

Post by Bernd Welter »

one more question: can you tell us what your source is?
We gather the portuguese toll tarifs from various sources - maybe we miss some of them.
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... :twisted:
vnsilva
Posts: 9
Joined: Mon Feb 11, 2019 5:12 pm

Re: Toll costs details (c#) (xsers-1330)

Post by vnsilva »

Hi

I think that's what you're referring...
https://xroute-eu-n-test.cloud.ptvgroup ... /ws/XRoute
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Toll costs details (c#) (xsers-1330)

Post by Bernd Welter »

Hi,

misunderstanding ;-)

I wanted to know from which webpage you retrieved the tarifs you compare with us afterwards ;-)

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... :twisted:
vnsilva
Posts: 9
Joined: Mon Feb 11, 2019 5:12 pm

Re: Toll costs details (c#) (xsers-1330)

Post by vnsilva »

Hi

example:
http://www.estradas.pt/calculador-porta ... custo&CL=3
Total (classe 4): 54,85€

On PTV (Vehicle Type = TRL): 17,28€
Origin: 38,7893518; -9,111231099
Destination: 41,14945984; -8,610309601
vnsilva
Posts: 9
Joined: Mon Feb 11, 2019 5:12 pm

Re: Toll costs details (c#) (xsers-1330)

Post by vnsilva »

Hi

Any news/ solution?

Best regards
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Toll costs details (c#) (xsers-1330)

Post by Bernd Welter »

Hello there,

here's the data experts feedback to your link:

It is unfortunately an online calculator, which cannot be really used as a reference. What we need is something like what I attached a file with date a all toll prices.
the weblink where we got the pdf is :https://www.brisaconcessao.pt/pt/client ... e-portagem


Do you have something compareable?

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... :twisted:
vnsilva
Posts: 9
Joined: Mon Feb 11, 2019 5:12 pm

Re: Toll costs details (c#) (xsers-1330)

Post by vnsilva »

Hi

Your reference is correct.
Certainly must be doing something wrong, in assigning the type of car/truck.
as I'm getting class 1 tolls and should be class 4.

Code: Select all

<q1:wrappedOptions>
               <q1:VehicleOption parameter="TYPE" value="TRL" />
               <q1:VehicleOption parameter="TOTAL_WEIGHT" value="15000" />
               <q1:VehicleOption parameter="TRAILER_WEIGHT" value="20000" />
               <q1:VehicleOption parameter="NUMBER_OF_AXLES" value="4" />
               <q1:VehicleOption parameter="HEIGHT" value="400" />
               <q1:VehicleOption parameter="LENGTH" value="2000" />
               <q1:VehicleOption parameter="EMISSION_CLASS" value="EURO_4" />
            </q1:wrappedOptions>
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Toll costs details (c#) (xsers-1330)

Post by Bernd Welter »

Hello Valter,

in the last request you provided you override some vehicle properties sauch as weight, dimensions, emission class and so on.
The server profile that is overridden is DEFAULT which is based on a car fast. I recommend to use one of our standard truck profiles and then override the properties you need to set through API.
If you choose "truckfast" you should get truck toll.

About the other topic (Braga/Gulmares) our DATA Department answered:
Hi Bernd, this bug is fixed in xS2 (detail toll) and for xS1 a toll update should be planed.
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... :twisted:
Post Reply