public GetFeatureInfo( List<LayerRef> layers, List<StyleRef> styles, List<String> queryLayers, int width,
int height, int x, int y, Envelope envelope, ICRS crs, int featureCount, String infoFormat,
HashMap<String, String> parameterMap, Map<String, List<?>> dimensions ) throws OWSException {
this.layers.addAll( layers );
this.styles.addAll( styles );
cleanUpLayers( queryLayers );
this.width = width;
this.height = height;
this.x = x;
this.y = y;
this.bbox = envelope;
this.crs = crs;
this.featureCount = featureCount;
this.infoFormat = infoFormat;
this.dimensions.putAll( dimensions );
this.parameterMap.putAll( parameterMap );
this.scale = RenderHelper.calcScaleWMS130( width, height, bbox, crs, DEFAULT_PIXEL_SIZE );
}