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