Hey there again,
so, below my REQUEST for an example-Tour.
The code has been tested with RawRequestRunner [xServer2 / xRoute / SOAP / experimental].
I want to find out,
1. what toll-distance [km] results for each Country.
2. what toll-price [€] results for each toll-type [Road, Vignette, etc].
3. what driving-time [m] and rest-time [m] result.
Does anyone of you see how to change the REQUEST in order to find these information out?
Many thanks in advance:)
REQUEST (DE-Nagold > FR-Paris):
Code: Select all
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://xroute.xserver.ptvgroup.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<xs:calculateRoute>
<request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns3="http://xroute.xserver.ptvgroup.com" xsi:type="ns3:RouteRequest" scope="globalscope" storedProfile="default" coordinateFormat="EPSG:4326">
<requestProfile mapLanguage="de" userLanguage="de">
<vehicleProfile driveType="MOTOR_VEHICLE" numberOfTrailers="1">
<engine emissionStandardEU="EURO_6"/>
<weight totalPermittedWeight="40000.0"/>
<dimensions height="300.0" length="1540.0" width="250.0"/>
<axle axleLoad="3500.0" numberOfAxles="5"/>
<legalCondition isDelivery="true"/>
<load loadType="GOODS"/>
<speeds maximumSpeed="0.0">
<speedRangesByNetworkClass>
<maximumSpeeds>90.0</maximumSpeeds>
<maximumSpeeds>70.0</maximumSpeeds>
<maximumSpeeds>60.0</maximumSpeeds>
<maximumSpeeds>40.0</maximumSpeeds>
<maximumSpeeds>30.0</maximumSpeeds>
<maximumSpeeds>30.0</maximumSpeeds>
<maximumSpeeds>12.0</maximumSpeeds>
<maximumSpeeds>2.0</maximumSpeeds>
<minimumSpeeds>50.0</minimumSpeeds>
<minimumSpeeds>40.0</minimumSpeeds>
<minimumSpeeds>40.0</minimumSpeeds>
<minimumSpeeds>20.0</minimumSpeeds>
<minimumSpeeds>10.0</minimumSpeeds>
<minimumSpeeds>5.0</minimumSpeeds>
<minimumSpeeds>7.0</minimumSpeeds>
<minimumSpeeds>2.0</minimumSpeeds>
</speedRangesByNetworkClass>
</speeds>
</vehicleProfile>
<featureLayerProfile>
<themes id="PTV_TruckAttributes" enabled="true"/>
<themes id="PTV_RestrictionZones" enabled="true"/>
</featureLayerProfile>
<routingProfile>
<course distanceTimeWeighting="80.0">
<network rampPenalty="0">
<penaltiesByNetworkClass>
<penalties>0</penalties>
<penalties>0</penalties>
<penalties>0</penalties>
<penalties>0</penalties>
<penalties>15</penalties>
<penalties>50</penalties>
<penalties>100</penalties>
<penalties>100</penalties>
</penaltiesByNetworkClass>
</network>
<toll tollPenalty="0"/>
<specialAreas residentsOnlyPenalty="2500" urbanPenalty="0"/>
<combinedTransport boatPenalty="0"/>
<maneuver considerTurningBans="true"/>
</course>
</routingProfile>
<renderingProfile/>
</requestProfile>
<geometryOptions>
<responseGeometryTypes>PLAIN</responseGeometryTypes>
</geometryOptions>
<waypoints xsi:type="ns3:OnRoadWaypoint" name="0">
<location considerAlternativeNearByRoads="false">
<coordinate x="8.6742476651" y="48.522445726"/>
</location>
</waypoints>
<waypoints xsi:type="ns3:OnRoadWaypoint" name="1">
<location considerAlternativeNearByRoads="false">
<coordinate x="2.3413999257" y="48.857170093"/>
</location>
</waypoints>
<routeOptions routingType="CONVENTIONAL">
<timeConsideration xmlns:ns4="http://timeconsideration.xserver.ptvgroup.com" xsi:type="ns4:ExactTimeConsiderationAtStart" referenceTime="2021-05-21T15:40:00"/>
<geographicRestrictions/>
<polylineOptions elevations="false"/>
<emissionOptions/>
<tollOptions useDetailedToll="true"/>
<tourRestrictions/>
</routeOptions>
<resultFields waypoints="true" nodes="true" polyline="true" emissions="false" report="true" tourReport="true" encodedPath="false" guidedNavigationRoute="false" monetaryCosts="true">
<legs enabled="true" polyline="false" tollSummary="true" emissions="false"/>
<segments enabled="true" emissions="false" polyline="false" descriptors="false" roadAttributes="true"/>
<eventTypes>MANEUVER_EVENT</eventTypes>
<eventTypes>TOUR_EVENT</eventTypes>
<toll enabled="true" sections="true" />
</resultFields>
</request>
</xs:calculateRoute>
</soap:Body>
</soap:Envelope>
Best regards
Max Beermann