I agree this needs better exposure. The ability to set a group-by (by
selecting an attribute) is already filed as PR5763. No idea if and
when it will happen though.

It would be a separate item in the dialog I think. Making the name
attribute a drop down would be OK - but it can be confusing when
drop-down fields also permit a value to be typed in. Users think they
have to select a value and don't see the text entry ability. I know
Matt doesn't like to do that sort of thing too often.

You're right - the transformer help often isn't as detailed as the FFT
manual. As a tip to other group members - most transformers are based
on a function/factory. If you're really digging for info on how a
transformer works then look up the factory/function behind the
transformer. Copy and paste a transformer to a text editor to find out
what factory it uses - or if there is any TCL type code in there.

Hopefully fmepedia.com will have a lot of info of this type that can
be edited and updated on a more informal basis. Thanks to Hans and a
few others there is already a lot of relatively obscure info on some
of the FME transformers.

Mark

--- In [email protected], "Jason Birch" <[EMAIL PROTECTED]> wrote:
>
> That is a great feature, and I know you have posted about it before, but
> I forgot.
> 
> It would be useful if:
>  - the count attribute in the transformer was a drop-down 
>  - the documentation reflected this capability.  This is another case
> where the transformer documentation is considerably less detailed than
> the F&F docs.
> 
> Jason 
> 
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
> mark2atsafe
> Sent: Monday, November 21, 2005 10:32
> To: [email protected]
> Subject: [fme] Re: COUNT and Group by?
> 
> Hi Group,
> I answered this question through the support queue but thought it would
> be useful for other fme'ers to know it.
> 
> There is in fact a group-by in the Counter, it is just well hidden.
> If you put an attribute in the Counter Name setting it will group by
> that attribute. So to group-by line_id set the Counter name to &line_id
> (the & is important to denote this is an attribute).
> 
> Look in the log file and it will even give you a list showing how many
> of each value there were.
> 
> Mark
> Mark Ireland, Product Support Engineer
> Safe Software Inc. Surrey, BC, CANADA
> [EMAIL PROTECTED] http://www.safe.com
> Solutions for Spatial Data Translation, Distribution and Access
> 
> --- In [email protected], "bnobno2" <[EMAIL PROTECTED]> wrote:
> >
> > Dear FME users,
> > 
> > Have polyline features where some of them does not have a uniqe ID 
> > (original lines are split). For those features who have the same ID, 
> > f.ex ID=999, I want to make new unique and consecutive sub ID's. F.ex.
> > if 3 polylines have the same ID, I want the first to have sub number 
> > 1, 2'nd num 2, and 3'rd num 3. New unique ID could be ID=999_1, 999_2,
> 
> > and 999_3, i.e. keep the origial but add sub numbers so they are 
> > unique.
> > 
> > 1. Tried to use "Matcher" but that transformer gives every "group" the
> 
> > same MATCH ID number.
> > 
> > 2. Tried COUNT but that does not allow for "Group by". Anyone else 
> > miss that opportunity?
> > 
> > 3. Could sort out every uniqe MATCH ID and then use COUNT but I have 
> > up to 60-70 unique groups and that will fill out all my workspace
> .....
> > 
> > Any ideas, please?
> > 
> > Bjornar
> >
>






Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our 
Professional Services team.  Visit www.safe.com/services for details. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/fme/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to