/** * This utility method can be used to read a small sample {@link GridCoverage2D} for inspection * from the specified {@link CoverageInfo}. * * @param ci the {@link CoverageInfo} that contains the description of the GeoServer coverage to * read from. */ public static GridCoverage2D readSampleGridCoverage(CoverageInfo ci) throws Exception { final GridCoverage2DReader reader = getCoverageReader(ci); return readSampleGridCoverage(reader); }
encodedId, ci, RequestUtils.getCoverageReader(ci));