Hi Gerald,
I think you will have to use a combination of transformers because, as
you noted, the Labeller doesn't give you exactly what you need, but I'd
disagree that it would be quicker to do in MicroStation.

I think you'll have to create a line feature from the first two (and
last two) points then use the Labeller on that.

What may tempt you to upgrade to FME2005 is the ability to use Compound
Transformers. When you say "I need to go through all that trouble for
each of the four points" then Compound Transformers may help, because
you can set up your bunch of transformers and then reuse that
combination again and again.

Hope this helps - good luck!

Mark

Mark Ireland, Product Support Engineer
Safe Software Inc. Surrey, BC, CANADA
[EMAIL PROTECTED] http://www.safe.com
Solutions for Spatial Data Translation, Distribution and Access

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
Gerald Hernandez
Sent: July 12, 2005 10:17 AM
To: [email protected]
Subject: [fme] Label Endpoints?

Ok, I have what would seem to be a simple task, but just not finding the
easiest way to do it.

I have street centerlines, and I wish to label the endpoints with the
>From and To address ranges. The label point should be offset a certain
distance from the endpoint and perpendicular to that portion of the
linestring, with the label being parallel to the segment.

Basically the From Address Left, should be a certain distance along the
linestring from the start point, offset perpendicular to the Left side
of the segment and the text angle should be parallel to the line
segment.

The To Address Left, should be the same only from the end point. 
Similarly for the From Address Right / Left.

The Labeller would seem to be the logical choice, only it will
distribute labels along the element at certain intervals or at the
center point only. I need only 1 label per value, at the end points.

I know I "could" throw a bunch of different transformers in there to
achieve this. Such as get the first two points, calculate the angle. 
Project a point at a certain distance. Then project that offset a
certain distance, etc. But if I need to go through all that trouble for
each of the four points, then it would be faster for me to just code
this in Microstation.

I'm using FME ICE 3 build 1378. I can upgrade to the latest IF it will
help with this task, otherwise I would like to wait a little bit. Also,
I want to do this through the Workbench, cause if I need to build a
standard translation file, I'll just code it in Microstation.

I think I might be missing something obvious. Any ideas?

Gerald






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



 






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/
 



Reply via email to