Arno. I still think a tee factory will work for you as it will accept
multiple inputs. Just add a attribute to both sets so you can
differentiate the two input feature sets once you are in the TCL
function. So something like this
FACTORY_DEF <READER_TYPE> TeeFactory \
INPUT FEATURE_TYPE listA\
@SupplyAttributes(list_var, listA) \
INPUT FEATURE_TYPE listB\
@SupplyAttributes(list_var, listB) \
OUTPUT FEATURE_TYPE listA_B \
@SupplyAttributes(result , @TCL("do_stuff")
FACTORY_DEF <READER_TYPE> TestFactory \
INPUT FEATURE_TYPE listA_B \
TEST &result = ???????????? \
OUTPUT PASSED FEATURE_TYPE new_list\
OUTPUT FAILED FEATURE_TYPE other_features
I hope that helps. Geordie
no35612 wrote:
> Hi,
>
>
>> I'm not sure I completely understand what you are looking but if I
>> understand correctly you have the solution already. A TeeFactory
>>
> has
>
>> dual functionality. First it will accept multiple input feature
>>
> types
>
>> (which it automatically merges together .. which is what you are
>>
> looking
>
>> for) and second it will duplicate the merged output for every output
>> feature type you define. I hope that helps.
>>
>> Geordie
>>
>
> the thing is that I need the 2 inputs seperated - one input List will
> accept the list that will be searched and the other input Item will
> accept items that the list should be searched for, allowing custom
> tests like "the value of property A of the item to search for should
> be ca. 2 * property B of an item in the list" or "the item should only
> exist once in the list". The tests will be written in Tcl but before I
> can start writing the Tcl code I need a factory where I can use this
> code.
>
> Arno
>
>
>
>
>
>
>
>
>
>
> Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our
> Professional Services team. Visit www.safe.com/services for details.
> Yahoo! Groups Links
>
>
>
>
>
>
>
--
Geordie Hobart,
GIS Analyst/Programmer
[EMAIL PROTECTED]
Refractions Research Inc.
www.refractions.net
300-1207 Douglas St.
Victoria, BC.
Canada, V8W 2E7
phone 250-383-3022
fax 250-383-2140
Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our
Professional Services team. Visit www.safe.com/services for details.
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/