calculateMatrixInfo error -3211

This forum deals with any kind of routing computation whether it is simple A:B-routing, calculation of isochrones, simple matrix computation or nearest search.
Post Reply
letsdev_msidibe
Posts: 1
Joined: Tue Jun 05, 2018 10:55 am

calculateMatrixInfo error -3211

Post by letsdev_msidibe »

hello PTV Team,

When calculating matrixInfo between the start location and destination locations we get the error code -3211.

Parameters:
ncFilter = [1, 1, 1, 1, 0, 0]
WaypointDesc[] startWPs = [x=5.8908717034;y=49.535113549;z=null]
WaypointDesc[] destWPs= [ x=5.89034;y=49.5287;z=zero
x=5.89961;y=49.52074;z=zero
x=5.89108;y=49.53391;z=null]

matrixInfo = xRouteClient.calculateMatrixInfo(startWPs, destWPs, options, matrixOptions)

PS: recently we changed licenses and we got the license from Luxembourg. Maybe do we need to check something on xRoute server configuration?



** we also get this error message when try to plan a route

{errorMessage: "linking to waypoint (zero-based index list: 0,1) failed", errorKey: "2530", exceptionType: "com.ptvag.xserver.xroute.XRouteException"}
errorKey: "2530"
errorMessage: "linking to waypoint (zero-based index list: 0,1) failed"
exceptionType: "com.ptvag.xserver.xroute.XRouteException"
__proto__: Object



Thanks for your help!

Best regards
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: calculateMatrixInfo error -3211

Post by Bernd Welter »

Hello there,

in the meantime we analysed the topic offline. The issue was caused by a simple misconfiguration:
After a server update the map path wasn't set to the proper map directory and therefore the LUX dummy map was used.
As the involved coordinates were located outside LUX the server returned with the error messages which was absolutely understandeable.

Best regards,
Bernd
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... :twisted:
Post Reply