Skip to main content
Solved

Splitting coordinates into separate attributes


Forum|alt.badge.img

Hi, would you please help me to have these coordinates separately with their own attribute? Thanks in advance. photo is attached

Best answer by ebygomm

If you have FME 2016 you can make use of the new capabilities of the stringsearcher to find all coordinate matches within the string

Then use an attribute creator to rename the list elements

View original
Did this help you find an answer to your question?

4 replies

ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • Best Answer
  • July 29, 2016

If you have FME 2016 you can make use of the new capabilities of the stringsearcher to find all coordinate matches within the string

Then use an attribute creator to rename the list elements


erik_jan
Contributor
Forum|alt.badge.img+18
  • Contributor
  • July 29, 2016

If you do not have the latest version (2016.1) I would do the following:

Use the StringReplacer to get rid of "SRID=3607; POINT ("

Use a second StringReplacer to get rid of ")"

Use the AttributeSplitter (delimiter " " ) to split the coordinates.

And copy _list{0} to X, _list{1} to Y and _list{2} to Z.


Forum|alt.badge.img
  • Author
  • August 8, 2016

Thanks for replying. I could go forward somehow with erik_jan advises forward. But got the last result came through Geometryreplacer.


Forum|alt.badge.img
  • Author
  • August 8, 2016
ebygomm wrote:

If you have FME 2016 you can make use of the new capabilities of the stringsearcher to find all coordinate matches within the string

Then use an attribute creator to rename the list elements

Thanks for replying. Solving my problem through this way is hard for me to find correct parameters for "contains Regular Expression". But I have learned something new.

 

 


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