Question

How to combine two X,Y coordinates into single point.

  • 29 March 2016
  • 4 replies
  • 23 views

Badge

I want to .CSV data into Smallword by using FME. In my CSV file ï have coordinates "x y". I want to combine these two coordinates into single point.-->"x,y".

CSV formate Data:

IN FME Workbench:

I want to combine X and Y values into single Attribute.

Actually i tried by using "CoordinateConcatenator"

 

But i am unable to combine the X and Y values.


4 replies

Badge

With a normal stringconcatenator this should work

Userlevel 1
Badge +10

Or just an attribute creator will work

@Value(X),@Value(Y)

Userlevel 2
Badge +12

Do you want both X and Y concatenated in an attribute or do you want a point geometry in SmallWorld?

If you want the point geometry the CSV reader has the option to convert the x and y attributes to a geometry as shown in the image below:

Badge +2

What Eric and the others said. Other option is VertexCreator transformer. Have a look at this https://knowledge.safe.com/articles/687/using-fme-...

Reply