Route calculation time
Posted: Tue May 11, 2021 8:29 am
Calculate route with 6 waypoints takes 10 seconds. Is it normal time or we need to change something in server configuration or in sended request?
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<calculateRoute xmlns="http://xroute.xserver.ptvgroup.com">
<request xmlns="">
<requestProfile>
<vehicleProfile driveType="MOTOR_VEHICLE">
<engine />
<weight />
<dimensions />
<legalCondition isDelivery="false" />
<load />
</vehicleProfile>
<featureLayerProfile>
<themes id="PTV_TruckAttributes" enabled="true" />
</featureLayerProfile>
<routingProfile>
<course distanceTimeWeighting="30" />
</routingProfile>
</requestProfile>
<geometryOptions>
<responseGeometryTypes>PLAIN</responseGeometryTypes>
</geometryOptions>
<waypoints xmlns:q1="http://xroute.xserver.ptvgroup.com" xsi:type="q1:OnRoadWaypoint">
<location>
<coordinate x="19.265819599" y="50.358009298" />
</location>
</waypoints>
<waypoints xmlns:q2="http://xroute.xserver.ptvgroup.com" xsi:type="q2:OnRoadWaypoint">
<location>
<coordinate x="19.095579163" y="50.258018503" />
</location>
</waypoints>
<waypoints xmlns:q3="http://xroute.xserver.ptvgroup.com" xsi:type="q3:OnRoadWaypoint">
<location>
<coordinate x="20.731729497" y="52.375209841" />
</location>
</waypoints>
<waypoints xmlns:q4="http://xroute.xserver.ptvgroup.com" xsi:type="q4:OnRoadWaypoint">
<location>
<coordinate x="19.171760486" y="50.3043213" />
</location>
</waypoints>
<waypoints xmlns:q5="http://xroute.xserver.ptvgroup.com" xsi:type="q5:OnRoadWaypoint">
<location>
<coordinate x="18.695640604" y="50.276458731" />
</location>
</waypoints>
<waypoints xmlns:q6="http://xroute.xserver.ptvgroup.com" xsi:type="q6:OnRoadWaypoint">
<location>
<coordinate x="16.238300277" y="49.529289214" />
</location>
</waypoints>
<routeOptions currency="PLN">
<timeConsideration xmlns:q7="http://timeconsideration.xserver.ptvgroup.com" xsi:type="q7:ExactTimeConsiderationAtArrival" referenceTime="2021-05-11T10:15:58.6398915+02:00" />
<polylineOptions elevations="true" />
<tollOptions returnZeroCosts="true" />
<monetaryCostOptions costPerKilometer="10" workingCostPerHour="40" />
</routeOptions>
<resultFields waypoints="true" nodes="true" polyline="true" monetaryCostsReport="true">
<toll enabled="true" sections="true" systems="true" />
</resultFields>
</request>
</calculateRoute>
</s:Body>
</s:Envelope>