2

How to set the background color to transparent. I want use style which describe in *.sld file for all my photo with tif format. How to do that?

enter image description here

  • 1
    rather than posting new questions please say why this answer doesn't work for you. You need to edit this question with the SLD you are using – Ian Turton Apr 27 '16 at 12:49
3

Here an example to create one transparent classe. You will use opacity="0.0" parameter:

<sld:ColorMap>
              <sld:ColorMapEntry color="#000000" opacity="0.0" quantity="-999"/>
              <sld:ColorMapEntry color="#111111" opacity="1.0"quantity="1.0"/>
              <sld:ColorMapEntry color="#AAAAAA" opacity="1.0"quantity="100.0"/>
</sld:ColorMap>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.