Package org.geotools.coverage.io.impl

Examples of org.geotools.coverage.io.impl.DefaultCoverageResponseImpl.addResult()


            coverage = (GridCoverage2D) reader
                .read(new GeneralParameterValue[] { readParameter });
          } else {
            coverage = (GridCoverage2D) reader.read(null);
          }
          response.addResult(coverage);
          response.setStatus(Status.SUCCESS);

          return response;
        }
      });
View Full Code Here


      // get the data
      final GridCoverage2D coverage = (GridCoverage2D) writeRequest.getData().iterator().next();
      writer.write(coverage, null);
      writer.dispose();
      response.addResult(coverage);
      response.setStatus(Status.SUCCESS);

      // update the access
      Info info = getInfo(null);
      info.setExtent( (GeneralEnvelope) coverage.getGridGeometry().getEnvelope() );
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.