Skip to main content

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

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?


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

 


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?

 


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?

 

 


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

 

 


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

 

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.

 

 


Reply