Package org.geotools.process

Examples of org.geotools.process.RenderingProcess


        org.geotools.process.Process transformation = factory.create(new NameImpl("bean", "VectorIdentityRT"));
        Map<String, Object> inputs = new HashMap<String, Object>();
        inputs.put("data", data);
        inputs.put("value", 10);
       
        RenderingProcess tx = (RenderingProcess) transformation;
        Query dummyQuery = tx.invertQuery(inputs, null, null);
       
        Map<String, Object> result = transformation.execute(inputs, null);

        assertEquals(1, result.size());
       
View Full Code Here


            Map<String, Parameter<?>> parameters, RenderingProcess process, Literal fallbackValue) {
        super(processName, inputExpressions, parameters, process, fallbackValue);
    }

    public Query invertQuery(Query targetQuery, GridGeometry gridGeometry) {
        RenderingProcess process = (RenderingProcess) this.process;
        // evaluate input expressions
        // at this point do not have an object to evaluate them against
        Map<String, Object> inputs = evaluateInputs(null);
        try {
            return process.invertQuery(inputs, targetQuery, gridGeometry);
        } catch (ProcessException e) {
            throw new RuntimeException("Failed to invert the query, error is: "
                    + e.getMessage(), e);
        }
    }
View Full Code Here

                    + e.getMessage(), e);
        }
    }

    public GridGeometry invertGridGeometry(Query targetQuery, GridGeometry targetGridGeometry) {
        RenderingProcess process = (RenderingProcess) this.process;
        // evaluate input expressions
        // at this point do not have an object to evaluate them against
        Map<String, Object> inputs = evaluateInputs(null);
        try {
            return process.invertGridGeometry(inputs, targetQuery, targetGridGeometry);
        } catch (ProcessException e) {
            throw new RuntimeException("Failed to invert the grid geometry, error is: "
                    + e.getMessage(), e);
        }
    }
View Full Code Here

TOP

Related Classes of org.geotools.process.RenderingProcess

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.