Search found 227 matches

by Joost
Mon Nov 30, 2020 3:46 pm
Forum: PTV xTourServer
Topic: Engine error: Invalid partner stop tour position (code: -106
Replies: 2
Views: 2999

Re: Engine error: Invalid partner stop tour position (code:

Your delivery locations, TransportPointB of the orders, require tourSection 1. The value of 1 is special that there can only be a single toursection1 location in a tour and it must be the the first location in the tour. To translate this into more human term: your request requires that your deliveri...
by Joost
Tue Nov 24, 2020 10:17 am
Forum: PTV xRouteServer
Topic: xRoute distanceTimeWeighting Problem
Replies: 10
Views: 5682

Re: xRoute distanceTimeWeighting Problem

The real distance time values are the ones that xRoute 2 returns. The cost after penalty are not being returned by xRoute 2. We did return them in xRoute 1, but those caused more confusion with users then they solved questions so we did not bring them back into the xRoute 2 API.
by Joost
Tue Nov 24, 2020 9:20 am
Forum: PTV xRouteServer
Topic: xRoute distanceTimeWeighting Problem
Replies: 10
Views: 5682

Re: xRoute distanceTimeWeighting Problem

Are the set of penalties in the profiles trustworthy or just an idea what could happen in the worst case? Our penalties as calibrated for our default profiles. Because time scale differently on roads then distance (you are no allowed to drive as hard on a highway then on a trunk road for example) y...
by Joost
Thu Nov 19, 2020 4:12 pm
Forum: PTV xRouteServer
Topic: xRoute distanceTimeWeighting Problem
Replies: 10
Views: 5682

Re: xRoute distanceTimeWeighting Problem

Looking properly at it I can explain the effect. So we have the route that take the highway around which is 132450 m in 6446.185 s driving time. Let's call this one the outer route. And we have the direct route on trunk roads which is 85750 m in 5858.583 s. Let's call this one the inner route. The i...
by Joost
Thu Nov 19, 2020 2:50 pm
Forum: PTV xRouteServer
Topic: xRoute distanceTimeWeighting Problem
Replies: 10
Views: 5682

Re: xRoute distanceTimeWeighting Problem

@Joost: I tried distanceTimeWeighting = 65. I got kind of the same route as for distanceTimeWeighting = 0. It is also quicker then the distanceTimeWeighting = 100 route (via A7). I dont get any violations of the route. I could not find any details in the API for "aStarAggressiveness". (We...
by Joost
Thu Nov 19, 2020 12:23 pm
Forum: PTV xRouteServer
Topic: xRoute distanceTimeWeighting Problem
Replies: 10
Views: 5682

Re: xRoute distanceTimeWeighting Problem

EDIT: i initially read your question wrong. The post I made was not applicable to your issue.
by Joost
Tue Jul 28, 2020 8:59 am
Forum: PTV xLocateServer
Topic: Maximum speed in segment
Replies: 9
Views: 6606

Re: Maximum speed in segment

For xmapmatch you can parse it out of the vendorId on the matched segment on the matchedLocation.path.Last() . For xLocate we do not have a way for you determine the DIRECTION. The direction is determined by our data provider and they do not have a orientation rule as far as I am aware of. So our en...
by Joost
Mon Jun 22, 2020 9:08 am
Forum: PTV xLocateServer
Topic: Maximum speed in segment
Replies: 9
Views: 6606

Re: Maximum speed in segment

Reading your use case: I would recommend build this solution around xLocate. There is often to many inaccuracies in a GPS signal causing xLocate to snap to the incorrect road. I would advise to look at xMapmatch and it's ability to also take heading into account and more. In my experience there is v...
by Joost
Fri Jun 12, 2020 6:36 am
Forum: PTV xMapServer
Topic: xMap2: how to retrieve specific layers only? (REST)
Replies: 4
Views: 9139

Re: xMap2: how to retrieve specific layers only? (REST)

For leaflet, don't forget the code Oliver put on github to give examples:

https://github.com/ptv-logistics/xserve ... oilerplate
by Joost
Fri May 15, 2020 6:55 am
Forum: PTV xDimaServer
Topic: Dima C# Sample
Replies: 3
Views: 8956

Re: Dima C# Sample

You are using CreateDistanceMatrixRequest . This is designed for calculating a dima and leave it on the server so other xServer (like xTour and xCluster) can use it. If you want to get the result you have to use the derived type CreateAndGetDistanceMatrixRequest as request. Keep in mind that CreateA...