My suggestion would be to handle it in a non-spatial form and run it
through a GlobalVariableRetriever - Tester - GlobalVariableSetter combo.

GVRetriever - retrieve a global (say GV1)
Tester - test if Z = GV1 (if so discard the feature)
GVSetter - set the global GV1 = Z

You get the idea? Each feature sets the global and then the following
one gets tested to see if it is the same.

After the above three add a group-based transformer such as the
FeatureHolder (in 2007) or maybe a Sorter (in earlier versions). That
should ensure that features pass through the above 3 transformers one
at a time, but then go no further until they've all been processed.

That would remove duplicate features. To get within a definable range
you'd need to calculate the difference with an expressionEvaluator
before testing to see if the EE result is < defined range

Hope this helps

Mark

Mark Ireland, Senior Product Specialist
Safe Software Inc. Surrey, BC, CANADA
support@ http://www.safe.com
Solutions for Spatial Data Translation, Distribution and Access

--- In [email protected], "geoinformatik.user"
<[EMAIL PROTECTED]> wrote:
>
> Hello List, 
> 
> as a FME beginner I despair of the following problem and hope that 
> one of you can help. 
> 
> I have a text file (2000000 lines) with the following contents: 
> 
> x            y            z 
> 4418000.000  5655055.680  216.850 
> 4428001.000  5655055.680  216.820 
> 4428003.000  5655055.680  216.830 
> 4428000.000  5655056.680  216.590 
> 4438002.000  5655056.680  216.830 
> 4433003.000  5655056.680  216.830 
> 4428000.000  5655058.680  218.590 
> 4438001.000  5655058.680  216.510 
> 4433003.000  5655058.680  214,830 
> 
> Now I want to find neighbouring points with the same height (z) 
> and/or points with a definable deviation of the height (z) and 
> generalize this.
> 
> Can you recommend a Transformer? 
> 
> Thank you 
> Sven
>




For insights into what's up at Safe Software and what's on the development 
horizon, visit Safe's blog at spatial-etl.blogspot.com.

Safe Software has also made slides available that outline enhancements planned 
for FME 2007. The slides are from the "Road Ahead" presentation given on Day 2 
of the FME Worldwide Users Conference. To view these slides, visit 
www.safe.com/2006uc.

 
Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/fme/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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