Package org.geotools.process.function

Examples of org.geotools.process.function.ProcessFunction


            for (FeatureTypeStyle featureTypeStyle : featureTypeStyles) {

                // Getting the main transformation
                Expression transformation = featureTypeStyle.getTransformation();
                if (transformation instanceof ProcessFunction) {
                    final ProcessFunction processFunction = (ProcessFunction) transformation;
                    final String processName = processFunction.getName();

                    // Checking whether the processFunction is a DynamicColorMapProcess
                    if (processName.equalsIgnoreCase(DynamicColorMapProcess.NAME)) {
                        return getColorRampDefinition(processFunction);
                    }
View Full Code Here


            List<FeatureTypeStyle> ftsList = gt2Style.featureTypeStyles();
            for (int i=0; i<ftsList.size(); i++) {
                FeatureTypeStyle fts = ftsList.get(i);
                Expression exp = fts.getTransformation();
                if (exp != null) {
                    ProcessFunction processFunction = (ProcessFunction) exp;
                    Name processName = processFunction.getProcessName();
                    Map<String, Parameter<?>> outputs = Processors.getResultInfo(processName,
                            null);
                    if (outputs.isEmpty()) {
                        continue;
                    }
View Full Code Here

TOP

Related Classes of org.geotools.process.function.ProcessFunction

Copyright © 2018 www.massapicom. 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.