Jason, 
Evenly spaced means a number of points equidistant along the line.
I have posted more detail on the web.

Thanks for the ideas I will give them a try as soon as I have worked 
out the interval calculation.

In the mean time I have opened the "evenPointsTest" and there is a 
missing transformer between the expresson evaluator and GeoCoercer 
which I assume is a Labeller. Is that correct?

Thanks,

Russell





--- In [email protected], "Jason Birch" <[EMAIL PROTECTED]> wrote:
>
> What do you mean by evenly spaced?  Specific distance?  Percentage 
based? Number of points?
>  
> Creating the line itself is pretty easy, just do a 2DPointReplacer 
to create a point from the start coordinates, and then a 
2DPointAdder with the end coordinates to turn it into a line.
>  
> I've attached a custom transformer (iterativeSnipper) that loops 
through each feature, snipping at a specified interval, and sending 
the remainder back through the loop until its length <= the 
distance.  This doesn't do quite what you wanted (segments instead 
of points) but it should give you some ideas.
>  
> There are some great custom transformers listed here if you're 
interested in learning more:
> http://fmepedia.com/index.php/Category:Custom_Transformer_Examples
>  
> Hmm.  Just occurred to me that there's a sneakier way of doing 
this.  Just generate labels at a calculated interval along the line 
with a zero offset, and then use a GeometryCoercer to flip them into 
points.  I've attached an example of this as well. (evenPointsTest)
>  
> Jason
> 
> ________________________________
> 
> From: [email protected] on behalf of nichols2bdarwindpi
> Sent: Mon 2006-09-25 8:21 PM
> To: [email protected]
> Subject: [fme] Creating Intermediate points along a line:
> 
> I have beginning and ending coordinates of a line and need to 
generate
> a number of points evenly spaced along that line.  Could someone
> please point me in the right direction to solving this?
> 
> Much Thanks,
> 
> Russell
>









   
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/
 


Reply via email to