Hi All, will it be possible to define the Layer attributes from a calculation of the shape attributes + the definition of the object attributes?
Let’s say I have 3 street types: major, minor and local. I can easily create a link between the Object attributes and the layer attributes:
attr StreetType = getObjectAttr("type",false)
attr streetWidth =
case StreetType == "MAJOR" : 24
case StreetType == "MINOR" : 13
case StreetType == "LOCAL" : 5.7
else : 10
But it’s not always that the Major road is exactly 24, that is defined by a combination of attributes set in the shape attributes Bike lane width Median width and such.
So at the end it will be something like in case the StreetType is MAJOR calculate these 6 shape attributes to get the street width