hello,
i'm trying to use caculateRoute on xRoute server, i'm using the version 1.24, and 2016 maps
my request is very simple it's just 2 waypoints, and always getting "cannot calculate route"
now here's how i'm thinking, if i'm doing anything wrong please tell me or tell me where i should be looking
- in the attached request file, i'm able to draw the 2 waypoints on the map
- the coordinates of the two waypoints are calculated using xLocate
==> so with these 2 facts in hand i can assume this is enough to say that the coordinates are correct
- out of these 2 waypoints i was able to create a tour using xTour and now i'm trying to draw the tour,
==> and this is what's not logical for me
xTour is able to create a tour but xRoute is not able to calculate the route, and also attached the response i'm getting, it's always stating cause nil
can anyone help me with this please
cannot calculate route (concerning leg 1)
-
- Posts: 24
- Joined: Wed Jan 31, 2018 1:15 pm
cannot calculate route (concerning leg 1)
- Attachments
-
- response.xml
- (1.04 KiB) Downloaded 300 times
-
- request3.xml
- (2.21 KiB) Downloaded 295 times
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: cannot calculate route (concerning leg 1)
Hello Ibrahim,
looks like the start waypoint causes an issue:
as you didn't specify the LinkingType property the engine applies the default value which is a NEXT_NODE.
By setting it to an explizit AUTO_LINKING it works on my local environment.
Please check this...
Best regards,
Bernd
PS: sorry for the late reply - I've overseen your post's notification mail
looks like the start waypoint causes an issue:
as you didn't specify the LinkingType property the engine applies the default value which is a NEXT_NODE.
By setting it to an explizit AUTO_LINKING it works on my local environment.
Please check this...
Best regards,
Bernd
PS: sorry for the late reply - I've overseen your post's notification mail
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...