xRoute1 vs. xRoute2: hazardousGoodsTypes
Posted: Tue May 19, 2020 8:15 am
Hi,
with xRoute1 we use the hazardousGoodsType to define restrictions.
For xRoute2 I didn’t find a detailed documentent. I only found some of the needed properties here: PTV_TruckAttributes
Therefore I tried to map the enum value names from xRoute1 to the hazardousGoodsType of xRoute2.
I tested the following values:
- HAZARDOUS (seems to work)
- HAZARDOUS_TO_WATERS (seems to work)
- COMBUSTIBLES (exception)
- COMBUSTIBLES_HAZARDOUS_TO_WATERS (seems to work)
The routing with hazardousGoodsType = COMBUSTIBLES causes the following exception: The parameter value is invalid because of restrictions in the feature layer.
Which string is the right value to define a restriction of type „COMBUSTIBLES“ in xRoute2?
Regards
Christopher
with xRoute1 we use the hazardousGoodsType to define restrictions.
For xRoute2 I didn’t find a detailed documentent. I only found some of the needed properties here: PTV_TruckAttributes
Therefore I tried to map the enum value names from xRoute1 to the hazardousGoodsType of xRoute2.
I tested the following values:
- HAZARDOUS (seems to work)
- HAZARDOUS_TO_WATERS (seems to work)
- COMBUSTIBLES (exception)
- COMBUSTIBLES_HAZARDOUS_TO_WATERS (seems to work)
The routing with hazardousGoodsType = COMBUSTIBLES causes the following exception: The parameter value is invalid because of restrictions in the feature layer.
Which string is the right value to define a restriction of type „COMBUSTIBLES“ in xRoute2?
Regards
Christopher