Hi Doug,
That's a tough question - you need to have some way to identify which
lines will produce upside-down labelling. 

I think one of the best ways would be to use the AzimuthCalculator,
which is also a custom transformer on fmepedia. Where it returns an
acAzimuth value which is negative (test for <0 using Tester) then
reverse the direction of the line using the REVERSE setting on the
Orientor transformer.

Then try labelling the data. It may not be perfect but I would hope
that this would remove a lot of problems.

The other solution (it's a bit less elegant) would be to create a
small buffer around each line, then apply the Orientor using either
the right or left hand rule - then everything would be the same
orientation and there would be no upside-down elements.

Hope this helps,

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

--- In [email protected], "bigdougcameron999" <[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
> I have been using the Adaptive Labeler custom trasnformer from the 
> FMEpedia to place labels on single line street files. It works well 
> except that it places some labels upside down. It seems to depend on 
> the direction in which the line segment was drawn. If the line was 
> drawn from right to left then the labels are upside down. I've tried 
> reversing the orientation of the lines which solves the problem but 
> then the labels for lines drawn from left to right are screwed up. 
> 
> Suggestions??
> 
> Thanks
> 
> Doug Cameron
> Shaw Cable Systems
> Calgary
>






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