Skip to main content
Question

Splitting Text Geometries

  • January 9, 2014
  • 2 replies
  • 31 views

fmelizard
Safer
Forum|alt.badge.img+21
Hello Everyone

 

 

I have multiple Geomedia text  features that I would like to split by a mapsheet border. 

 

Example: if 182 Street NW crosses the boundary  where 182 is inside and Street NW is outside

 

I would get two labels back 

 

182 | Street NW.

 

Any ideas I'm using FME 2013 SP 3

 

 

Cheers

 

 

Ron
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

philippeb
Enthusiast
Forum|alt.badge.img+22
  • Enthusiast
  • January 9, 2014
Maybe you could use the AttributeSplitter with the space as the delimiter. After you would have to merge list(1) and list(2).

 

Or you could use SubstringExtractor and set the number of character to extract at the biggest number you have.

 

 

I don't know if there is a number detector into FME, that would be the best.

davideagle
Contributor
Forum|alt.badge.img+22
  • Contributor
  • January 13, 2014
You could create a bounding box around your text using the BoundingBoxReplacer. Use the AreaOnAreaOverlayer to test how many mapsheets intersect the bounding box, if there is 1 do nothing, if 2 split your text into two labels using a mthod like Philippes.