0

I'm running GeoServer with version 2.13.1

I try to generate vector-tiles from a group layer which does work fine, but unfortunately buildings are rendered in every zoom level. (Actually all features are rendered in every zoom level)
Can I tell GeoServer to add them only in the lower level?

In my style I defined the following:

<se:Rule>
<se:Name>Building</se:Name>
<se:Description>
    <se:Title>Building</se:Title>
</se:Description>
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
    <ogc:PropertyIsEqualTo>
        <ogc:PropertyName>class</ogc:PropertyName>
        <ogc:Literal>building</ogc:Literal>
    </ogc:PropertyIsEqualTo>
</ogc:Filter>
<se:MinScaleDenominator>1</se:MinScaleDenominator>
<se:MaxScaleDenominator>10000</se:MaxScaleDenominator>
<se:PolygonSymbolizer>
    <se:Fill>
        <se:SvgParameter name="fill">#e6ded3</se:SvgParameter>
    </se:Fill>
    <se:Stroke>
        <se:SvgParameter name="stroke">#d5cec5</se:SvgParameter>
        <se:SvgParameter name="stroke-width">1</se:SvgParameter>
        <se:SvgParameter name="stroke-linejoin">bevel</se:SvgParameter>
    </se:Stroke>
</se:PolygonSymbolizer>

Is it even possible with GeoServer ?

Your Answer

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

Browse other questions tagged or ask your own question.