|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Support for creation of grid coverages from persistent formats as well as exporting a grid coverage to a persistent formats. For example, it allows for creation of grid coverages from the GeoTIFF Well-known binary format and exporting to the GeoTIFF file format. Basic implementations only require creation of grid coverages from a file format or resource.
| Method Summary | |
GC_GridCoverage |
createFromName(java.lang.String name)
Create a new GC_GridCoverage from a grid coverage file.
|
GC_GridCoverage |
createFromSubName(java.lang.String name,
java.lang.String subName)
Create a new GC_GridCoverage from a file where the file contains many
grid coverages. |
void |
exportTo(GC_GridCoverage gridCoverage,
java.lang.String fileFormat,
java.lang.String fileName,
GC_Parameter[] creationOptions)
Export a grid coverage to a persistent file format. |
GC_Format |
getFormat(int index)
Retrieve information on file formats or resources available with the GC_GridCoverageExchange implementation.
|
java.lang.String[] |
getMetadataNames()
List of metadata keywords for the interface. |
java.lang.String |
getMetadataValue(java.lang.String name)
Retrieve the metadata value for a given metadata name. |
int |
getNumFormats()
The number of formats supported by the GC_GridCoverageExchange. |
java.lang.String[] |
listSubNames(java.lang.String name)
Retrieve the list of grid coverages contained within the given file or resource. |
GC_GridCoverage |
move(GC_GridCoverage gridCoverage,
CS_CoordinateSystem coordsys,
CT_MathTransform gridToCoordinateSystem)
Create a new coverage with a different coordinate reference system. |
| Method Detail |
public int getNumFormats()
throws java.rmi.RemoteException
GC_GridCoverageExchange.
GC_GridCoverageExchange.
java.rmi.RemoteException - if a remote method call failed.
public java.lang.String[] getMetadataNames()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a remote method call failed.
public GC_Format getFormat(int index)
throws java.rmi.RemoteException
GC_GridCoverageExchange implementation.
Indices start at zero.
index - Index for which to retrieve the format information.
GC_GridCoverageExchange implementation.
java.rmi.RemoteException - if a remote method call failed.
public java.lang.String getMetadataValue(java.lang.String name)
throws java.rmi.RemoteException
name - Metadata keyword for which to retrieve metadata.
java.rmi.RemoteException - if a remote method call failed.
public GC_GridCoverage createFromName(java.lang.String name)
throws java.rmi.RemoteException
GC_GridCoverage from a grid coverage file.
This method is meant to allow implementations to create a GC_GridCoverage.
from any file format. An implementation can support any number of formats which is
determined from the GC_Format interface.
name - File name (including path) from which to create a grid coverage interface.
This file name can be any valid file name within the underlying operating
system of the server or a valid string, such as a URL which specifics a grid
coverage. Each implementation must determine if file name is valid for it's
own use.
GC_GridCoverage.
java.rmi.RemoteException - if a remote method call failed.
public java.lang.String[] listSubNames(java.lang.String name)
throws java.rmi.RemoteException
name - File name (including path) from which to retrieve the grid coverage names.
This file name can be any valid file name within the underlying operating
system of the server or a valid string, such as a URL which specifics a
grid coverage. Each implementation must determine if file name is valid
for it s own use. Implementations can support many different of file formats.
java.rmi.RemoteException - if a remote method call failed.
public GC_GridCoverage createFromSubName(java.lang.String name,
java.lang.String subName)
throws java.rmi.RemoteException
GC_GridCoverage from a file where the file contains many
grid coverages. This method is meant to allow implementations to create a
GC_GridCoverage from any file format which contains many grid
coverages. An example of such a format is HDF-EOS format.
name - File name (including path) from which to create a grid coverage interface.
This file name can be any valid file name within the underlying operating
system of the server or a valid string, such as a URL which specifics a
grid coverage. Each implementation must determine if name is valid for it's
own use.subName - Name of grid coverage contained in file name or resource.
GC_GridCoverage from a file where the file contains many grid coverages.
java.rmi.RemoteException - if a remote method call failed.
public void exportTo(GC_GridCoverage gridCoverage,
java.lang.String fileFormat,
java.lang.String fileName,
GC_Parameter[] creationOptions)
throws java.rmi.RemoteException
GC_Format interface.
Sample file formats include:
Other file format names are implementation dependent."GeoTIFF" - GeoTIFF "PIX" - PCI Geomatics PIX "HDF-EOS" - NASA HDF-EOS "NITF" - National Image Transfer Format "STDS-DEM" - Standard Transfer Data Standard
gridCoverage - Source grid coverage.fileFormat - String which indicates exported file format.fileName - File name to store grid coverage.
This file name can be any valid file name within the
underlying operating system of the server.creationOptions - Options to use for creating the file.
These options are implementation specific are the valid
options is determined from the GC_Format interface.
java.rmi.RemoteException - if a remote method call failed.
public GC_GridCoverage move(GC_GridCoverage gridCoverage,
CS_CoordinateSystem coordsys,
CT_MathTransform gridToCoordinateSystem)
throws java.rmi.RemoteException
gridCoverage - Source grid coverage.coordsys - Coordinate system of the new grid coverage.gridToCoordinateSystem - Math transform to assign to grid coverage.
java.rmi.RemoteException - if a remote method call failed.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||