Skip to main content
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.
Hi,

 

 

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

 

 

Takashi

Reply