Package org.geotools.coverage.processing

Examples of org.geotools.coverage.processing.CoverageProcessor.doOperation()


        param = processor.getOperation("Resample").getParameters();
        param.parameter("Source").setValue(cropped);
        param.parameter("CoordinateReferenceSystem").setValue(inReader.getCrs());
        param.parameter("GridGeometry").setValue(scaledGridGeometry);
        param.parameter("InterpolationType").setValue(Interpolation.getInstance(Interpolation.INTERP_NEAREST));
        gc = (GridCoverage2D) processor.doOperation(param);


        message = new StringBuilder("Scaling...");
        if (LOGGER.isLoggable(Level.FINE))
          LOGGER.fine(message.toString());
View Full Code Here


        final ParameterValueGroup parameters = operation.getParameters();
        parameters.parameter("Source").setValue(coverage);
        parameters.parameter("CoordinateReferenceSystem").setValue(targetCRS);
        parameters.parameter("GridGeometry").setValue(null);
        parameters.parameter("InterpolationType").setValue(spatialInterpolation);
        return (GridCoverage2D) processor.doOperation(parameters);
    }

    /**
     * This method is responsible for performing the RangeSubsetting operation
     * which can be used to subset of actually remix or even duplicate bands
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.