Skip to main content
Solved

Extract Geometry as per Color

  • July 9, 2018
  • 7 replies
  • 74 views

parashari
Forum|alt.badge.img+2

Hi Experts, I am working with FME 2018.0. I have a set of roads as per the traffic congestion while red being the most, green being medium and blue being least congested. I have to extract the roads as per the color as below:

Out of red, green, blue- red. Only red is extracted out of red, green and blue.

Out of green, blue- green. Only green is extracted out of green and blue.

blue as it is.

I have tried using GeometryValidator, Intersector, but seems none of these are working. Any suggestions, advices

Best answer by takashi

In you screenshot, red, green, and blue seem to be separate three layers. If so, I think you can just read them as separate feature types. What do you need to extract?

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.

7 replies

takashi
Celebrity
  • Best Answer
  • July 9, 2018

In you screenshot, red, green, and blue seem to be separate three layers. If so, I think you can just read them as separate feature types. What do you need to extract?


parashari
Forum|alt.badge.img+2
  • Author
  • July 9, 2018

In you screenshot, red, green, and blue seem to be separate three layers. If so, I think you can just read them as separate feature types. What do you need to extract?

Hi @takashi

 

Thanks for your support. Actually, I had a TIF data for that and I had to extract RGB on the basis of the above-mentioned criteria. I have attached the data below.

 

 

cleanimg.zip

 


parashari
Forum|alt.badge.img+2
  • Author
  • July 11, 2018

In you screenshot, red, green, and blue seem to be separate three layers. If so, I think you can just read them as separate feature types. What do you need to extract?

@takashi

 

Did you try working on that?

 


takashi
Celebrity
  • July 11, 2018

In you screenshot, red, green, and blue seem to be separate three layers. If so, I think you can just read them as separate feature types. What do you need to extract?

What about this?

 

 


parashari
Forum|alt.badge.img+2
  • Author
  • July 16, 2018

In you screenshot, red, green, and blue seem to be separate three layers. If so, I think you can just read them as separate feature types. What do you need to extract?

Exactly what is required! Thanks

 

 


parashari
Forum|alt.badge.img+2
  • Author
  • July 18, 2018
What about this?

 

 

@takashi

 

Just one question in the color extraction part. So, if you take a look at the top left and mid-center (intersection part) these are a mixture of red and green (a bit of yellow) where the two lines intermediating. Could you please let me know what is the color code for that? And where can we find the code? Thanks. There is a problem attaching the file.

 

 


takashi
Celebrity
  • July 18, 2018
@takashi

 

Just one question in the color extraction part. So, if you take a look at the top left and mid-center (intersection part) these are a mixture of red and green (a bit of yellow) where the two lines intermediating. Could you please let me know what is the color code for that? And where can we find the code? Thanks. There is a problem attaching the file.

 

 

Three primary color values for pure yellow is 255,255,0.