Request for truck with hazardous goods xRoute v1.24
Posted: Fri May 06, 2022 11:11 am
Hello,
I am using xroute-x64-1.24.0.4
I am trying to request routes for trucks containing hazardous goods but I am failing to get the desired results.
The requests are generated indirectly (through a Quintiq application) but Ill do my best to describe what is happening.
I verified that I am able to request routes using different profiles configured in the xRoute/conf/profiles folder through .xml files.
Based on the default truckfast.xml profile I tried changing the xml file to indicate that hazardous goods are being used but my changes do not seem to have any effect.
the default truckfast profile has the following relevant part:
<Profile xmlns:ns2="http://www.ptv.de/com/ptvag/xserver/eng ... oidbaccess" parent="default">
<Common language="de" majorVersion="1" minorVersion="0"/>
<Routing majorVersion="2" minorVersion="0">
<Vehicle>
<Load loadType="GOODS"/>
</Vehicle>
</Routing>
</Profile>
Based on some googling and inspection of the XRouteProfile.xsd file I have changed the load complex element to:
<Load hazardousGoodsType='HAZARDOUS' loadType="GOODS"/>
However this gives me the same results for my requests as without the change. Based on additional testing it doesnt seem to matter what attribute name/enum value is filled in here, unknown ones seem to be ignored, hence I am guessing that this is not the correct way to specify in a profile that the truck contains hazardous goods. See also attatched for the full profile I am using which only contains the mentioned change based on the default truckfast profile.
Therefore my question is, how can I modify the default truckfast.xml profile such that ptv takes into account that a truck is carrying hazardous goods?
Thanks in advance!
I am using xroute-x64-1.24.0.4
I am trying to request routes for trucks containing hazardous goods but I am failing to get the desired results.
The requests are generated indirectly (through a Quintiq application) but Ill do my best to describe what is happening.
I verified that I am able to request routes using different profiles configured in the xRoute/conf/profiles folder through .xml files.
Based on the default truckfast.xml profile I tried changing the xml file to indicate that hazardous goods are being used but my changes do not seem to have any effect.
the default truckfast profile has the following relevant part:
<Profile xmlns:ns2="http://www.ptv.de/com/ptvag/xserver/eng ... oidbaccess" parent="default">
<Common language="de" majorVersion="1" minorVersion="0"/>
<Routing majorVersion="2" minorVersion="0">
<Vehicle>
<Load loadType="GOODS"/>
</Vehicle>
</Routing>
</Profile>
Based on some googling and inspection of the XRouteProfile.xsd file I have changed the load complex element to:
<Load hazardousGoodsType='HAZARDOUS' loadType="GOODS"/>
However this gives me the same results for my requests as without the change. Based on additional testing it doesnt seem to matter what attribute name/enum value is filled in here, unknown ones seem to be ignored, hence I am guessing that this is not the correct way to specify in a profile that the truck contains hazardous goods. See also attatched for the full profile I am using which only contains the mentioned change based on the default truckfast profile.
Therefore my question is, how can I modify the default truckfast.xml profile such that ptv takes into account that a truck is carrying hazardous goods?
Thanks in advance!