Skip to main content
Open

DuplicateFilter remove other Attributes

Related products:Transformers
verticalmeadows
jmccaughan
ztuck
rylanatsafe
siennaatsafe
+42
  • verticalmeadows
    verticalmeadows
  • jmccaughan
    jmccaughan
  • ztuck
    ztuck
  • rylanatsafe
    rylanatsafe
  • siennaatsafe
    siennaatsafe
  • LizAtSafe
    LizAtSafe
  • nathanatsafe
    nathanatsafe
  • fmelizard
    fmelizard
  • david_r
    david_r
  • redgeographics
    redgeographics
  • virtualcitymatt
    virtualcitymatt
  • hkingsbury
    hkingsbury
  • geomancer
    geomancer
  • danilo_fme
    danilo_fme
  • sigtill
    sigtill
  • warrendev
    warrendev
  • vxn43
    vxn43
  • oscard
    oscard
  • runneals
    runneals
  • birgit
    birgit
  • lars_de_vries
    lars_de_vries
  • kennyo
    kennyo
  • chriswilson
    chriswilson
  • tb09114
    tb09114
  • milo89
    milo89
  • matthieuv
    matthieuv
  • brian.kratcha
    brian.kratcha
  • nordpil
    nordpil
  • r5
    r5
  • traitortots
  • bush_walker
    bush_walker
  • mikev
    mikev
  • chickey
    chickey
  • wizdatawizard
    wizdatawizard
  • alexandreroy
    alexandreroy
  • felipeverdu
    felipeverdu
  • becchr
    becchr
  • wicki
    wicki
  • fbcgfirefox
    fbcgfirefox
  • ardadurmus
    ardadurmus
  • marta
    marta
  • pddmobile
  • rclarknxf
  • maddiegiles
    maddiegiles
  • mark2atsafe
    mark2atsafe
  • liamfez
    liamfez
  • mcsjo
    mcsjo

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

Reply


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