Garry,

If you route the matched points with a match id attribute 
of "match_id" into a Counter and set the counter name to "&match_id", 
a separate counter will be invoked for each group of matched points, 
each starting at 0, so the count attribute will serve as an index for 
each point at a given location. Use the ExpressionEvaluator to 
multiply the index by the base offset value to get the values for the 
Offsetter. 

I have uploaded a workspace called OffsetCoincidentPoints.fmw into 
Files that illustrates this.

---------------------------------------------------------------
Dave Campanas
Safe Software Inc. Surrey, BC, CANADA
[EMAIL PROTECTED] ~ http://www.safe.com
telephone: (604) 501-9985 facsimile: (604) 501-9965
Solutions for Spatial Data Translation, Distribution and Access
---------------------------------------------------------------
--- In [email protected], "garry_christoffersen" <[EMAIL PROTECTED]> wrote:
> 
> 
> Greetings
> 
> I have a situation where I have thousands of points. In a lot of 
> cases there are a number of points that are exactly on top of each 
> other. What I want to do is "move/offset" the coincident points.
> 
> I'm working in workbench. My current approach using the latest beta 
> is to use MATCHER and using the "match id attribute output" option 
> (new) ... this groups together the coincident points. 
> 
> Now this is where my theory comes unstuck ... what I would like to 
> do is "loop" through each unique group, so I can use the OFFSETTER 
> to move each point based on their position in the group eg 
(assuming 
> the first record is 0) first record would move 0x1metre, second 
> record would move 1x1metre, third record would move 2x1metre etc.
> 
> I thought lists might help but didn't really do it, unless I am 
> missing something. I used aggregator on the "match id", with the 
> list and count options. I could do cool things like sorting the 
> list, but couldn't find away to loop through each list member so I 
> could operate on them.
> 
> Any assistance would be appreciated.
> 
> Garry








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