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.

calculateMatrixInfo error -3211

Postby letsdev_msidibe » Thu Oct 11, 2018 8:50 am

hello PTV Team,

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

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

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
Posts: 1
Joined: Tue Jun 05, 2018 10:55 am

Re: calculateMatrixInfo error -3211

Postby Bernd Welter » Thu Oct 11, 2018 9:13 am

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 Welter
Manager Technical Consulting & Requirement Engineering
Senior Technical Consultant Developer Components
PTV GROUP - Germany

Bernd at Youtube
User avatar
Bernd Welter
Site Admin
Posts: 1137
Joined: Mon Apr 14, 2014 10:28 am

Return to PTV xRouteServer