settings for roads
Posted: Tue Feb 20, 2018 2:00 pm
I use the code as below in order to set the desire to use the road type.
In the documentation I read that these values are for the eight basic types of roads. Could you tell me name of this roads?(Urban etc ?)
Code: Select all
XElement BasicDataRules = new XElement("BasicDataRules", new XElement("Network",
new XElement("MalusByNetworkClass", new XAttribute("malus", malus[0])),
new XElement("MalusByNetworkClass", new XAttribute("malus", malus[1])),
new XElement("MalusByNetworkClass", new XAttribute("malus", malus[2])),
new XElement("MalusByNetworkClass", new XAttribute("malus", malus[3])),
new XElement("MalusByNetworkClass", new XAttribute("malus", malus[4])),
new XElement("MalusByNetworkClass", new XAttribute("malus", malus[5])),
new XElement("MalusByNetworkClass", new XAttribute("malus", malus[6])),
new XElement("MalusByNetworkClass", new XAttribute("malus", malus[7]))
));