Skip to main content
Solved

AttributevalueMapper

  • September 4, 2014
  • 1 reply
  • 23 views

Hello,

 

 

How to use FindString function in AttributeValueMapper transformer.

 

 

I have an attribute _concatenated which concatenates geometry types in any dataset. I would like to map it on certain conditions.

 

e.g. if _concatenated = "fme_point" then map dest attribute to "POINT"

 

if _concatenated = "fme_point,fme_area" then map dest attribute to "POLYGON"

 

if _concatenated = "fme_point,fme_area,fme_no_geom" then map dest attribute to "POLYGON"

 

 

In short if _concatenated conatain string "fme_area" i would like to map it as POLYGON.

 

 

Is it possible to do this using string functions?

 

 

Cheers.

Best answer by takashi

Hi,

 

 

I think it's easier to use the AttributeCreator with Conditional Value setting. For example:

 

 

Takashi
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.

1 reply

takashi
Celebrity
  • Best Answer
  • September 4, 2014
Hi,

 

 

I think it's easier to use the AttributeCreator with Conditional Value setting. For example:

 

 

Takashi