Hi
--- In [email protected], "clambert_aamh" <[EMAIL PROTECTED]> wrote:
>
> Hello All
> 
> I am trying to reproject a large number of ascii files in 
> workbench.  Each record in the ascii file contains quantitative 
> information about a point feature.
> 
> The way I understand the softwares comprehension of CSV files is 
> that they do contain a feature type as such, so the filenbane itself 
> is taken as the feature type.

Correct.

> I found some info on the user forum 
> http://finance.groups.yahoo.com/group/fme/message/11783, which 
> provided a solution, in summary
> - Add source dataset
> - Right click, select properties
> - Select "Merge feature type" and enter * in Merge filter field

Correct. Merge feature type is the setting to use.
 
> This method will read and write all files selected during batch 
> deploy but all to a single output file.

Shouldn't do - batch deploy should give separate outputs. Make sure
you tick the option to batch the output (each writer has an option to
batch or not).

> A workaround I found to this, was to add an additional column to 
> each file with the filename or some other id, then
> - Right click on destination dataset, select properties
> - Select "Fanout feature type" and select the column containing 
> filename as fanout attribute
> 
> Is there a way to read and write each of these files individually 
> without editing the ascii files?  Using TCL is there a way to cursor 
> through the files?

Instead of adding an ID column simply expose the source Format
Attribute called fme_basename - use that as the fanout and you'll get
the same effect. 

> Also - does anyone know of some good TCL resources for beginners?

I don't - but I'm sure some folk here will. Also, the word around our
office is that Python is the preferred scripting language. Easier and
more efficient.

> Thank you kindly in advance!
> 
> Carly
> :)
>

Mark






Join us at the FME Worldwide User Conference Sept. 21-22, 2006 Vancouver BC 
Canada. For more information, 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/
 


Reply via email to