David,

> I'm new here and to FME, so please forgive me if this is redundant.  
> I've spent quite a bit of time trying to find a transformer 
> capability, including searching here.  Unfortunately I'm not sure 
> what key words or terms to use for this.
> 
> Anyway, I'm looking for a capability (via transformer?) to help me 
> take a text file and output to a CSV file format.
> 
> The problem is that the text file I regularly receive (as it gets 
> updated) has lines treated as records and individual charaters or a 
> combination of characters that mean very specific things.  There are 
> no comma or tabs or spaces to automatically identify fields.  Each 
> field has a fixed width of characters for each line or record.
> 
> I'll try to post a sample documentation file 
> titled "CD_DOF_README.PDF" on this group.  I'll also try to post a 
> sample text file that it comes in titled "aal.dat".

If you use the Text reader, FME will read every line from the text file 
as a separate feature, with a single attribute. You can then use an 
AttributeSplitter (http://fmepedia.com/index.php/AttributeSplitter) to 
split this into seperate attributes. The AttribteSplitter will produce a 
list, so you'll have to expose the correct amount of list elements, and 
then write them out to a CSV file.

Hope this helps.

-- 
Hans van der Maarel
Red Geographics
www.redgeographics.com / [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/
 


Reply via email to