public class GridCoverageReaderHelper extends Object
Constructor and Description |
---|
GridCoverageReaderHelper(GridCoverage2DReader reader,
Rectangle mapRasterArea,
ReferencedEnvelope mapExtent,
Interpolation interpolation) |
GridCoverageReaderHelper(GridCoverage2DReader reader,
Rectangle mapRasterArea,
ReferencedEnvelope mapExtent,
Interpolation interpolation,
Hints hints) |
Modifier and Type | Method and Description |
---|---|
ReferencedEnvelope |
getReadEnvelope() |
static boolean |
isReprojectingReader(GridCoverage2DReader reader)
Returns true if the reader is a reprojecting one, that is, one that can handle the coverage
reprojection on its own
|
GridCoverage2D |
readCoverage(GeneralParameterValue[] params)
Reads a single coverage for the area specified in the constructor, the code will not attempt
multiple reads to manage reads across the date line, reducing the read area, splitting it
into parts to manage certain projections (e.g., conic) and so on
|
List<GridCoverage2D> |
readCoverages(GeneralParameterValue[] readParams,
ProjectionHandler handler)
Reads the data taking into account advanced projection handling in order to deal with date
line crossing, poles and other projection trouble areas.
|
List<GridCoverage2D> |
readCoverages(GeneralParameterValue[] readParams,
ProjectionHandler handler,
GridCoverageFactory gridCoverageFactory)
Reads the data taking into account advanced projection handling in order to deal with date
line crossing, poles and other projection trouble areas.
|
public GridCoverageReaderHelper(GridCoverage2DReader reader, Rectangle mapRasterArea, ReferencedEnvelope mapExtent, Interpolation interpolation) throws FactoryException, IOException
FactoryException
IOException
public GridCoverageReaderHelper(GridCoverage2DReader reader, Rectangle mapRasterArea, ReferencedEnvelope mapExtent, Interpolation interpolation, Hints hints) throws FactoryException, IOException
FactoryException
IOException
public static boolean isReprojectingReader(GridCoverage2DReader reader) throws IOException
reader
- IOException
public ReferencedEnvelope getReadEnvelope()
public GridCoverage2D readCoverage(GeneralParameterValue[] params) throws IOException
IOException
public List<GridCoverage2D> readCoverages(GeneralParameterValue[] readParams, ProjectionHandler handler) throws IOException, FactoryException, TransformException
public List<GridCoverage2D> readCoverages(GeneralParameterValue[] readParams, ProjectionHandler handler, GridCoverageFactory gridCoverageFactory) throws IOException, FactoryException, TransformException
Copyright © 1996–2019 Geotools. All rights reserved.