Hello,
I just made some test yesterday, so I can add some information:
1. I create a DIMA with xDima:
important: the dimaCoordFormat is equal to GEODECIMAL.
Code: Select all
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<createDima xmlns="http://types.xdima.xserver.ptvag.com" xmlns:ns2="http://baseservices.service.jabba.ptvag.com" xmlns:ns3="http://wrappertypes.service.jabba.ptvag.com" xmlns:ns4="http://xdima.xserver.ptvag.com" xmlns:ns5="http://exception.core.jabba.ptvag.com" xmlns:ns6="http://common.xserver.ptvag.com">
<int_1>34</int_1>
<DimaProfile_2 optimization="90" speedTable="135,70,125,35,85,25,60,25,50,20,40,18,16,9,6,4" routingType="RT1TON" linkType="LTSEGMENT" dimaCoordFormat="GEODECIMAL" vehicleType="VTTRUCK" description="MyDima"/>
<CallerContext_3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
</createDima>
</soap:Body>
</soap:Envelope>
2. I add some dist/period with the following request:
Code: Select all
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<setDistPeriod xmlns="http://types.xdima.xserver.ptvag.com" xmlns:ns2="http://baseservices.service.jabba.ptvag.com" xmlns:ns3="http://wrappertypes.service.jabba.ptvag.com" xmlns:ns4="http://xdima.xserver.ptvag.com" xmlns:ns5="http://exception.core.jabba.ptvag.com" xmlns:ns6="http://common.xserver.ptvag.com">
<int_1>34</int_1>
<ArrayOfRelationValue_2>
<ns4:RelationValue>
<ns4:distPeriod period="8000" dist="8500"/>
<ns4:relation>
<ns4:destinationLocation y="4898950" x="220537"/>
<ns4:startLocation y="4860375" x="258130"/>
</ns4:relation>
</ns4:RelationValue>
<ns4:RelationValue>
<ns4:distPeriod period="9000" dist="950"/>
<ns4:relation>
<ns4:destinationLocation y="4860375" x="258130"/>
<ns4:startLocation y="4898950" x="220537"/>
</ns4:relation>
</ns4:RelationValue>
</ArrayOfRelationValue_2>
<CallerContext_3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
</setDistPeriod>
</soap:Body>
</soap:Envelope>
3. I try to plan a basic tour with the following request:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header />
<env:Body>
<ns8:planBasicTours xmlns:ns8="http://types.xtour.xserver.ptvag.com" xmlns:ns2="http://exception.core.jabba.ptvag.com" xmlns:ns3="http://wrappertypes.service.jabba.ptvag.com" xmlns:ns4="http://common.xserver.ptvag.com" xmlns:ns5="http://baseservices.service.jabba.ptvag.com" xmlns:ns6="http://xroute.xserver.ptvag.com" xmlns:ns7="http://xtour.xserver.ptvag.com">
<ns8:ArrayOfTransportOrder_1>
<ns7:TransportOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns7:TransportAB" trailerLoadingForbidden="false" id="1" priority="9" productId="9">
<ns7:quantities>
<ns7:wrappedQuantities>
<ns3:Int>300000</ns3:Int>
<ns3:Int>0</ns3:Int>
</ns7:wrappedQuantities>
</ns7:quantities>
<ns7:transportPointA allowServiceSplit="false" coDriverRequired="false" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="1" tourSection="0" useServicePeriodForRecreation="false" id="3" siteId="1" uploadingFunctionId="1">
<ns7:location>
<ns4:point x="258130" y="4860375" />
</ns7:location>
<ns7:wrappedOpeningIntervals>
<ns7:Interval from="1476662400" till="1476748800" />
</ns7:wrappedOpeningIntervals>
</ns7:transportPointA>
<ns7:transportPointB allowServiceSplit="false" coDriverRequired="false" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="1" tourSection="0" useServicePeriodForRecreation="false" id="4" siteId="2" unloadingFunctionId="2">
<ns7:location>
<ns4:point x="220537" y="4898950" />
</ns7:location>
<ns7:wrappedOpeningIntervals>
<ns7:Interval from="1476691200" till="1476698400" />
</ns7:wrappedOpeningIntervals>
</ns7:transportPointB>
</ns7:TransportOrder>
</ns8:ArrayOfTransportOrder_1>
<ns8:ArrayOfDepot_2>
<ns7:Depot id="7">
<ns7:location>
<ns4:point x="258130" y="4860375" />
</ns7:location>
<ns7:wrappedOpeningIntervals />
</ns7:Depot>
<ns7:Depot id="8">
<ns7:location>
<ns4:point x="258130" y="4860375" />
</ns7:location>
<ns7:wrappedOpeningIntervals />
</ns7:Depot>
</ns8:ArrayOfDepot_2>
<ns8:Fleet_3>
<ns7:wrappedVehicles>
<ns7:Vehicle id="2" ignoreIntermediatePeriodBeforeFirstTour="false" dimaId="34" ignoreTransportPointServicePeriod="false" isPreloaded="false" toursMustFitIntoSingleOperatingInterval="true" depotIdEnd="8" depotIdStart="8">
<ns7:wrappedOperatingIntervals>
<ns7:Interval from="1476673200" till="1476727200" />
</ns7:wrappedOperatingIntervals>
<ns7:capacities>
<ns7:wrappedCapacities>
<ns7:Quantities>
<ns7:wrappedQuantities>
<ns3:Int>3100000</ns3:Int>
<ns3:Int>2000000</ns3:Int>
</ns7:wrappedQuantities>
</ns7:Quantities>
</ns7:wrappedCapacities>
</ns7:capacities>
<ns7:costs costsPerChain="30.0" costsPerHourDriverOnly="0.0" costsPerHourWithCoDriver="0.0" costsPerKm="30.0" fixedCosts="0.0" />
</ns7:Vehicle>
</ns7:wrappedVehicles>
</ns8:Fleet_3>
<ns8:PlanningParams_4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns7:StandardParams" constructionStep="true" endSequencingStep="true" improvementStep="true" maximumNumberOfUnscheduledOrdersToBeAnalyzed="2" middleSequencingStep="true" tourReductionStep="true" coDriverTransportPointsInSeparateTours="false">
<ns7:wrappedDistanceMatrixCalculation>
<ns7:DistanceMatrixCalculation xsi:type="ns7:DistanceMatrixByRoad" deleteAfterUsage="false" deleteBeforeUsage="false" dimaId="34"/>
</ns7:wrappedDistanceMatrixCalculation>
<ns7:wrappedLoadingFunctions>
<ns7:LoadingFunction fixedPeriod="0" fixedSitePeriod="599" id="1">
<ns7:quantityDependentPeriods>
<ns7:wrappedSecondsPerQuantityUnit>
<ns3:Double>6.363636363636363E-4</ns3:Double>
<ns3:Double>0.0</ns3:Double>
</ns7:wrappedSecondsPerQuantityUnit>
</ns7:quantityDependentPeriods>
</ns7:LoadingFunction>
<ns7:LoadingFunction fixedPeriod="0" fixedSitePeriod="599" id="2">
<ns7:quantityDependentPeriods>
<ns7:wrappedSecondsPerQuantityUnit>
<ns3:Double>6.363636363636363E-4</ns3:Double>
<ns3:Double>0.0</ns3:Double>
</ns7:wrappedSecondsPerQuantityUnit>
</ns7:quantityDependentPeriods>
</ns7:LoadingFunction>
<ns7:LoadingFunction fixedPeriod="0" fixedSitePeriod="599" id="4">
<ns7:quantityDependentPeriods>
<ns7:wrappedSecondsPerQuantityUnit>
<ns3:Double>6.363636363636363E-4</ns3:Double>
<ns3:Double>0.0</ns3:Double>
</ns7:wrappedSecondsPerQuantityUnit>
</ns7:quantityDependentPeriods>
</ns7:LoadingFunction>
</ns7:wrappedLoadingFunctions>
<ns7:wrappedProductIncompatibilities />
<ns7:goalImportance chainPeriodRank="1" tourCountRank="1" tourDistanceRank="1" tourDrivingPeriodRank="1" tourPeriodRank="1" unplannedOrdersRank="3" vehicleCountRank="3" />
</ns8:PlanningParams_4>
<ns8:CallerContext_6 log1="" log2="" log3="">
<ns5:wrappedProperties>
<ns5:CallerContextProperty key="CoordFormat" value="PTV_GEODECIMAL" />
<ns5:CallerContextProperty key="ResponseGeometry" value="PLAIN" />
<ns5:CallerContextProperty key="Profile" value="default" />
</ns5:wrappedProperties>
</ns8:CallerContext_6>
</ns8:planBasicTours>
</env:Body>
</env:Envelope>
and the xTour add new locations in the DIMA!!!
Why, all the locations are already in the DIMA and the coordFormat is the same: GEODECIMAL/PTV_GEODECIMAL.
If I export the DIMA, I can see
1. The locations I add with xDima, the coordFormat is GEODECIMAL
2. The new locations added by xTour and the coordFormat is SMARTUNITS
So the DIMA created by xTour must contains only SMARTUNITS?
how I can force xTour to use PTV_GEODECIMAL in the DIMA?
Why I can parameter the coordFormat in xDima if I can't use the same in xTour?
In the file dima.ini, generated by xDima, there is the coordFormat:
this parameter is not used by xTour, why?
In the file dima.ini, generated by xTour, there is the same parameter coordFormat:
What is it possible to do to force xTour to use this parameter?
Regards,
François