Class BaseGDALGridCoverage2DReader

    • Field Detail

      • DEFAULT_WORLDFILE_EXT

        protected static final String DEFAULT_WORLDFILE_EXT
        See Also:
        Constant Field Values
    • Constructor Detail

      • BaseGDALGridCoverage2DReader

        protected BaseGDALGridCoverage2DReader​(Object input,
                                               Hints hints,
                                               String worldFileExtension,
                                               ImageReaderSpi formatSpecificSpi)
                                        throws DataSourceException
        Creates a new instance of a BaseGDALGridCoverage2DReader. I assume nothing about file extension.
        Parameters:
        input - Source object for which we want to build a BaseGDALGridCoverage2DReader.
        hints - Hints to be used by this reader throughout his life.
        worldFileExtension - the specific world file extension of the underlying format
        formatSpecificSpi - an instance of a proper ImageReaderSpi.
        Throws:
        DataSourceException
    • Method Detail

      • setCoverageProperties

        protected void setCoverageProperties​(ImageReader reader)
                                      throws IOException
        Setting Envelope, GridRange and CRS from the given ImageReader
        Specified by:
        setCoverageProperties in class BaseGridCoverage2DReader
        Parameters:
        reader - the ImageReader from which to retrieve metadata (if available) for setting properties
        Throws:
        IOException