/** * Creates a {@link GridCoverage} for the provided {@link PlanarImage} using the {@link * #originalEnvelope} that was provided for this coverage. * * @param image contains the data for the coverage to create. * @return a {@link GridCoverage} * @throws IOException */ protected final GridCoverage createImageCoverage(PlanarImage image) throws IOException { return createImageCoverage(coverageName, image); }
/** * Creates a {@link GridCoverage} for the provided {@link PlanarImage} using the {@link * #originalEnvelope} that was provided for this coverage. * * @param coverageName * @param image contains the data for the coverage to create. * @return a {@link GridCoverage} * @throws IOException */ protected final GridCoverage createImageCoverage(String coverageName, PlanarImage image) throws IOException { return createImageCoverage(coverageName, image, null); }
/** * Creates a {@link GridCoverage} for the provided {@link PlanarImage} using the {@link * #raster2Model} that was provided for this coverage. * * <p>This method is vital when working with coverages that have a raster to model * transformation that is not a simple scale and translate. * * @param image contains the data for the coverage to create. * @param raster2Model is the {@link MathTransform} that maps from the raster space to the model * space. * @return a {@link GridCoverage} * @throws IOException */ protected final GridCoverage2D createImageCoverage( PlanarImage image, MathTransform raster2Model) throws IOException { return createImageCoverage(coverageName, image, raster2Model); }
/** * Creates a {@link GridCoverage} for the provided {@link PlanarImage} using * the {@link #originalEnvelope} that was provided for this coverage. * * @param image * contains the data for the coverage to create. * @return a {@link GridCoverage} * @throws IOException */ protected final GridCoverage createImageCoverage(PlanarImage image) throws IOException { return createImageCoverage(image, null); }
/** * Creates a {@link GridCoverage} for the provided {@link PlanarImage} using * the {@link #originalEnvelope} that was provided for this coverage. * * @param image * contains the data for the coverage to create. * @return a {@link GridCoverage} * @throws IOException */ protected final GridCoverage createImageCoverage(PlanarImage image) throws IOException { return createImageCoverage(image, null); }