AnsweredAssumed Answered

Multiplying Attributes

Question asked by mountainlover on Feb 24, 2017
Latest reply on Feb 25, 2017 by mountainlover

I would just like to multiply 2 attributes together.

I need some help because I'm apparently doing something wrong.


//First, I am defining an attribute which is linked to the initial shape's area attribute from the imported Shapefile:

attr SHAPE_Area = ""



//Then I am setting the maximum coverage permitted in the zoning by-law:

attr maxCoverage = 0.65


//And I simply want to generate the maximum building footprint area by multiplying these two attributes together, like this:

attr buildingFootprint = maxCoverage * SHAPE_Area


I am just not sure what the correct syntax is to do this.  I am getting this error:

No such function: float *(a:float,b:str)
Unused function:buildingFootprint


Any help would be appreciated.