Skip to main content
Solved

Is it possible to color code coordinates based on range values ie. 4 colour coded levels low 0-500, Medium 501-1000, High 1001-1500 Very High 1500+. I am trying to color code rainfall data against above. I have attached a sample

  • April 4, 2022
  • 2 replies
  • 14 views

Is it possible to color code coordinates based on range values ie. 4 colour coded levels low 0-500, Medium 501-1000, High 1001-1500 Very High 1500+. I am trying to color code rainfall data against above. I have attached a sample

Best answer by takashi

Hi @david_lyons​ , I think the AttributeRangeMapper can be used to define FME color value (comma separated R, G, B; e.g. "1,0,0" means red, "0,0,1" means blue) for each rainfall range.

If you store the color value in an attribute called "fme_color", FME considers it as the pen color which will be used to draw the feature.

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.

2 replies

takashi
Celebrity
  • 7842 replies
  • Best Answer
  • April 4, 2022

Hi @david_lyons​ , I think the AttributeRangeMapper can be used to define FME color value (comma separated R, G, B; e.g. "1,0,0" means red, "0,0,1" means blue) for each rainfall range.

If you store the color value in an attribute called "fme_color", FME considers it as the pen color which will be used to draw the feature.


  • Author
  • 10 replies
  • April 4, 2022

Takashi your a legend, the attribute range mapper worked perfectly to sort the data into groups!!!!