Release of Sequence Optimization API V1.3.2

A new version of the PTV Developer Sequence Optimization API is now available!

You can check the new features in the list below or use the API Changes webpage for more details.

Sequence Optimization API V1.3.2

  • Improvement: Streamlined database interaction.
  • Feature: Ready for US deployment for American customers.

You can test PTV Developer for free by registering a MyPTV account and activating the product on the website.
By doing this you will gain 100k transaction per month for free to directly start testing.

To keep yourself updated about upcoming releases and news you can use the subscribe function on the right hand side.

If you have any question do not hesitate to get in contact.

Route violated! But where?

When there is no valid route for your vehicle between two waypoints possible at all, the route is nevertheless calculated and marked as violated. This is typically the case for prohibited areas around waypoints, which have to be entered or exited anyway. Other “obstacles” like weight restrictions on the way are usually bypassed and not part of the calculated route.

Up to now, you can request violation events in such routes containing the position, time and the vehicle property in question. In the new version of the PTV Developer Routing API V1.12.0 we also provide the polylines of the violated route parts by using the new parameter ‘VIOLATION_EVENTS_POLYLINE’.

With this polyline it is easy to display the violated route parts on a map. Illustrated above, the first part of the route is marked in red as this is prohibited for the current vehicle because of the surrounding forest. Of course, there is a new code sample for this feature and you are welcome to play around with it! 

To keep yourself updated about upcoming releases and news you can use the subscribe function on the right hand side. If you got any question do not hesitate to get in contact.

Detailed Toll Update for Norway

We activated the updated detailed toll layers for Norway, referenced to

                   PTV Europe / World City Map Premium 2022.2H

on our Layer Delivery Server (LDS). Now, it is possible to download the detailed toll layers via Content Update Service (CUS).

Content: New tariffs and new toll road(s), valid from 1st of September 2022.

 

Using detailed toll on PTV Developer, xServer internet and xServer from version 2.22:

The default toll calculation changed to useDetailedToll = true in the xserver.conf. That means that you get the detailed toll automatically, when requesting toll in the route calculation.

 

Information for xServer from version 2.18 to 2.21:

Step 1: Activate the detailed toll download via content update service in you xserver.conf.

core {
     contentupdates {
              content {
                  detailedToll {
                      enabled = true
                      providerNames = [ "here" ]
                      countries = [ ]
                  }
          }
      }
 }

Step 2: Enable the detailed toll calculation in the xserver.conf or in your request.

xroute {
     tollOptions {
     useDetailedToll = true
     }
 }

The detailed toll is released for PTV xServer from version 2.18.  
Please be aware that from version 2.22 the parameter useDetailedToll is activated automatically. If you like to use the basic toll you need to set it to false.

How to recalulate a driven route and calculate the toll costs?

Do you have a use case, where you need to calculate the toll costs or emmissions for a driven route?

You can calculate toll or emissions for a driven route if you combine the PTV Developer Map Matching API and PTV Developer Routing API

We now offer you a new Technical concept which describes in detail how to establish that! You also can check out our tutorial regardig toll routing.

To keep yourself updated about upcoming releases and news you can use the subscribe function on the right hand side. If you got any question do not hesitate to get in contact.

Release of Sequence Optimization API V1.3.0

A new version of the PTV Developer Sequence Optimization API is now available!

You can check the new features in the list below or use the API Changes webpage for more details.

Sequence Optimization API V1.3.0

  • Feature: New vehicle profiles for region IMEA available.
    For Africa, Middle East and Asia there are four vehicle profiles available.
    Check details about vehicle profiles and supported countries in the concept page.
  • Feature: Added functionality for “Drivers’ Working Hours” to specify restrictions on working time and driving time of drivers and enforce breaks periods. Therefore added fields ‘workingHoursPreset’ and ‘breakRule’ to ‘Driver’.
    Note that from this release on, the working and driving time will be unlimited, unless specified otherwise.
    Previously, EU driving time regulations were applied as the default. To achieve the same behavior as before, set workingHoursPreset to EU_DRIVING_TIME_REGULATION.
  • Feature: Added functionality for restricting the maximum travel time and driving time of drivers. Therefore added fields ‘workLogbook’, ‘maximumDrivingTime’ and ‘maximumTravelTime’ to ‘Driver’.
    Note that from this release on, the travel and driving time will be unlimited, unless specified otherwise.
    Previously, EU driving time regulations were applied as the default. To achieve the same behavior as before, set workingHoursPreset to EU_DRIVING_TIME_REGULATION.
  • New concept page and code sample for “Drivers’ Working Hours” available

Plus several Bugfixes

  • Bugfix: Coordinates containing 0.0 as latitude or longitude are now correctly processed.
  • Bugfix: Improved handling of empty strings as start and end location ids for input vehicle.
  • Bugfix: When latitude or longitude is set as not a number (NaN), a proper exception message is returned.
  • Bugfix: When using an empty list of quantities a proper response instead of an error is returned.

You can test PTV Developer for free by registering a MyPTV account and activating the product on the website.
By doing this you will gain 100k transaction per month for free to directly start testing.

To keep yourself updated about upcoming releases and news you can use the subscribe function on the right hand side.

If you got any question do not hesitate to get in contact.

Release of Route Optimization API V1.5.0

A new version of the PTV Developer Route Optimization API is now available!

You can check the new features in the list below or use the API Changes webpage for more details.

Route Optimization API V1.5.0

  • Feature: New vehicle profiles for region IMEA.
    For Africa, Middle East and Asia there are four vehicle profiles available.
    Check details about vehicle profiles and supported countries in the concept page.

Plus several bugfixes

  • Bugfix: When a drivers availabilties or a locations opening intervals have a total span of more than 14 days, a proper exception message is returned.
  • Bugfix: Coordinates containing 0.0 as latitude or longitude are now correctly processed.
  • Bugfix: Improved handling of empty strings as start and end location ids for input vehicle.
  • Bugfix: When latitude or longitude is set as not a number (NaN), a proper exception message is returned.

You can test PTV Developer for free by registering a MyPTV account and activating the product on the website.
By doing this you will gain 100k transaction per month for free to directly start testing.

To keep yourself updated about upcoming releases and news you can use the subscribe function on the right hand side.

If you got any question do not hesitate to get in contact.