Hi Bill.

You can use the LabelPointReplacer to do this I think. 
If you add a visualiser after a LabelPointReplacer You can see an attribute
called 'ParallelRotation' which is the real rotation of your point, no
cartographic 180-stuff added!
This is not obvious since FME does not show you any of the attributes that
are actually there, I hope Safe will expose the attributes on the
LabelPointReplacer in coming betas.

But, in the meantime you can do this:
1. Use the LabelPointReplacer to generate the points
2. Connect an AttributeExposer to expose ParallelRotation
3. Use an AttributeRenamer to rename ParallelRotation to fme_rotation.

Now you should have the "real" rotation on your points.

Good luck. /Nisse

PS.
Safe support:
File a report to update the LabelPointReplacer:
1. Expose all attributes it adds
2. Give the user a choice whether the resulting rotations should be
cartographic (upside-down) or not.
DS.

-----Ursprungligt meddelande-----
Från: [email protected] [mailto:[EMAIL PROTECTED] För Bill Voigt
Skickat: den 20 mars 2006 04:03
Till: [email protected]
Ämne: [fme] 

I'd like a transformer that works like the LabelpointReplacer, but does not
force the labels to be 'cartographically correct'.  What I mean is that the
LabelpointReplacer prevents labels from being upsidedown by adding 180
degrees to the rotation angle.  My target application is to apply
directional arrowheads to my pipe features for display in an app that cannot
display lines with arrowheads. 


Many thanks,
-0-Bill

William G Voigt           (415) 485-3366 voice
GIS Analyst               (415) 485-3334 fax
Dept Public Works         111 Morphew St
City of San Rafael  San Rafael, CA 94901





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