Page 1 of 1

New feature in xRoute: intersectingLine as ExceptionPath

Posted: Wed Mar 02, 2016 7:56 am
by Bernd Welter
Hello together,

we are about to release the 1.22 servers and I already made some enhancements in my WKTC (=Welter known Test Clients) such as xRouteToll. Here is just a screenshot of one of those features: it is a new option of how to define blockings of streets with an Exception Path: it is called an intersectingLine:
intersectingLine LineString
A representation of a route path containing all segments that are crossed by the given intersecting line which is represented by exactly two points (optional)
Image on the left shows the standard route which is not taking care of the intersecting line. The picture on the right is based on a 2501-malus being applied to the line.
Image on the left shows the standard route which is not taking care of the intersecting line. The picture on the right is based on a 2501-malus being applied to the line.
Feedback welcome,
enjoy the rest of the week!

Bernd

Re: New feature in xRoute: intersectingLine as ExceptionPath

Posted: Wed Jun 22, 2016 1:47 pm
by qsku
Hi Bernd,
this is exactly what I'm looking for :)
How to get it worked in xServer .NET client?
Do you have a code example?
Can I already achieve this functionality using your server at https://xroute-eu-n-test.cloud.ptvgroup.com ?

qsku

Re: New feature in xRoute: intersectingLine as ExceptionPath

Posted: Sun Jun 26, 2016 7:49 am
by Bernd Welter
Hello Marcin,

here is an XML fragment that describes this parameter (implemented with 1.22.0.0)
Feature: A straight line can be used as exception path affecting all intersected segments of the map (e.g. to block them for the routing calculation).
https://svc-eu-n.cloud.ptvgroup.com/Inf ... rInfo.ashx and therefore available on the cluster.

Code: Select all

<ArrayOfExceptionPath_3>
 <ExceptionPath absTimeMalus="0" binaryPathDesc="" extSegments="" relMalus="2501" street="" xmlns="http://xroute.xserver.ptvag.com">
    <intersectingLine>
       <kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
       <lineString xmlns="http://common.xserver.ptvag.com">
          <wrappedPoints>
             <PlainPoint x="668425" y="6350326" />
             <PlainPoint x="1276464" y="6467100" />
          </wrappedPoints>
       </lineString>
    </intersectingLine>
    <wrappedNodes xsi:nil="true" />
    <polyline xsi:nil="true" />
 </ExceptionPath>
</ArrayOfExceptionPath_3>
WIth a relative malus of 2501 the segments crossed by the line are banned.

Best regards Bernd
The routing polygon performs a detour around the critical line.
The routing polygon performs a detour around the critical line.