Page 1 of 1

calculateMatrixInfo error -3211

Posted: Thu Oct 11, 2018 8:50 am
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

Re: calculateMatrixInfo error -3211

Posted: Thu Oct 11, 2018 9:13 am
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