Skip to main content
Question

Number of Combinations

  • July 4, 2013
  • 4 replies
  • 46 views

Hi ,

 

I have 3 different attributes for buildings (roof type, wall type and age). I want to find the number of building(s) fall into every different combination of roof type, wall type and and age (e.g tile,brick,1980------>20  ). What would be easiest way to do it?

 

 

Cheers,

 

Engin
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

takashi
Celebrity
  • July 4, 2013
Hi Engin,

 

 

Several ways can be considered, I think that a combination of the AttributeAccumulator (Group By: roof type, wall type, age, List Name: _building) and

 

the ListElementCounter (List Attribute: _building{}) is a relatively quick solution. _element_count attribute of the output feature from the ListElementCounter will be the number of buildings of each group having same roof type, wall type and age.

 

 

Takashi

takashi
Celebrity
  • July 4, 2013
...the StatisticsCalculator transformer might be easier: Group By: roof type wall type age Attributes To Analyze: roof type, wall type or age (enough if you specify one of them)   Takashi

Hi Engin,

 

 

another approach would be the TestFilter. But here you need to set up all the test combinations...

 

 

Best regards,

 

Stefan

  • Author
  • July 4, 2013
AttributeAccumulator and ListElementCounter worked like a magic. 

 

 

Thank you Takashi !