Question

vertexcreator

  • 12 September 2014
  • 3 replies
  • 7 views

Badge
Hi everyone,

 

Any thaughts how to substitute the removed 2dpointadder in FME basic licence? Since 2014 the vertexcreator is only available in pro version (facepalm).

 

Thanks,

 

J.

3 replies

Userlevel 4
Hi,

 

 

interesting, I wasn't aware of that, but I don't understand the reasoning. I suggest you write Safe support (https://safecommunity.force.com/knowledgeSubmitCase) and ask.

 

 

Having said that, I'd strongly recommend upgrading to the Professional version if you want to do more interesting stuff with FME.

 

 

David
Userlevel 2
Badge +17
Hi Jaro,

 

 

Surprised to hear that the VertexCreator is not supported by Base edition. As David mentioned, request Safe support, and upgrade FME edition to pro if possible.

 

 

In the interim, scripting would be a substitute of the old 2DPointAdder. Assuming that the features have attributes "_x" and "_y", for example:

 

-----

 

# PythonCaller (Python Script)

 

import fmeobjects

 

 

def add2DPoint(feature):

 

    x = float(feature.getAttribute('_x'))

 

    y = float(feature.getAttribute('_y'))

 

    feature.addCoordinate(x, y)

 

-----

 

# TclCaller (Tcl Expression)

 

FME_Coordinates addCoord [FME_GetAttribute "_x"] [FME_GetAttribute "_y"]

 

-----

 

 

Takashi
Badge
Hi Jaro,

 

The VertexCreator should always have worked in the FME Base edition and we have fixed this problem that caused it to be disabled.  FME 2014 SP4 icludes this fix and is available on our download page (http://www.safe.com/support/support-resources/fme-downloads/). Sorry for any inconvenience.

 

Ken 

Reply