Question

Splitting Text Geometries

  • 9 January 2014
  • 2 replies
  • 6 views

Userlevel 4
Badge +13
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

Badge +2
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.
Badge +10
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