Package org.geotools.gce.arcgrid

Examples of org.geotools.gce.arcgrid.ArcGridWriteParams


            GeoTiffWriter gtw = (GeoTiffWriter) format.getWriter(dumpFile);
            gtw.write(coverage2D, (GeneralParameterValue[]) paramWrite.values().toArray(new GeneralParameterValue[1]));
        }
        if (isAscii) {
            final ArcGridFormat format = new ArcGridFormat();
            final ArcGridWriteParams wp = new ArcGridWriteParams();
            // wp.setProgressiveMode(GeoTiffWriteParams.MODE_DEFAULT);
            // wp.setCompressionMode(GeoTiffWriteParams.MODE_DEFAULT);
            // wp.setTilingMode(GeoToolsWriteParams.MODE_DEFAULT);
            final ParameterValueGroup paramWrite = format.getWriteParameters();
            paramWrite.parameter(AbstractGridFormat.GEOTOOLS_WRITE_PARAMS.getName().toString()).setValue(wp);
View Full Code Here


                                    GridCoverageReader reader = format.getReader(mapEnvironment.getCELL());
                                    GridCoverage2D geodata = ((GridCoverage2D) reader.read(readParams));
                                    geodata = geodata.view(ViewType.GEOPHYSICS);

                                    final ArcGridFormat format1 = new ArcGridFormat();
                                    final ArcGridWriteParams wp = new ArcGridWriteParams();
                                    final ParameterValueGroup paramWrite = format1.getWriteParameters();
                                    paramWrite.parameter(AbstractGridFormat.GEOTOOLS_WRITE_PARAMS.getName().toString()).setValue(
                                            wp);
                                    ArcGridWriter gtw = (ArcGridWriter) format1.getWriter(new File(folderFile, mapFile.getName()
                                            + ".asc"));
View Full Code Here

TOP

Related Classes of org.geotools.gce.arcgrid.ArcGridWriteParams

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.