Hi, On the one hand I don't see that you could read an internal id number from the Shape data. However, you say that it appears in the output Generate file (albeit 1 number out) and that suggests we must be reading it somewhere. My advice would be to read from the Shape file and write to FFS format; if the number if anywhere it will be in that data somewhere. You could examine it in the FME Viewer to find where and how the number is stored.
The only alternative I can think of is to use the file name - this is available through the fme_basename attribute. Hope this helps, 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], "jamisonleach" <[EMAIL PROTECTED]> wrote: > > Hello... > > Here is the situation......... > I'm using Workbench to export data from a Shapefile. The lines are > being routed to an ESRI Generate file, and the attributes are being > routed to .csv files. The .csv files need to link to the Generate > file using the Generate file's idNumber. > > Firstly, the idNumber in the Generate file is always one value > higher than the internal 'FID' in the Shapefile (for example, > '11346' compared to '11345'). Does anyone know why this is? > Additionally, does anyone know how I can get this same idNumber onto > the .csv files? I originally planned to map the Shapefile 'FID' to a > field in the .csv files, but 'FID' doesn't show up in the Workbench > for some reason. > > Many thanks, > J.D. Leach > 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/
