Skip to main content
Solved

Translating colors into values,

  • March 13, 2014
  • 4 replies
  • 45 views

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

4 replies

takashi
Celebrity
  • 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
Celebrity
  • 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