Sure :)
 
I don't have FME where I'm at (I'm in Vancouver for some C# training - yay), so 
sorry for vagueness on transformer names.
 
It would be nice if you could just force the geometry to a polygon, but I don't 
think that's possible.  However, it's a little-known fact that you can use the 
bounding box transformers to get estimated bounding boxes for text elements.
 
If you have rotation in your text elements, you may need to unrotate them 
around their centroid, generate their bounding box as a polygon, and then 
re-rotate that around its centroid. 
 
Once you have the polygon in place, you can perform a spatial intersection.  
You may want to do this in a loop within custom transformer, overlaying the 
polygons, removing the ones with the highest number of intersections with other 
polygons, passing the ones with zero intersections directly to the output, and 
running the remainder through a hidden input at the beginning of the custom 
transformer.
 
Mmm.  Maybe there are less geeky ways of doing this.
 
Jason

________________________________

From: [email protected] on behalf of hughblackstock
Subject: [fme] Removing Overlapping Text Elements



I'd just like to
remove any of the offending text elements so there are no overlaps at
all.




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/
 

<<winmail.dat>>

Reply via email to