Hi Chris, You're pretty close. What you need to do is a fanout. Open the destination feature type properties and look for the feature type fanout setting. It may already be set to fme_basename. Anyway, if you turn this on and use clipper_MAP_SHEET as the fanout attribute I think you'll get what you need.
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], "fme_user" <[EMAIL PROTECTED]> wrote: > > Hi, > > We are using FME 2006 GB Build 2651. > > I am cliping a large raster image (Geotif) into tiles using a > shapefile of 1:20 000 mapsheet boundaries to create a tile for each > mapsheet using the clipper. My shapefile is the clipper and the > raster is the clippee. The shapefile has (in this case) about 50 > individual shapes for the mapsheets, so I end up with about 50 tiles > (one for each mapsheet) This works great. > > What I would like to do is have the output tiles written with names > according to the mapsheet that was used to clip it out from the > shapefile. The name of the mapsheet is stored in the shapefile as an > attribute (MAP_SHEET). > > So for example, the for the area in the raster image that is clipped > by mapsheet 092K049 it would be output as a tile called 092K049.TIF > > I have tried setting merge attributes: Yes and then using the merged > name of the field (clipper_MAP_SHEET) as the feature type name in my > output file but I think because this is a raster that is not working. > > I also tried exposing the attribute geotiff_raster_filename in the > output file and routing the clipper_MAP_SHEET value directly to it, > but that did not work either. > > I looked at the tiler but that does not have this option either. > > I can rename them manually after the clipping is done but thought > there might be an easier way. > > Thanks for any suggestions. > Chris > 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/
