I have a FeatureStyle that draws line and adda an arraow to end point of the line. And I want to see this line and arrow by scale. So I specified a MaxScaleDenominator property. Now line is not appearing at scale but arrow is appearing. How can I solve this issue? Can I specify multiple MaxScaleDenominator?

                    <CssParameter name="stroke">#aa0000</CssParameter>
                    <CssParameter name="stroke-width">1</CssParameter>
                    <ogc:Function name="endPoint">
                            <CssParameter name="fill">#fff433</CssParameter>
                            <CssParameter name="fill-opacity">0.5</CssParameter>
                            <CssParameter name="stroke">#fff433</CssParameter>
                            <CssParameter name="stroke-width">1</CssParameter>
                        <ogc:Function name="endAngle">
  • 2
    you can have multiple MaxScaleDenominator if you have multiple rules.. So I would define two rules, one for the LineSymbolizer and one for the PointSymbolizer. Not sure though what's the problem with your code..
    – ylka
    Nov 20, 2014 at 8:43


Your Answer

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

Browse other questions tagged or ask your own question.