Hi Markus,
I think it's an FME problem - it should expose the list, but it doesn't.
I'll ask our developers to fix the issue, but in the meantime you can
get the attributes using the AttributeExposer.
Say the list is called MyList and the attribute you wish to get is
called PipeID then use the AttributeExposer to expose...
MyList{}.PipeID
Then expand the set of attributes on the AttributeExposer, right-click
on MyList{}.PipeID and use the expose option to expose items within
that list (ie MyList{0}.PipeID, MyList{1}.PipeID etc)
Hope this helps
Mark
--- In [email protected], "markus.tigiser" <[EMAIL PROTECTED]> wrote:
>
> Hi Mark,
>
> thank you for your help, but I still have a problem and I'm wondering
> if it is a general FME 2006GB problem:
>
> When I enter the name of the "Close Candidate List" in the
> Neighborfinder, the name of the list doesn't appear in the attribute
> list below (Matched port), so I don't have a chance to process the
> attributes from the list, e.g. with the ListExploder you suggested.
>
> The same problem occurs when I enter the name of the "Tested Candidate
> List".
>
> I really don't know what I'm doing wrong...
>
> Every time when I enter a list name in any other Transformer, e.g. in
> the PointOnLineOverlayer the list name appears in the attributes list
> below and I'm able to work with the list attributes.
>
> Hope you can help me again,
>
> thanks.
>
> Markus
>
>
> --- In [email protected], "mark2atsafe" <mark.ireland@> wrote:
> >
> > Hi Markus,
> > There are at least two ways you can do this.
> >
> > 1) You can right-click the list in Workbench (on the NeighborFinder
> > transformer) and choose the option to expose elements. Then you enter
> > a number (x) and get x attributes; eg connectingPipe1, connectingPipe2
> > etc. These attributes you can direct to your destination schema as
> > required. However, the problem here is that you need to know what
> > value x will be. If you don't know this then a better method is...
> >
> > 2) Use a ListExploder transformer. This explodes the list into a
> > number of features; one per list entry. This is a much better method
> > for you because then you can direct these to a CSV format destination
> > dataset and get the list you are looking for. Add a ListExploder and
> > send the output to the Visualizer again and you will see what the
> > output is like.
> >
> > Unfortunately there isn't a good example of anything like this on
> > fmepedia.com - I'll see if I can generate one sometime this week.
> >
> > Hope this helps.
> > Regards,
> >
> > Mark
> >
> > Mark Ireland, Senior Product Specialist
> > Safe Software Inc. Surrey, BC, CANADA
> > support@ http://www.safe.com
> > Solutions for Spatial Data Translation, Distribution and Access
> >
> >
> > --- In [email protected], "markus.tigiser" <mtigi@> wrote:
> > >
> > > Hello at all,
> > >
> > > I am a new user of FME and I am using FME 2006 GB (Build 2651).
> > >
> > > I have the following question:
> > > I'm working with two ACAD *.dxf files. One contains
> > > main-gas-pipelines and the other one contains
> > > connecting-gas-pipelines which end at some point on one of the main
> > > pipeline.
> > > Now I'm trying to find out which connecting pipelines have a
> > > relation to each main pipeline.
> > > I used the neighborfinder to find all connecting pipelines
> > > (candidate) within a max. distance of 0.1m to a main pipeline
> > > (base).
> > > As the result I got a close candidate list, so when I send the
> > > matched output to a visualizer and press the info button upon a
main
> > > pipeline. I can see the results in the information window.
> > > That works perfect,
> > >
> > > BUT: I'm looking for another transformer, following the
> > > neighborfinder, that outputs me a table or a list like this,
> > > including every relation which was found:
> > >
> > > Main Pipeline ID Connecting Pipeline ID
> > >
> > > 3 49
> > > 3 65
> > > 3 102
> > > 6 34
> > > 6 212
> > > 7 67
> > >
> > > and so on...
> > >
> > > Or is there any other way to process the data from the close
> > > candidate list?
> > >
> > > I hope that someone could help me with this problem.
> > >
> > > Thanks.
> > >
> > > Markus
> >
>
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/