Skip to main content
Question

Splitting Text Geometries


fmelizard
Contributor
Forum|alt.badge.img+17
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

2 replies

philippeb
Enthusiast
Forum|alt.badge.img+17
  • 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+19
  • 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.

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings