diff --git a/deegree-layers/deegree-layers-feature/src/main/java/org/deegree/layer/persistence/feature/FeatureLayer.java b/deegree-layers/deegree-layers-feature/src/main/java/org/deegree/layer/persistence/feature/FeatureLayer.java index aee7324ce1..da92299236 100644 --- a/deegree-layers/deegree-layers-feature/src/main/java/org/deegree/layer/persistence/feature/FeatureLayer.java +++ b/deegree-layers/deegree-layers-feature/src/main/java/org/deegree/layer/persistence/feature/FeatureLayer.java @@ -117,6 +117,7 @@ public FeatureLayerData mapQuery( final LayerQuery query, List headers ) throw new OWSException( "The style " + ref.getName() + " is not defined for layer " + getMetadata().getName() + ".", "StyleNotDefined", "styles" ); } + style = style.filter( query.getScale() ); OperatorFilter filter = buildFilterForMap( this.filter, style, query, dimFilterBuilder, headers );