Page 1 of 1

xRoute Exception

Posted: Tue Jul 14, 2015 8:44 am
by KZsolt
Helo guys!

Could you please tell me what can cause the following exception when planning with xRoute:
linking to waypoint (zero-based index list: 0) failed
-The waypoint list is filled for sure :), so what else could be the issue?

Thank you,
Zsolt

Re: xRoute Exception

Posted: Tue Jul 14, 2015 9:00 am
by Bernd Welter
Hello Zsolt,

this message refers to step #1 in routing:

Assigning a waypoint coordinate to the street network. If no valid street segment is found within LINKINGRADIUS around the waypoint coordinate you get this error. The LINKING RADIUS is a parameter described in the following part of a routing profile:

Code: Select all

<Waypoint linkType="ROAD" maximumDistanceToSegment="500" maximumDistanceToCombinedTransport="100">
      <LinkTypeConfiguration>
        <Road maximumDistanceForNetworkClass0="100" onlyReachableRoads="true" minimumNetworkClass="0" maximumNetworkClass="7" headingTolerance="360" />
        <Smart maximumDistanceToMainNode="100" maximumDistanceToMainNodeForNetworkClass0="1500" checkNetworkClassOnlyForVias="true" />
        <TollStation maximumDistance="1000" />
        <RoadName maximumDistance="3000" maximumDistanceToMainNode="2000" />
      </LinkTypeConfiguration>
    </Waypoint>
In this example the routing will fail if the WaypointDesc is located further away from the street network than 500 meters (maximumDistanceToSegment). This happens e.g. in the proximity of pedestrian zones or on the country side.

Linking itself is achieved by one of the following strategies:
http://xserver.ptvgroup.com/fileadmin/f ... e.LinkType

There is also another thread that refers to linking errors:
http://xserver.ptvgroup.com/forum/viewt ... ?f=7&t=169

Best regards Bernd

Re: xRoute Exception

Posted: Tue Jul 14, 2015 10:33 am
by KZsolt
Hey!

Yeah I've already adjusted the linking radius paramteres, I thought the "zero-based index list: 0" refers to a different issue. :)

Thanks Bernd!