Solved! Go to Solution.
attr Solar_Potential = 0 //this will tell it to search the shapefile for the attribute called Solar_Potential, or if the values are non numerical use "" //Then add in the conidtional rule SolarPotentialColor = case Solar_Potential == 3 : ("#FF0000") case Solar_Potential == 2 : ("#FFCC00") else : ("#FFFFFF")
building--> color(SolarPotentialColor)
attr Solar_Potential = 0 //this will tell it to search the shapefile for the attribute called Solar_Potential, or if the values are non numerical use "" //Then add in the conidtional rule SolarPotentialColor = case Solar_Potential == 3 : ("#FF0000") case Solar_Potential == 2 : ("#FFCC00") else : ("#FFFFFF")
building--> color(SolarPotentialColor)
attr lineColor = "" # these double quotation marks are what you use for linking to a sting in the attribute tables.