Skip to main content
Solved

Transforming white parts of geotiff into a transparent background/ deleting it?

  • February 3, 2021
  • 2 replies
  • 528 views

Hello,

I have a lot of geotiffs that I want to import into a map project. Unfortunately these blueprints are framed by a white background, which I would like to transform into a transparent one. Basically I only want to keep the lines, that make up these blueprints.

 

I imagine the required steps somewhat like this:

 

  1. Select the background. Since every blueprint has a different shape, i would try try to detect the background-pixels by colour (white). Possible drawback: Single pixels in the needed Picture could also be white and therefore be falsely selected. Is there a transformer for this you would recommend?How else could I differentiate the needed parts of the geotiff?
  2. Delete the selected pixels or turn them transparent.
  3. Another issue that I worry about: The thin, dark lines of the blueprints might hardly be visible on an orthophoto-based map. Can I somehow change the colour of my outcome?

 

Since I am new to FME, I wonder which transformers I should use. If you are experienced with similar projects, please let me know how you solved this.

Thanks!

Best answer by ebygomm

Have you seen this article?

 

https://community.safe.com/s/article/setting-alpha-vs-nodata-color-and-numeric-data

View original
Did this help you find an answer to your question?

2 replies

ebygomm
Influencer
Forum|alt.badge.img+33
  • Influencer
  • Best Answer
  • February 3, 2021

  • Author
  • February 4, 2021

I haven't. Thank you, I am going to try this!


Reply


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