Search found 24 matches

by Max
Mon Oct 06, 2025 3:06 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: xRoute performance differences with Feature Layers
Replies: 1
Views: 32981

Re: xRoute performance differences with Feature Layers

Hi,

using feature layers means that more (map) data is being processed, so a certain increase in execution time should be expected. But it's not only the data processing increase, but also how the algorithms work with this data. A few hints:

If you disable PTV_PreferredRoutes the runtime ...
by Max
Wed Oct 01, 2025 12:23 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: How to link SERVICE tour events to waypoints in xRoute response
Replies: 5
Views: 41753

Re: How to link SERVICE tour events to waypoints in xRoute response

We’re currently on xServer 2.34, so I also appreciate the heads-up regarding the changed behavior in later versions.
Not only are TourEvents of type DRIVING returned since 2.37, but there are also a few more improvements and bugfixes concerning TourEvents. Also, in the recently released xServer 2 ...
by Max
Thu Sep 25, 2025 2:16 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: How to link SERVICE tour events to waypoints in xRoute response
Replies: 5
Views: 41753

Re: How to link SERVICE tour events to waypoints in xRoute response

Hi Marko,

I have not checked everything in detail, but here are some quick comments that hopefully help a bit:

On a more unrelated note: Since xServer 2.37 xRoute will also report TOUR_EVENTs of type "DRIVING" after each non-driving TOUR_EVENT (after BREAK and SERVICE events). Keep that in mind ...
by Max
Mon Aug 18, 2025 8:56 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: ETA for routes > 12 hrs
Replies: 2
Views: 27512

Re: ETA for routes > 12 hrs

Or is the ROuteID vanishing and the ETA returns a "routeID unknown"?
As far as I know there is no mechanism that updates the time to live (TTL) for a route id. The TTL of 12 hours was introduced when the route ids were introduced and not changed when the ETA endpoint was introduced later. I agree ...
by Max
Thu May 08, 2025 8:11 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: Zero-length array missing (e.g. toll summary)
Replies: 1
Views: 7846

Re: Zero-length array missing (e.g. toll summary)

This behaviour is in fact documented in the technical concept on requests and responses under the paragraph "Response structure":
Noteworthy about result lists: Empty result lists are omitted from the response. Depending on the used client technology you might have to check if a list exists before ...
by Max
Mon Apr 14, 2025 11:00 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: How to replace xRoute1.completeServiceInIntervals in xRoute2?
Replies: 2
Views: 7565

Re: How to replace xRoute1.completeServiceInIntervals in xRoute2?

What does xRoute1 return in case a service cannot be placed completely within an opening interval when completeServiceInIntervals is true?

Will there be violations?
Will there be two service events splitted into the duration that is within the opening interval and another one that is outside of ...
by Max
Wed Mar 12, 2025 12:45 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Preventing Route Violations with ConfigurableWorkingHoursPreset
Replies: 3
Views: 36071

Re: Preventing Route Violations with ConfigurableWorkingHoursPreset

As far as I know it is not possible to configure the request in a way that it generates a tour that does not exceed the regulation.

Is there a way to configure the RouteRequest to prevent generating a tour that exceeds this regulation,
What would be the expected result? Would you want a route ...
by Max
Wed Jan 15, 2025 5:34 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Difference in the handling of violations between xS1 and xS2
Replies: 3
Views: 35526

Re: Difference in the handling of violations between xS1 and xS2

Hi Peter,
can you provide more information on the xServer version and map, that you use? For both xServer 1 and 2. We would need that information to verify that it's not just data related.

Also, and I know that this is tedious to do since there is not always a direct mapping between xServer 1 and ...
by Max
Wed Nov 06, 2024 4:08 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Error communicating with backend module m0026
Replies: 3
Views: 31869

Re: Error communicating with backend module m0026

Hi Ignacio,

I don't know if you approached Bernd (now at bernd.welter@ptvlogistics.com) or our support already. In cases of "Error communicating with backend module..." I strongly recommend contacting the official support channels.
I understand that you might not have the exact request that ...
by Max
Mon Sep 30, 2024 2:06 pm
Forum: PTV xDimaServer / Developer Matrix Routing API
Topic: Update extend distance matrix
Replies: 3
Views: 102270

Re: Update extend distance matrix

Hi,

there are two ways to use HPR:

Specifying the HPRN id explicitly as you did. In that case, the HPRN id is stored in the meta information of the distance matrix just like Bernd showed. If the HPRN is deleted, that reference no longer works. And currently, there is no way to change that ...
by Max
Fri Sep 06, 2024 8:42 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: ETA at last Waypoint (xRoute2)
Replies: 3
Views: 7763

Re: ETA at last Waypoint (xRoute2)

As additional information:

Check also the technical concept on result lists . Although not explicitly written, you can see in the graphic that the last waypoint is the end of the route.
A service time produces a segment of type NOT_DRIVING . Therefore it is normal that the node index of the last ...
by Max
Wed Aug 28, 2024 9:35 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: How to add a ROLA to the routing?
Replies: 2
Views: 8568

Re: How to add a ROLA to the routing?

The Data API offers the possibility to search for available combined transports, try this sample:
https://developer.myptv.com/en/documentation/data-api/code-samples/combined-transports
Here's an excerpt when searching for "Rola":
{
"polyline": "{\"type\":\"LineString\",\"coordinates ...
by Max
Fri Jul 19, 2024 9:51 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: xS2 - No toll in the response for Hungary
Replies: 1
Views: 5865

Re: xS2 - No toll in the response for Hungary

Hi Benjámin,
your request looks a bit odd as the coordinates are set explicitly to null, but I was able to get the coordinates from the responses.
Your vehicle configuration seems to be wrong as you have set the emission standard to EURO_7.
According to the provider, there are no prices for EURO_7 ...
by Max
Mon Jan 15, 2024 1:03 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: It seems PTV doesn't see the new road and directs through an old one
Replies: 4
Views: 11064

Re: It seems PTV doesn't see the new road and directs through an old one

I found an article that says that a part of the S61 a bit more to the South was only opened in August 2023 and that more is being built.
https://www.elk.pl/en/aktualnosci-wpis/6343/en/aktualnosci

Although it seems open now according to other providers there are reasons why it is not open in our map ...
by Max
Wed Jan 10, 2024 2:31 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Comparison of HERE toll calculation and PTV engine
Replies: 5
Views: 11794

Re: Comparison of HERE toll calculation and PTV engine

I don't really understand the problem.
In countries such as France and Italy the price is determined depending on where you join the toll road and where you leave it². And it seems to be the same for that particular toll system in Poland. So if your destination is on the toll road, this information ...
by Max
Thu Aug 31, 2023 9:21 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: How / when to trigger "navigation texts"?
Replies: 3
Views: 8071

Re: How / when to trigger "navigation texts"?


If the routing is recalculated every few seconds based on the current (x,y) and the destination (x,y) the DistanceFromStart of maneuvers can be used to decide about triggering event infos

I think it shouldn't be necessary to recalculate the route every few seconds. Instead, I suggest to process ...
by Max
Wed May 10, 2023 2:05 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Toll Distance Calculation
Replies: 5
Views: 10122

Re: Toll Distance Calculation

The toll flag at the segments is not vehicle dependent. So it is not necessarily correct to always sum up the distances of all segments where the toll flag is set. For example it is possible that you have to pay toll for a truck but not for a car. Then the toll distance for the car would be too high.
by Max
Wed May 10, 2023 12:44 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: xRoute2 - featureLayerProfile in profile.xml
Replies: 3
Views: 5246

Re: xRoute2 - featureLayerProfile in profile.xml

Hello,

yes, you can add the featureLayerProfile to the XML profile files. The XML files are validated against a schema definition and this validation produced the error message that you posted:
"message": "Could not parse profile. Reason: Error at line 62, column 11: element 'featureLayerProfile ...
by Max
Fri May 05, 2023 8:28 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: Toll Distance Calculation
Replies: 5
Views: 10122

Re: Toll Distance Calculation

The missing distance is for the section "FONTAINE-LARIVIERE" and the opposite direction, right? The distance for this section by the provider (not in our data, but from https://voyage.aprr.fr/sites/default/files/2023-02/tarifs_aprr_2023.pdf) is 33.2 km.

The workaround that you can do is to sum up ...
by Max
Fri Apr 28, 2023 3:25 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Zero tolls in Austria
Replies: 2
Views: 5078

Re: Zero tolls in Austria

Hi,

toll tariffs may vary depending on the time of the day. As far as I know this is the case for Austria. Therefore, if you do specify a time consideration mode in the request, you will not receive toll prices. You can simply switch between different modes in the showcase . See the radio buttons ...