Guest User

Untitled

a guest
Jan 16th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. var grossFloorArea = 0;
  2. for (var building in buildingFootprints){
  3. var floors = IIF(building.FLOORCOUNT == 0, 1, building.FLOORCOUNT);
  4. // multiply the square footage of the footprint by the number of floors
  5. grossFloorArea += ( AreaGeodetic( Intersection(building, $feature), 'square-feet') * floors );
  6. }
Add Comment
Please, Sign In to add comment