Examples of RasterTransformChain


Examples of org.geoserver.importer.transform.RasterTransformChain

            // create the set of tasks by having the format list the avialable items
            // from the input data
            for (ImportTask t : format.list(data, catalog, context.progress())) {
                //initialize transform chain based on vector vs raster
                t.setTransform(format instanceof VectorFormat
                        ? new VectorTransformChain() : new RasterTransformChain());
                t.setDirect(direct);
                t.setStore(targetStore);

                prep(t);
                tasks.add(t);
View Full Code Here

Examples of org.geoserver.importer.transform.RasterTransformChain

        String type = json.getString("type");
        TransformChain chain = null;
        if ("vector".equalsIgnoreCase(type) || "VectorTransformChain".equalsIgnoreCase(type)) {
            chain = new VectorTransformChain();
        } else if ("raster".equalsIgnoreCase(type) || "RasterTransformChain".equalsIgnoreCase(type)) {
            chain = new RasterTransformChain();
        } else {
            throw new IOException("Unable to parse transformChain of type " + type);
        }
        JSONArray transforms = json.getJSONArray("transforms");
        for (int i = 0; i < transforms.size(); i++) {
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.