Hi Matt, The standard method (if there is such a thing) would be to join the points into a line with a PointConnector. That's going to be tough when the points aren't in any order, but if you could do it then the LineGeneralizer with the 'thin' algorithm or a Labeller transformer would be the next to use.
If the data consistently runs in an E-W or N-S direction then use the CoordinateFetcher to grab an X/Y and sort the data using that. Then the PointConnector will work a bit better. Alternatively, you could use a Sampler transformer - but it won't guarantee a spatial distance, just a number of points. To do it spatially.... let's see. How about this? 1) Use AttributeCreator to create a constant attribute for all points. 2) Buffer every point feature using the Bufferer (say size=100) - use the constant attribute as a Group-By. 3) Then take the resulting buffer polygon and use the centreline replacer. Now you have a single line representing the rail route. 4) Use the Labeller to create a label every 100m. Set offset=0. 5) Now change the labels to plain point features by exposing fme_type and setting it to a value of fme_point 6) If there were source attributes on the original points use a PointOnPointOverlayer to attach them to the new points. Hope something here helps, 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], "Matt Davis" <[EMAIL PROTECTED]> wrote: > > Hello FMErs, > > I have a small quandry that I was hoping that someone could help me with..... > > I have a shapefile with around 90 000 points that along a rail way line. The points are not in a specific order. I want to remove most of these points so that I only get points along the line every 100m. > > Can anyone advise me on the best way to approach this. > > Thanks in advance, > > Matt Davis > Strategic Planning Analyst > State Infrastucture Planning System > Department of Infrastructure, Energy and Resources > Level 9, 10 Murray St, Hobart TAS 7000 > Ph - (03) 6216 4348 > Fax - (03) 6233 4978 > E-mail - [EMAIL PROTECTED] > 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/
