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
Influence the endpont xRoute chooses at crossing roads?
-
- Posts: 3
- Joined: Thu May 19, 2016 10:10 am
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Influence the endpont xRoute chooses at crossing roads?
Hello Vincent,
how about using the following part of the profile snippet? The Attribute Routing / Waypoint / LinkTypeConfiguration / Road / @minimumNetworkClass?
http://xserver.ptvgroup.com/fileadmin/f ... s%7C_____0
Best regards Bernd
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>
Best regards Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
-
- Posts: 3
- Joined: Thu May 19, 2016 10:10 am
Re: Influence the endpont xRoute chooses at crossing roads?
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
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
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Influence the endpont xRoute chooses at crossing roads?
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
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
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
-
- Posts: 3
- Joined: Thu May 19, 2016 10:10 am
Re: Influence the endpont xRoute chooses at crossing roads?
Ok, We will stay up to date then and watch out for new linking possibilities.
Best regards,
Vincent
Best regards,
Vincent
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Influence the endpont xRoute chooses at crossing roads?
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
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
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Influence the endpont xRoute chooses at crossing roads?
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.
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
the customer could also try the HEADING parameter but in this case he has to know the proper direction of the desired street.
- http://xserver.ptvgroup.com/fileadmin/f ... %7C_____88
- Furthermore you have to set the parameter LinkTypeConfiguration/Road/@headingTolerance to a proper value
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
- http://xserver.ptvgroup.com/fileadmin/f ... %7C_____11
- AUTO_LINKING also offers some profile parameters by the LinkTypeConfiguration/Smart
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...