Hi, No problem - we were all newbies at some point! It's an interesting problem because you want all the shape files in the same folder. Technically each input DBF is a 'dataset' therefore the output for each will be a dataset - which for shape is a separate folder.
To get what you need the steps will be... 1) In the navigation pane find the 'source dbf' setting. Double-click it and select all the DBF files. 2) For the source feature type, in the main canvas open the properties and set a 'merge filter'. Set the filter to * (ie let all dbf files pass) 3) For the source feature type, in the main canvas open the properties and click the format attributes tab. Expose (put a check mark next to) fme_basename 4) For the destination feature type, in the main canvas open the properties and set a feature type fanout. The fanout attribute to use is fme_basename. This will give you a separate shape file (feature type) for each input basename. Sorry that it isn't as easy as you might think, but it isn't quite a batch process you want - more a merge to get multiple feature types within a single dataset. For the POSTGIS add a postgis dataset (destination data > add dataset). Don't add a feature type when prompted. Then right-click the source feature type and choose 'duplicate as destination'. Open its properties when created, to make sure it is in the postgis dataset (not the Shape one). Now simply create a connection from the source to the destination. Because you don't set a fanout it will get merged into a single output. To get an additional attribute, open the destination properties, click the user attributes tab and create a new attribute. Then - say you want to use fme_basename as the attribute info - use an AttributeCopier to copy fme_basename to xxxx (where xxxx is the name of the new attribute). Hope this helps, 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], "broscoe2000" <[EMAIL PROTECTED]> wrote: > > Hi at all > sorry for newbie question. > > Input files: > a lot of dbf (nearly hundread). > Same schema, with field for East and North coords (..by the way of > trasformation with 2DPOINTREPLACER). > > > > The 2 needing: > > 1) translate any dbf to shape (1 dbf to 1 shape), in a batch process, > keeping all the shape file together in the same dir. > and 2) translate all the dbf to a POSTGIS, adding at least one field > to keep the code of dbf file. > > > I try, but I can't find the right way to do it. I have success only > one dbf at time. > > > Any suggestion to do a mass transformation? > > best regards > roscoe > 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/
