Package org.geotools.gce.gtopo30

Examples of org.geotools.gce.gtopo30.NoDataReplacerOpImage


    String formatDescription;

    @SuppressWarnings("deprecation")
    @Before
    public void init() {
        Format format = new GTopo30FormatFactory().createFormat();
        formatType = format.getName();
        formatDescription = format.getDescription();
    }
View Full Code Here


    String formatDescription;

    @Override
    @SuppressWarnings("deprecation")
    public void setUpInternal() {
        Format format = new GTopo30FormatFactory().createFormat();
        formatType = format.getName();
        formatDescription = format.getDescription();
    }
View Full Code Here

        // creating a zip outputstream
        final ZipOutputStream outZ = new ZipOutputStream(output);
        output = outZ;

        // creating a writer
        final GridCoverageWriter writer = new GTopo30Writer(outZ);

        // writing
        if (writer != null) {
            writer.write(sourceCoverage, null);
        } else {
            throw new ServiceException("Could not create a writer for the format Gtopo30!");
        }

        // freeing everything
        writer.dispose();
        this.sourceCoverage.dispose(false);
        this.sourceCoverage = null;
    }
View Full Code Here

        // creating a zip outputstream
        final ZipOutputStream outZ = new ZipOutputStream(output);
        output = outZ;

        // creating a writer
        final GridCoverageWriter writer = new GTopo30Writer(outZ);

        try{
          // writing
          writer.write(sourceCoverage, null);
        }finally{
          try{
              // freeing everything
              writer.dispose();
          }catch (Throwable e) {
        // TODO: handle exception
      }
            this.sourceCoverage.dispose(false);
            this.sourceCoverage = null;
View Full Code Here

        // creating a zip outputstream
        final ZipOutputStream outZ = new ZipOutputStream(output);
        output = outZ;

        // creating a writer
        final GridCoverageWriter writer = new GTopo30Writer(outZ);

        try {
            // writing
            writer.write(sourceCoverage, null);
        } finally {
            try {
                // freeing everything
                writer.dispose();
            } catch (Throwable e) {
                // TODO: handle exception
            }
            sourceCoverage.dispose(false);
        }
View Full Code Here

TOP

Related Classes of org.geotools.gce.gtopo30.NoDataReplacerOpImage

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.