private void parseScalingExtension(GetCoverageType gc, Map kvp) {
boolean found = false;
ScalingType scaling = WCS20_FACTORY.createScalingType();
if (kvp.containsKey("scalefactor")) {
found = true;
ScaleByFactorType sf = WCS20_FACTORY.createScaleByFactorType();
sf.setScaleFactor(((Double) kvp.get("scalefactor")));
scaling.setScaleByFactor(sf);
}
if (kvp.containsKey("scaleaxes")) {
found = true;
scaling.setScaleAxesByFactor((ScaleAxisByFactorType) kvp.get("scaleaxes"));