|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.gce.geotiff.GeoTiffReader
GeoTiffReader
is responsible for exposing the data and the
Georeferencing metadata available to the Geotools library.
Constructor Summary | |
GeoTiffReader(org.opengis.coverage.grid.Format creater,
java.lang.Object source,
Hints hints)
Creates a new instance of GeoTiffReader |
Method Summary | |
void |
dispose()
|
java.lang.String |
getCurrentSubname()
No subnames. |
org.opengis.coverage.grid.Format |
getFormat()
|
java.lang.String[] |
getMetadataNames()
|
java.lang.String |
getMetadataValue(java.lang.String name)
|
java.lang.Object |
getSource()
|
boolean |
hasMoreGridCoverages()
Returns true if another image remains to be read. |
static boolean |
isGeoTiffFile(java.io.File file)
Static method checks the given file to ensure that: It's a TIFF file. |
java.lang.String[] |
listSubNames()
Always returns null. |
org.opengis.coverage.grid.GridCoverage |
read(org.opengis.parameter.GeneralParameterValue[] params)
This method reads in the TIFF image, constructs an appropriate CRS, determines the math transform from raster to the CRS model, and constructs a GridCoverage. |
void |
skip()
There are no guts to this function. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GeoTiffReader(org.opengis.coverage.grid.Format creater, java.lang.Object source, Hints hints)
creater
- format object creating this readersource
- the GeoTiff filehints
- user-supplied hintsMethod Detail |
public static boolean isGeoTiffFile(java.io.File file)
file
- The file to check
public void dispose()
dispose
in interface org.opengis.coverage.grid.GridCoverageReader
public java.lang.String getCurrentSubname()
getCurrentSubname
in interface org.opengis.coverage.grid.GridCoverageReader
public org.opengis.coverage.grid.Format getFormat()
getFormat
in interface org.opengis.coverage.grid.GridCoverageReader
public java.lang.String[] getMetadataNames() throws java.io.IOException
getMetadataNames
in interface org.opengis.coverage.grid.GridCoverageReader
java.io.IOException
public java.lang.String getMetadataValue(java.lang.String name) throws java.io.IOException, org.opengis.coverage.MetadataNameNotFoundException
getMetadataValue
in interface org.opengis.coverage.grid.GridCoverageReader
java.io.IOException
org.opengis.coverage.MetadataNameNotFoundException
public java.lang.Object getSource()
getSource
in interface org.opengis.coverage.grid.GridCoverageReader
public boolean hasMoreGridCoverages()
hasMoreGridCoverages
in interface org.opengis.coverage.grid.GridCoverageReader
public java.lang.String[] listSubNames()
listSubNames
in interface org.opengis.coverage.grid.GridCoverageReader
public org.opengis.coverage.grid.GridCoverage read(org.opengis.parameter.GeneralParameterValue[] params) throws java.io.IOException
read
in interface org.opengis.coverage.grid.GridCoverageReader
params
- currently ignored, potentially may be used for hints.
java.io.IOException
- on any IO related troublespublic void skip()
skip
in interface org.opengis.coverage.grid.GridCoverageReader
java.lang.UnsupportedOperationException
- always
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |