xRoute Exception

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
KZsolt
Posts: 51
Joined: Fri Oct 03, 2014 1:19 pm

xRoute Exception

Post 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
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xRoute Exception

Post 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
KZsolt
Posts: 51
Joined: Fri Oct 03, 2014 1:19 pm

Re: xRoute Exception

Post 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!
Post Reply