Skip to main content
Solved

Translating colors into values,


jamal
Forum|alt.badge.img+5
Translating colors into values,

 

 

I have already highlighted this issue on other threads but I want to further elaborate it in a separate one.

 

 

In my work, each landuse is indicated by a hatch of particular color (in the AutoCAD). This color refers to a particular meaning as shown in the screenshot below.

 

 

 

 

 

 

As hatches are converted to polygons using the FME, I need to translate the color of each hatch into its meaning in Arabic and English and to store these values in two columns as shown in the screenshot below

 

 

 

 

 

Is SchemaMapper the best way to do so?

 

 

 

 

Thank you

 

 

Best

 

 

Jamal

Best answer by takashi

# correction for a typo.

 

Joiner
View original
Did this help you find an answer to your question?
<strong>This post is closed to further activity.</strong><br /> It may be a question with a best answer, an implemented idea, or just a post needing no comment.<br /> If you have a follow-up or related question, please <a href="https://community.safe.com/topic/new">post a new question or idea</a>.<br /> If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

takashi
Evangelist
  • March 13, 2014
I do not think the SchemaMapper is good choice in this case.

 

 

AttributeValueMapper

 

You can import the value mapping table in the parameters dialog. But the setting is static, so it's not suitable when the mapping rule should be determined at run-time.

 

 

If the mapping rule is dynamic, I think that joining tables (usind color  value as key) is suitable way. Major choices are:

 

FeatureMerger (read the table with the Excel reader beforehand)

 

Jointer

 

InlineQuerier

takashi
Evangelist
  • Best Answer
  • March 13, 2014
# correction for a typo.

 

Joiner

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • March 14, 2014
..i was wondering..did i miss the Jointer?

 

 

sounds like a cool transformer.

 

Legal in Colorado, yes?

 

 

 

Gio

jamal
Forum|alt.badge.img+5
  • Author
  • March 15, 2014
Thank you Takashi.

 

 

The “joiner” works fine

 

 

 

 

Best

 

 

Jamal

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings