org.geotools.gce.gtopo30
Class GTopo30Reader
Object
AbstractGridCoverage2DReader
GTopo30Reader
- All Implemented Interfaces:
- GridCoverageReader
public final class GTopo30Reader
- extends AbstractGridCoverage2DReader
- implements GridCoverageReader
This class provides a GridCoverageReader for the GTopo30Format.
- Author:
- Simone Giannecchini, jeichar, mkraemer
- Module:
trunk/gt/plugin
(gt-plugin.jar
) (Maven report) (SVN head)
Fields inherited from class AbstractGridCoverage2DReader |
closeMe, coverageFactory, coverageName, crs, demColors, EPS, gzipped, highestRes, hints, inStream, numOverviews, originalEnvelope, originalGridRange, overViewResolutions, raster2Model, source |
Methods inherited from class AbstractGridCoverage2DReader |
createImageCoverage, createImageCoverage, decimationOnReadingControl, dispose, finalize, getCrs, getCurrentSubname, getInfo, getMetadataNames, getMetadataValue, getOriginalEnvelope, getOriginalGridRange, getOriginalGridToWorld, getResolution, getSource, hasMoreGridCoverages, listSubNames, setReadParams, setReadParams, skip |
Methods inherited from interface GridCoverageReader |
dispose, getCurrentSubname, getMetadataNames, getMetadataValue, getSource, hasMoreGridCoverages, listSubNames, skip |
GTopo30Reader
public GTopo30Reader(Object source)
throws IOException
- GTopo30Reader constructor.
- Parameters:
source
- The source object (can be a File, an URL or a String
representing a File or an URL).
- Throws:
MalformedURLException
- if the URL does not correspond to one of the GTopo30 files
IOException
DataSourceException
- if the given url points to an unrecognized file
IllegalArgumentException
- DOCUMENT ME!
GTopo30Reader
public GTopo30Reader(Object source,
Hints hints)
throws IOException
- GTopo30Reader constructor.
- Parameters:
source
- The source object (can be a File, an URL or a String
representing a File or an URL).
- Throws:
MalformedURLException
- if the URL does not correspond to one of the GTopo30 files
IOException
DataSourceException
- if the given url points to an unrecognized file
IllegalArgumentException
- DOCUMENT ME!
getGridCoverageCount
public int getGridCoverageCount()
- Number of coverages for this reader is 1
- Overrides:
getGridCoverageCount
in class AbstractGridCoverage2DReader
- Returns:
- the number of coverages for this reader.
- See Also:
org.opengis.coverage.grid.GridCoverageReader#getGridCoverageCount()
getFormat
public Format getFormat()
- Specified by:
getFormat
in interface GridCoverageReader
- See Also:
GridCoverageReader.getFormat()
read
public GridCoverage read(GeneralParameterValue[] params)
throws IllegalArgumentException,
IOException
- Specified by:
read
in interface GridCoverageReader
- Throws:
IllegalArgumentException
IOException
- See Also:
GridCoverageReader.read(org.opengis.parameter.GeneralParameterValue[])
Copyright © 1996-2009 Geotools. All Rights Reserved.