Simon,
> 1. Jason - you recommended using AttributeRemover to trim down the
> set of feature attributes to only those that I was going to use. In
> general, is it advisable to always use this approach, rather than
> carry the full set of attributes across (on the off chance that you
> might want to use them later on in the transformation)? Are there
> performance gains to be had, or is it just considered to be good
> practice generally (e.g. for the sake of clarity)?
Both. Less attributes retained means less memory space for FME to devote
to attributes. In addition to that, it is a lot clearer to you, the
operator. Depending on what kind of a process you develop, you may end
up with loads of temporary variables that you only need during a small
part of the translation. After that, they just clog up the selection
lists and the Viewer.
> 2. I'd like to do a similar kind of list processing with the set of
> coordinates that come with one of my feature types (a Link feature
> whose spatial representation is a line drawn through a number of X-Y
> coordinates). However, this feature type doesn't have an explicit
> attribute which holds the coordinate data, therefore I need a
> different approach. I can get hold of individual pairs of
> coordinates via CoordinateFetcher, or I can concatenate the whole
> set via CoordinateConcatenator, but I can't seem to extract the
> coordinates such that they could be translated into a database table
> with one row per coordinate pair, regardless of how many pairs each
> Link has.
By using a Chopper, set to '1', you can turn a linear objects in a
collection of individual point objects. Then use a CoordinateFetcher to
grab the coordinates of every point. You can then write it all out to a
database table.
--
Hans van der Maarel
Red Geographics
www.redgeographics.com / [EMAIL PROTECTED]
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/