Page 1 of 1

Border Crossings

PostPosted: Mon Jan 07, 2019 2:43 pm
by Max Beermann
Hello there,

using xroute > it is possible to get all the routed coordinates (ResultListOptions: polygon="true").

Is there a chance to get the coordinates of the border crossings?

For example: D > (NL) > B

iuCode: 49 / Start: -------- / End: lat;lng
iuCode: 33 / Start: lat;lng / End: lat;lng
iuCode: 32 / Start: lat;lng / End: -------

Thank you very much in advance

Re: Border Crossings

PostPosted: Mon Jan 07, 2019 2:56 pm
by Bernd Welter
Hello Max,

how about the Manoeuvres list?
Watch out for the BORDER-Manoeuvres. They link to the segments you might be looking for. And the segments coordinates are available via the reference to polygon points
Coordinates of the border manoeuvres are displayed in the map

Does this answer your question?

Best regards,

Re: Border Crossings

PostPosted: Thu Jan 10, 2019 1:33 pm
by Max Beermann
Hey Bernd,

sorry > I am having problems to get the solution.

According to your example:

How can I find out the coordinates of the first border-crossing?

I do not know how to refer to the coordinates I receive ( the 1277th planpoint [lat/lng] > ?).

Maybe you know what I am doing wrong?

Code: Select all
<soap:Envelope xmlns:soap="">
    <calculateAdvancedTour xmlns="">
        <ns6:WaypointDesc xmlns:ns6="" xmlns:xsi="" xsi:type="ns6:TourPointDesc" completeServiceInIntervals="true" useServicePeriodForRecreation="false" servicePeriod="100" fuzzyRadius="0" linkType="NEXT_SEGMENT">
            <ns3:Point xmlns:ns3="">
              <ns3:point y="6704772.0515" x="788716.73418" />
          <ns6:wrappedSegmentID xsi:nil="true" />
          <ns6:wrappedOpeningIntervals />
        <ns6:WaypointDesc xmlns:ns6="" xmlns:xsi="" xsi:type="ns6:TourPointDesc" completeServiceInIntervals="true" useServicePeriodForRecreation="false" servicePeriod="300" fuzzyRadius="0" linkType="NEXT_SEGMENT">
            <ns3:Point xmlns:ns3="">
              <ns3:point y="6636135.4182" x="146527.11459" />
          <ns6:wrappedSegmentID xsi:nil="true" />
          <ns6:wrappedOpeningIntervals />
      <TourOptions_2 restrictToSingleOperatingInterval="false" />
        <ns6:RoutingOption xmlns:ns6="" value="41" parameter="EXCLUDE_COUNTRIES" />
        <ns6:RoutingOption xmlns:ns6="" value="80" parameter="OPTIMIZATION" />
        <ns6:RoutingOption xmlns:ns6="" value="90,50,70,40,60,40,40,20,30,10,20,5,6,6,1,1" parameter="SPEED_PROFILE" />
        <ns6:ExceptionPath xmlns:ns6="" street="[Mülheimer Brücke]/[Leverkusener Brücke]/[Zoobrücke]/[Deutzer Brücke]/[Autoroute des Estuaires/A16/E15/E40] /[Autoroute des Estuaires] / [Rond-Point des Sapins] / [Harbour Approach Road] / [Leopold II-Dam] / [Ramp B] / [Hoek van Holland-Harwich] / [Havennummer 5800-6200] " relMalus="2501" extSegments="" binaryPathDesc="" absTimeMalus="0">
          <ns6:wrappedNodes xmlns:xsi="" xsi:nil="true" />
      <ResultListOptions_5 binaryPathDesc="true" totalRectangle="false" boundingRectanglesOffset="300" boundingRectanglesC="5" tollManoeuvres="true" manoeuvreGroupRatio="1.0" manoeuvreGroups="true" urbanManoeuvres="true" brunnelManoeuvres="true" manoeuvreAttributes="true" segmentAttributes="true" segments="true" dynamicInfo="false" detailLevel="STANDARD" polygon="true" nodes="true" texts="true" manoeuvres="true" />
      <CountryInfoOptions_6 xmlns:xsi="" xsi:type="ns6:CountryInfoVehicleOptions" calculatePartTollCosts="true" allEuro="true" detailedTollCosts="true" tollDate="2019-01-11T16:00:00+02:00">
        <ns6:wrappedOptions xmlns:ns6="">
          <ns6:VehicleOption value="TRL" parameter="TYPE" />
          <ns6:VehicleOption value="35000" parameter="TOTAL_WEIGHT" />
          <ns6:VehicleOption value="5" parameter="NUMBER_OF_AXLES" />
          <ns6:VehicleOption value="EURO_6" parameter="EMISSION_CLASS" />
        <ns2:wrappedProperties xmlns:ns2="">
          <ns2:CallerContextProperty value="PLAIN" key="ResponseGeometry" />
          <ns2:CallerContextProperty value="PTV_MERCATOR" key="CoordFormat" />
          <ns2:CallerContextProperty value="truckfast" key="Profile" />

Best regards

Re: Border Crossings

PostPosted: Thu Jan 10, 2019 3:37 pm
by Bernd Welter
Hello max,

check the arrays - the poilygon ontains the coordinates.
The segments refer to the polygon.
The Manoeuvres refer to the segments. ... ation.html#com.ptvag.xserver.xroute.Route%3FTocPath%3DDeveloper's%2520Guide%7CAPI%2520Documentation%7CAPI%2520Documentation%2520PTV%2520xRoute%7CComponent%2520xroute%7CClasses%7C_____60

Best regards,