Hi Simon,

For this information, you can expose some format attributes in the
source feature types.  In this case, you are looking for fme_dataset or
fme_basename depending on whether you need the full path and extension
or not.

To do this, click on the ellipsis on a source feature type to access its
properties, go to the "Format Attributes" tab, and click on the
checkboxes next to these attributes.  If you have multiple source
feature types, you can quickly expose these attributes in all of them by
clicking on "Apply to All", and choosing which attributes to expose.  

It looks like there is also an option to choose which feature types to
apply the attributes to in FME 2007; not sure if that was there in
2006GB or not.

Jason


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
jusiheap
Sent: Tuesday, July 11, 2006 03:33
To: [email protected]
Subject: [fme] Determining filename of source dataset

Hi all

I'm translating from GML to Oracle (taking input from a large number of
GML files), and for each feature I'd like to store in Oracle the name of
the source file from which the feature was read. How do I do this?

Thanks
Simon




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/

<*> 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