A couple of ways I guess... 1) Stick a Sorter in beforehand to sort everything. If you sort in regular order then you get 1..... (n/2), sort in reverse order to get (n/2)....n.
2) Try http://www.fmepedia.com/index.php/Sampler-Enhanced Regards, Mark --- In [email protected], "gis12345" <[EMAIL PROTECTED]> wrote: > > Hi Mark, > > I was looking at the Sampler transformer but I don't know how it > would help. If choosing to preserve the first n features, how do I > take care about the n+1 and the following features? Or if choosing > to preserve every k feature, how do I take care of the rest? I'm > lacking an alterantive to preserve the last features, from n+1 and > the rest. > > Fredrik > > --- In [email protected], "mark2atsafe" <mark.ireland@> wrote: > > > > Hi Fredrik, > > Do you have any transformers in your workspace, and are you using > FME2007? > > > > With FME2007 the management of memory is a little different. > There's > > now a setting in the navigation pane of workbench called Max > Features > > in Memory per Transformer. If the answer to the above questions is > yes > > then try reducing that setting to use less memory. > > > > If the above questions are a no then I'd suspect a problem geometry > > that we're choking on, though it's strange that it would occur in > an > > SDE to SDE translation. Try cutting the translation into two halves > > and doing each separately (the Sampler transformer would help > there). > > > > If it fails in one half but not the other then I'd say it's a > geometry > > problem. Try and isolate the bad feature, write it to FFS and send > it > > to support@ > > > > If it works in both halves then I guess it really might be a > memory issue. > > > > Hope this helps some, > > > > Regards, > > > > Mark > > > 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. Love FME? Then open your diary to March 6-7, 2008 and write this... "Second Worldwide FME User Conference - Must Attend!" See http://www.safe.com/company/fmeuc2008/index.php for more details. 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/
