Skip to main content
Open

DuplicateFilter remove other Attributes

Related products:Transformers
sijmensp
danilo_fme
revesz
pflegpet
j.joksch
+3
  • sijmensp
    sijmensp
  • danilo_fme
    danilo_fme
  • revesz
    revesz
  • pflegpet
    pflegpet
  • j.joksch
    j.joksch
  • mark2atsafe
    mark2atsafe
  • tkaufmann
    tkaufmann
  • lordvoldi
    lordvoldi

pflegpet
Contributor

I often use the DuplicateFilter to get a quick list of unique attribute values for a specific attribute. For this use case all other attributes that are still present after the DuplicateFilter are not needed and to see the desired result, you either have to remove the superfluous attributes with another transformer like the AttributeKeeper or hide them in the visual preview. 

That’s why I suggest to add the option to remove unselected attributes to the DuplicateFilter.

Remark: I’m aware, that you can already get a similar result with the Aggregator, but if a feature geometry is present all input geometries would have to be processed allthough they are not needed for the above use case.

2 replies

bwn
Evangelist
Forum|alt.badge.img+26
  • Evangelist
  • August 17, 2024

Noting as you’ve pointed out that one of AttributeKeeper’s main functions is to reset the Schema for any Transformer Output Features.   This “could” be accomplished with an in-workspace Custom Transformer.

But yes…...I use a LOT of AttributeKeepers with DuplicateFilter to make the output Schema be single attribute features.  Typically for the Right Hand Side of a subsequent FeatureJoiner.


LizAtSafe
Safer
Forum|alt.badge.img+15
  • Safer
  • September 10, 2024
NewOpen

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings