Search found 227 matches

by Joost
Wed May 12, 2021 7:37 am
Forum: PTV xTourServer
Topic: Tour does not use the full delivery opening interval
Replies: 4
Views: 4058

Re: Tour does not use the full delivery opening interval

I noticed in your example that you have the improvementStep turned off in the PlanningParams. When using time windows it is recommended to keep this step on.
by Joost
Mon May 03, 2021 12:22 pm
Forum: PTV xLocateServer
Topic: Accuracy of a request with a space in postCode
Replies: 3
Views: 5062

Re: Accuracy of a request with a space in postCode

Are you saying we're wasting our time with the the first attempt? No, but you need an extra step in your evaluation: When you get a result, check the detailLevelDescription. If that is set to EXTPOSTCODE, it means the result has been found in the additional postal code data and you can take this in...
by Joost
Wed Apr 21, 2021 11:51 am
Forum: PTV xTourServer
Topic: Dima calculation with multiple xTour workers
Replies: 5
Views: 4238

Re: Dima calculation with multiple xTour workers

I would suggest to give each worker it's own tenant id . See https://xserver.ptvgroup.com/fileadmin/files/PTV-COMPONENTS/DeveloperZone/Documents/xServer_public/manual/Default.htm#Use%20cases/xTour/DSC_Additional_Use_Cases.htm%3FTocPath%3DUse%2520Cases%7CPTV%2520xTour%7C_____4 (last paragraph). Summa...
by Joost
Tue Apr 20, 2021 8:27 am
Forum: PTV xLocateServer
Topic: Accuracy of a request with a space in postCode
Replies: 3
Views: 5062

Re: Accuracy of a request with a space in postCode

The map data we using for xLocate 1 does not have native support for full postal codes in the UK. So they are added in a later step using a different data provider. Unfortunately this data only contains postal code and centroid coordinate. So they can't be matched against the rest of the map. Our en...
by Joost
Thu Apr 15, 2021 11:35 am
Forum: Generic questions
Topic: Using curl for communications
Replies: 2
Views: 3326

Re: Using curl for communications

I'm not experienced with using curl, but going from the manual the command should be: curl-X POST -u xtok:<TOKEN> -H 'Content-Type: application/soap+xml;charset=utf-8' --data-binary @ '/........../PTV_TEST4.TXT' https://xserver2-europe-eu-test.cloud.ptvgroup.com/services/ws/XRoute Only thing I'm not...
by Joost
Tue Mar 30, 2021 6:50 am
Forum: PTV xRouteServer
Topic: Calculate route in javascript
Replies: 2
Views: 2141

Re: Calculate route in javascript

Your code is a call for xRoute 2 but the you are using xRoute 1. XServer 2 has a different API 1 then xServer 1. For some xServer 1 javascript example i would recommend to check the xServer 1 code same browser: https://svc-eu-h-test.cloud.ptvgroup.com/CodeSampleBrowser . It has been written in Javas...
by Joost
Tue Mar 23, 2021 1:32 pm
Forum: PTV xLocateServer
Topic: Search location param for region Europe
Replies: 6
Views: 6914

Re: Search location param for region Europe

We do have a list we internally use for creating high performance networks. It is a bit different then the github list. "AD", "AL", "AM", "AT", "AW", "AZ", "BA", "BE", "BG", "BL", "BY", &quo...
by Joost
Mon Mar 15, 2021 12:50 pm
Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=LNM)
Topic: How to specify endpoint address in JavaScript?
Replies: 1
Views: 6888

Re: How to specify endpoint address in JavaScript?

IIRC:

Code: Select all

var xroute = new XRouteClient("https://xserver2-europe-eu-test.cloud.ptvgroup.com/services/rs/XRoute/")
by Joost
Mon Feb 22, 2021 1:14 pm
Forum: PTV xRouteServer
Topic: Road cannot be accessed anymore
Replies: 3
Views: 2283

Re: Road cannot be accessed anymore

I don't have a direct answer to your question, but i do want to want to point out something more general: Please be aware that our maps have been recalibrated in 2019. See also http://devblog.ptvgroup.com/2018/07/19/new-static-speeds-faq-ptv-xserver/ . With this calibration also new profiles where r...
by Joost
Wed Jan 20, 2021 9:06 am
Forum: PTV xTourServer
Topic: Maximum Size of a Single Order on a Vehicle
Replies: 1
Views: 4053

Re: Maximum Size of a Single Order on a Vehicle

For height, length, width and weight you can make use of the LoadingArea feature. ON each order you can define the size via the TransportOrder.LoadingArea and each vehicle you can set limits that apply on a per order basis via the Vehicle.maxLoadingArea . If that does not suffice you need to resort ...