Glad to hear it works. I did the example anyway because it's useful for other users, and I made it generic so it will work on any format.
And it's a good job I did because I exposed a minor bug that we'll want to get rid of. This sort of thing is always a good testing scenario for us! Anyway - it's at... http://www.fmepedia.com/index.php/Feature_Type_Lister If I get time I may try and create an example that lists geometry as well - ie counts the different geometry types for each level - as this could also be useful. Oh... the Data Inspector application would also be useful for this type of thing (though you won't get an output text file). It's at <fme install folder>/dataInspector.exe Regards Mark --- In [email protected], Arno van Anrooij <[EMAIL PROTECTED]> wrote: > > Mark, > > > > Thank you very much. I was almost there. Just needed the hint for > DuplicateRemover. That did the trick. Don't need the example. > > > > Arno > > > > _____ > > From: mark2atsafe [mailto:[EMAIL PROTECTED] > Sent: 06 February 2007 20:22 > To: [email protected] > Subject: [fme] Re: Create list of levelnames dgn > > > > Yes... > > 1) Create a workspace - DGN to text. > 2) Remove all source levels except one. > 3) Set a Merge Filter for the remaining level (set to *) > 4) Expose igds_level (or igds_level_name) > 5) Use a DuplicateRemover to preserve just a single instance of each level > 6) Map igds_level to text_line_data > > With the merge filter set this should let you process any DGN file you > like, regardless of the original levels within it, and write a list of > levels to a text file. I'll create an example and post to fmepedia. > > Various options exist for batching - depending on whether you want a > list for all the files, or a separate list for each. > > Hope this helps > > Mark > > Mark Ireland, Senior Product Specialist > Safe Software Inc. Surrey, BC, CANADA > [EMAIL PROTECTED] <mailto:support%40safe.com> com http://www.safe. > <http://www.safe.com> com > Solutions for Spatial Data Translation, Distribution and Access > > --- In [EMAIL PROTECTED] <mailto:fme%40yahoogroups.com> com, Arno van Anrooij > <A.vanAnrooij@> wrote: > > > > Dear List, > > > > > > > > I have a folder with a lot of dgn-files and I would like to create a > > csv-file or txt file with all the levelnames used in the dgn-files. Any > > ideas how to create this (using workbench)? > > > > > > > > Thanks > > > > > > > > Arno van Anrooij > > > > Vicrea Solutions B.V. > > > 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/
