Skip to main content
Archived

Allow NeighborhoodAggregator to use an attribute for width and height

Related products:Transformers
  • November 14, 2016
  • 3 replies
  • 50 views

erik_jan
Contributor
Forum|alt.badge.img+26

I need to group objects with the same classification if they are close to each other.

But each class has its own value for the allowed distance.

That value is stored in an attribute.

I can group the features in the NeghborhoodAggregator, but can not use the attribute for width and height.

I would like the option to use an attribute added to this transformer.

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.

3 replies

jdh
Contributor
Forum|alt.badge.img+40
  • Contributor
  • November 18, 2016
What would happen if different features in your group have different values in the attributes? (ie bad data)

 

 


fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • November 19, 2016
If we did this, we'd have to say first-feature-in in each group wins. We may have done this a few places before. Is this a reasonable choice?

 

 


erik_jan
Contributor
Forum|alt.badge.img+26
  • Author
  • Contributor
  • November 21, 2016
In my case. all features in a group will have the same attribute value for Width and Height. The features are grouped by Class ("school", "Hospital" etc.) and this Class is used in an AttributeValueMapper to assign Width and Height.

 

But I can see the issue if the features would have different values. Then the best option would be taking it from the first feature in the group.