Page 1 of 1

Influence the endpont xRoute chooses at crossing roads?

Posted: Mon Jul 04, 2016 12:46 pm
by vincenthoutgraaf
Hi,

We experience issues when two roads cross each other, one above the other, without any connections between the two. When the endpoint is exactly on the crossing point it is uncertain which road xRoute will choose to connect to.

Is there a way to influence this behaviour? Is it maybe possible in a xRoute vehicleprofile to set values in such a way that the endpoint of a calculated route will have a preference for the highest classed road available at that point?

For us it might even work if we could set different values for maximumNetworkClass for start and end point, because the endpoint is always on main roads in our use case.

Thanks in advance,
Vincent

Re: Influence the endpont xRoute chooses at crossing roads?

Posted: Thu Jul 07, 2016 1:50 pm
by Bernd Welter
Hello Vincent,

how about using the following part of the profile snippet? The Attribute Routing / Waypoint / LinkTypeConfiguration / Road / @minimumNetworkClass?
Link only to roads with network class greater than or equal to this network class. Usually, a route does not start or end on a freeway. Choose a value > 0 to avoid linking to freeway segments.

Code: Select all

<LinkTypeConfiguration>
  <Road headingTolerance="360" maximumDistanceForNetworkClass0="100" maximumNetworkClass="7" minimumNetworkClass="0" onlyReachableRoads="true">{0,1}</Road>
  <Smart checkNetworkClassOnlyForVias="true" maximumDistanceToMainNode="100" maximumDistanceToMainNodeForNetworkClass0="1500">{0,1}</Smart>
  <TollStation maximumDistance="1000">{0,1}</TollStation>
  <RoadName maximumDistance="3000" maximumDistanceToMainNode="2000">{0,1}</RoadName>
</LinkTypeConfiguration>
http://xserver.ptvgroup.com/fileadmin/f ... s%7C_____0

Best regards Bernd

Re: Influence the endpont xRoute chooses at crossing roads?

Posted: Fri Jul 08, 2016 2:27 pm
by vincenthoutgraaf
Hello Bernd,

Thanks for your reply.

Unfortunately, that does not work well enough in our apparently special use case. The starting point of a route will often be on a residential road or lower graded, while the end point will always be on roads of networkclass 0, 1 or 2. In general: the road with the end point will have a different networkclass than the starting point.

There is no way to indicate a preference for just the end point of a route for a road with a certain networkclass?

Best regards, Vincent

Re: Influence the endpont xRoute chooses at crossing roads?

Posted: Fri Jul 08, 2016 6:11 pm
by Bernd Welter
Unfortunately this is a lack of flexibilty - there you are right.
But with the future versions of routing we will add some more new linking styles, maybe one of them helps you to satisfy your needs. I've witnessed those approaches and they enable us to implement new usecases!

Best regards Bernd

Re: Influence the endpont xRoute chooses at crossing roads?

Posted: Mon Jul 11, 2016 8:15 am
by vincenthoutgraaf
Ok, We will stay up to date then and watch out for new linking possibilities.

Best regards,
Vincent

Re: Influence the endpont xRoute chooses at crossing roads?

Posted: Mon Jul 11, 2016 11:51 am
by Bernd Welter
Hello Vincent,

some colleagues of the DEV department mentioned that using the HEADING parameter could also be an option in your case. We improved our own webbased products such as PTV Drive&Arrive by using this parameter because sometimes we assigned the GPS positions to the wrong street.

Best regards Bernd

Re: Influence the endpont xRoute chooses at crossing roads?

Posted: Thu Jul 14, 2016 7:28 am
by Bernd Welter
Here is another statement from DEV:

the customer could also try the HEADING parameter but in this case he has to know the proper direction of the desired street.
Major crossings are part of our data and labelled as so-called MAIN NODES. With the mode LinkType.NEXT_MAIN_NODE waypoints are linked to such nodes only.

AUTO_LINKING is a combination of regular segments and something similar to NEXT_MAIN_NODE. Probably the streets you refer to are not always MAIN_NODES Best regards Bernd