Skip to main content
Solved

Splitting coordinates into separate attributes

  • July 29, 2016
  • 4 replies
  • 128 views

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

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.

4 replies

ebygomm
Influencer
Forum|alt.badge.img+46
  • 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+23
  • 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

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.