Hi there, There are a number of ways to do this sort of thing. I'm not 100% sure about your configuration, but I can suggest a few methods...
1) The Clipper transformer has a group-by option. If you have an attribute with a unique value for each feature class, then select it in the group-by option. If you don't have such an attribute, then open the properties of one of the source feature classes, click the format attributes tab and put a tick-mark next to fme_basename - then apply to all to expose it on all feature classes. Then use this as the group-by and you should get what you need. The problem then is what you want for output. You'll probably find that a fanout of some sort is necessary. 2) There is a batch deploy option in Workbench, but I don't believe it works with database readers, just file based ones. The ArcSDE reader doesn't permit it I know, though you might find it is different for the GeoDatabase (ArcSDE) reader (I emphasise the "might"). The batch deploy would be what you need for this situation. If File > Batch deploy on the menubar is not greyed-out then let me know and I can explain how to use it. 3) Since you probably can't use batch deploy then there are other ways of batching, including this one which is possible with FME2007 and is probably the easiest. a) In the navigator pane (left hand dialog) locate the source dataset and expand the parameters section. Expand the "advanced" section and locate the setting "Feature Types to Read". b) Right-click "feature types to read" and choose publish parameter. Click OK to select the default settings. c) When you run the workspace the top of the log window will display the command line required to run the workspace. In a command window (eg DOS window) you can run this command line, and where it says --FEATURE_TYPES you can follow this up with a feature class name, eg FME <myWorkspace>.fmw --FEATURE_TYPES roads d) Put a series of these commands in a .bat file (once per class) changing the feature class name each time and run the bat file. I hope some of this helps. In essence method 1 is by far the easiest, but the problem is that you are reading ALL of the data at once, and if there is a lot you could suffer from performance problems. Method 3 is more complex but it will only read one feature class at a time, and therefore does not have the same performance issues. Also - how many clip boundaries do you have? There can be good performance gains using the "clippers first" setting if you have many clippers. See our community web site fmepedia.com for some examples of using Clippers and the clippers-first setting (also some good info on batching). Regards, Mark Mark Ireland, Senior Product Specialist Safe Software Inc. Surrey, BC, CANADA [EMAIL PROTECTED] http://www.safe.com Solutions for Spatial Data Translation, Distribution and Access --- In [email protected], "leegold58" <[EMAIL PROTECTED]> wrote: > > Am giving it a try - wish there was step by step documentatiion... > > I assume the Workbench GUI is a modeler that results in scripted > procedures so... > > I am able to get the SDE features into the workbench GUI and I put > the clip transformer in the GUI. Since the there are 1000's of feature > classes [fcs] I'm looking for a way to group the fcs in such a way that > they can be fed one by one sequentially(like a programming loop) into > the clip transformer. I don't see a way to do this. > > Since the fcs appear in the GUI as separate entities I assume I need a > way to group or link then, and usually a batch proceess means some kind > of arrow from the transformer back again to fcs list ie. a loop. > > > Am I close? Can anyone link or help me with step by step info. > Would really be grateful for help please. > 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/
