xServer1 | Current highway toll rates for Croatia

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.
Post Reply
logintegra
Posts: 7
Joined: Mon Feb 03, 2020 3:38 pm

xServer1 | Current highway toll rates for Croatia

Post by logintegra »

Hello!

We began to use xServer1 to calculate the price of motorway journeys - and in general, highway information works very well, distances and places of entry and exit are also as expected. The only doubt is the returned toll - for example HRK 332 (~EUR 45) instead of HRK 416 (~EUR 56) at current rates (https://hac.hr/en/toll/toll-rates/a1 -> vehicles over 3,5t - type III) for the Zagreb - Dugopolje section (city near Split in Croatia).

It seems to me that this price may depend (apart from the distance) only on the type of vehicle and date of travel - and we set these values in the request so that they correspond (according to our intuitions) to the average truck. I included the relevant fragments of request and response below.

I stumbled upon a topic concerning available scenarios (https://xserver.ptvgroup.com/forum/view ... ?f=7&t=859), but I don't know how to use it within a cloud version.

My questions are:
- Is there a way to find out available scenarios for Croatia in xServer1 cloud?
- Is it possible to check whether PTV has current data for Croatia?
- Are there any mistakes in our request if we try to find out rates for trucks over 3,5t?

Thank you in advance for any help :)

Partial request and response

URL: https://xroute-eu-n-test.cloud.ptvgroup ... endedRoute

Part of the request:

Code: Select all

{
  (..)
  "countryInfoOptions": {
    "$ type": "CountryInfoVehicleOptions",
    "tollDate": "2019-02-12T10:00:10+01:00",
    (..)
    "options": [
      {
        "parameter": "TYPE",
        "value": "TRL"
      },
      {
        "parameter": "NUMBER_OF_AXLES",
        "value": "3"
      },
      {
        "parameter": "TOTAL_WEIGHT",
        "value": "15000"
      },
      {
        "parameter": "FUEL_TYPE",
        "value": "DIESEL"
      }
    ]
  }
  "callerContext": {
    "properties": [
      {
        "key": "Profile",
        "value": "truckfast"
      },
      {
        "key": "CoordFormat",
        "value": "OG_GEODECIMAL"
      }
    ]
  }
}
Part of the response:

Code: Select all

"tollCostInfos": [
  {
    "tollStationFrom": {
      "tollStationName": "Zagreb",
      "tollStationID": 27,
      "tollLocationType": "NORMAL",
      "routeListIndex": 161,
      "manoeuvreType": "ENTER"
    },
    "tollStationTo": {
      "tollStationName": "Dugopolje",
      "tollStationID": 58,
      "tollLocationType": "NORMAL",
      "routeListIndex": 1127,
      "manoeuvreType": "EXIT"
    },
    "tollSectionID": 1103,
    "tollProviderID": 17,
    "tollDistance": 378405,
    "tollPrice": 33280,
    "tollType": "NATIONALSECTIONBASED",
    "currency": "HRK"
  }
]
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xServer1 | Current highway toll rates for Croatia

Post by Bernd Welter »

Hi, that looks suspicious to me, too.

I forwarded it to our data department (XSERS-1714)

Thanks for letting us know!
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:
Joost
Posts: 310
Joined: Fri Apr 25, 2014 1:46 pm

Re: xServer1 | Current highway toll rates for Croatia

Post by Joost »

keep in mind that the prices xServer give are always excluding VAT. In not sure if the prices on the site you linked are with or without VAT, but the difference between 332 and 416 is 25% witch I believe is the VAT rate for Croatia.
Joost Claessen
Senior Technical Consultant
PTV Benelux
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xServer1 | Current highway toll rates for Croatia

Post by Bernd Welter »

response from the Croatian Motorways, Ltd.  (hac.hr)
response from the Croatian Motorways, Ltd. (hac.hr)
vat.PNG (2.6 KiB) Viewed 3821 times
Thanks to Joost for the hint!
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:
logintegra
Posts: 7
Joined: Mon Feb 03, 2020 3:38 pm

Re: xServer1 | Current highway toll rates for Croatia

Post by logintegra »

Thank you very much for your help Bernd and Joost -> from the perspective I can see that we could guess that it is about VAT. This is very good news.

Thank you again :)
Post Reply