From 56bb77842ed69333dfa47f7f2a3968199df757d4 Mon Sep 17 00:00:00 2001 From: Andreas Schmitz Date: Mon, 18 Mar 2013 14:57:56 +0100 Subject: [PATCH] Fixed handling of scale denominators from style. --- .../java/org/deegree/layer/persistence/feature/FeatureLayer.java | 1 + 1 file changed, 1 insertion(+) 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 );