Is it possible to add two overlays in <Fill> tag.

For example, I want to add this color, #1e9e1e, and a graphic fill. xlink:href="vegetation.png".

This is my code:

<Fill> <CssParameter name="fill">#1e9e1e</CssParameter> <GraphicFill> <Graphic> <ExternalGraphic> <OnlineResource xlink:type="simple" xlink:href="vegetation.png"/> <Format>image/png</Format> </ExternalGraphic> <Size>15</Size> </Graphic> </GraphicFill>

1 Answer 1


Try to add another PolygonSymbolizer tag inside a rule:

    <CssParameter name="fill">#1e9e1e</CssParameter>
    <CssParameter name="fill-opacity">1</CssParameter>
    <CssParameter name="stroke">#afb38a</CssParameter>
    <CssParameter name="stroke-width">0.1</CssParameter>
            <OnlineResource xlink:type="simple" xlink:href="vegetation.png"/>

It should work.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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