|
Dale,
This ability to pass by reference seems to be going away in
at least some transformers to reduce unexpected results (users who actually
think that & and @ should be used as text characters; the
nerve).
For instance, from my limited at-home ability to fact
check, I believe I was previously using an AttributeCreator (myAttribute =
&myAttribute) to expose attributes that were in the stream because I used a
join in the "SELECT" parameter of a database reader. This is no
longer possible, though I can work around it now that the AttributeExposer
allows type-ins.
Will each transformer where this ability is being removed
be evaluated for implications, etc?
Jason From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Dale Lutz Sent: Friday, September 29, 2006 20:46 To: [email protected] Subject: Re: [fme] Re: Creating intermediate points along a line Hello, This is too interesting a problem to let lie, and I
believe that many paths lead to happiness with this
one. But attached (and below) you'll see what I've come up
with. I set up a workspace to create what I think the situation is, and
what I'm really hoping to show is how you can use the Counter to
get you the point numbers. The trick is that you just use an FME back door (which
we should figure out how to make explicit) to get a new counter
for every line you've got. How? By setting the name of the
counter to be "the value of" some kind of unique ID attribute that each original
line would have on it (and if they didn't have one, you can always
use another counter to make one). And then you use the
true start number for the points to be the starting point for that
counter. You make the counter go by the value-of an attribute by
using the & syntax -- so &line_id means use the value-of line_id
to be the name of the counter. See below and attached. Workspace was made with
FME 2006 GB. Dale
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- Re: [fme] Re: Creating intermediate points along a line Dale Lutz
- [fme] Re: Creating intermediate points along a line kcheng888_007
- RE: [fme] Re: Creating intermediate points along a line Jason Birch
- [fme] Re: Creating intermediate points along a line mark2atsafe
- RE: [fme] Re: Creating intermediate points alon... Jason Birch
- [fme] Re: Creating intermediate points alon... mark2atsafe
- [fme] Re: Creating intermediate points alon... mark2atsafe
- Re: [fme] Re: Creating intermediate points along a line Dale Lutz

