Examples of GridCoverageFactory


Examples of org.geotools.coverage.grid.GridCoverageFactory

                    image.setSample(x, y, band, rand.nextInt(256));
                }
            }
        }
       
        GridCoverageFactory gcf = CoverageFactoryFinder.getGridCoverageFactory(null);
        GridCoverage2D coverage = gcf.create("cov", image, WORLD);
       
        File file = File.createTempFile("test-image", ".tiff");
        GeoTiffWriter writer = new GeoTiffWriter(file);
        writer.write(coverage, null);
        writer.dispose();
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.