Traffic events

Do you remember the traffic delay introduced in one of the last versions of the PTV Developer Routing API? For the delay we compare the travel time with and without live traffic on the same route (see this blog post).

In the new version of the PTV Developer Routing API V1.11.0 the request parameter ‘TRAFFIC_EVENTS’ provides traffic events chronologically along the route in the event list, together with all other events like waypoints, maneuvers or toll (see this concept). Then you know exactly where and why there is a delay.

Check out the traffic events in the code sample for recalculating a route with events. Do you need a RouteId? Just create one with the code sample for RouteIds.

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.

Guided navigation

With guided navigation you have the possibility to use a calculated route from PTV Developer in our truck app PTV Navigator. For this we offer in the new version of the PTV Developer Routing API V1.11.0 the request parameter ‘GUIDED_NAVIGATION’ to get the calculated route in an additional format easy to import in PTV Navigator.

Detailed information is available in the corresponding concept. In addition you can test it in our new code sample!

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.

Tutorials on GitHub

As you know we provide more and more tutorials to demonstrate how easy it is to build applications with PTV Developer. By the way, two new ones How to generate clients and Access APIs with Excel are recently published.

Besides a detailed step description most of the tutorials offer a sample application demonstrating the final result immediately (see button “Try it!”). Now it is also possible to download the complete application (see the new button “Download from GitHub”).

Every sample application has its own repository, available in the organization account of PTV on GitHub. So you can test and modify the application locally by just inserting your own API key.

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 Updates for Belgium and France

We activated the updated detailed toll layers for Belgium and France, 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: 

  • Belgium: New toll rates in Flanders and Brussels, valid from 1st July 2022.

  • France: Bugfix – Fix of single toll rate values in the previous scenario.

 

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.

Release of Area POI Search

In the new version of the PTV Developer Geocoding & Places API V1.4.0 you  find a new Feature for the POI / Places Search.

The new endpoint is named searchPlacesByArea and enables you to find places in a map view, around a route or in more complex constructs like multiple polygons. 

You can use a GeoJSON string as input. Which enables you to use complex gometries like multi polygons or polygone with hole.

Try out code sample which gives you the possibility to see results out without any effort. The code sample allows you to manipulate the sqare as you wich.
You have also the possibility to select categories to filter your results.

...
"address": {
"countryName": "United States",
"state": "District of Columbia",
"postalCode": "20005",
"city": "Washington",
"district": "Downtown",
"street": "Vermont Ave NW",
"houseNumber": "1029"
},
"formattedAddress": "Stan's Restaurant - 1029 Vermont Ave NW, Washington, DC 20005",
"name": "Stan's Restaurant",
...

If you need more information about this new Feature please have a look at the API documentation or at the concept wich describes the purpose of this feature in detail.

You can test PTV Developer for free by registering a MyPTV account and activating the product on the website.

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 Updates for several countries

We activated the updated detailed toll layers for Andorra, Croatia, Denmark, Great Britain, Ireland, Spain and Sweden, 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: 

  • Andorra: New tariffs for Tunnel d ‘Envalira, valid from January 2022.

  • Croatia: Update of last available tariffs, valid from October 2021.

  • Denmark: New tariffs for Øresund Bridge, valid from January 2022.

  • Great Britain: New tariffs for Tyne Tunnel and Mersey Tunnel, valid from April 2022.

  • Ireland: New tariffs, valid from January 2022.

  • Spain: Bugfix – missing toll systems in the previous scenario have been integrated.

  • Sweden: New tariffs, valid from January 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.