Package org.geoserver.wps.resource

Examples of org.geoserver.wps.resource.GridCoverageResource


        this.outputs = outputs;
        // mark the output coverages as resources to be cleaned after
        // ... hmmm.. wondering if we could make this more pluggable...
        for (Object result : outputs.values()) {
            if(result instanceof GridCoverage) {
                resourceManager.addResource(new GridCoverageResource(((GridCoverage) result)));
            }
        }
    }
View Full Code Here


                }

            }
           
            if(value instanceof GridCoverage) {
                executor.getResourceManager().addResource(new GridCoverageResource((GridCoverage) value));
            }
           
            // release the input, it's not needed anymore
            input = null;
        }
View Full Code Here

            // STEP 3 - Writing
            //
            return writeRaster(mimeType, coverageInfo, clippedGridCoverage);
        } finally {
            if (originalGridCoverage != null) {
                resourceManager.addResource(new GridCoverageResource(originalGridCoverage));
            }
            if (reprojectedGridCoverage != null) {
                resourceManager.addResource(new GridCoverageResource(reprojectedGridCoverage));
            }
            if (clippedGridCoverage != null) {
                resourceManager.addResource(new GridCoverageResource(clippedGridCoverage));
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.geoserver.wps.resource.GridCoverageResource

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.