|
Legacy OpenGIS API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GC_GridCoverageExchange
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(String name)
Create a new GC_GridCoverage from a grid coverage file. |
GC_GridCoverage |
createFromSubName(String name,
String subName)
Create a new GC_GridCoverage from a file where the file contains many
grid coverages. |
void |
exportTo(GC_GridCoverage gridCoverage,
String fileFormat,
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. |
String[] |
getMetadataNames()
List of metadata keywords for the interface. |
String |
getMetadataValue(String name)
Retrieve the metadata value for a given metadata name. |
int |
getNumFormats()
The number of formats supported by the GC_GridCoverageExchange. |
String[] |
listSubNames(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 |
|---|
int getNumFormats()
throws RemoteException
GC_GridCoverageExchange.
GC_GridCoverageExchange.
RemoteException - if a remote method call failed.
String[] getMetadataNames()
throws RemoteException
RemoteException - if a remote method call failed.
GC_Format getFormat(int index)
throws RemoteException
GC_GridCoverageExchange implementation.
Indices start at zero.
index - Index for which to retrieve the format information.
GC_GridCoverageExchange implementation.
RemoteException - if a remote method call failed.
String getMetadataValue(String name)
throws RemoteException
name - Metadata keyword for which to retrieve metadata.
RemoteException - if a remote method call failed.
GC_GridCoverage createFromName(String name)
throws 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.
RemoteException - if a remote method call failed.
String[] listSubNames(String name)
throws 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.
RemoteException - if a remote method call failed.
GC_GridCoverage createFromSubName(String name,
String subName)
throws 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.
RemoteException - if a remote method call failed.
void exportTo(GC_GridCoverage gridCoverage,
String fileFormat,
String fileName,
GC_Parameter[] creationOptions)
throws 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.
RemoteException - if a remote method call failed.
GC_GridCoverage move(GC_GridCoverage gridCoverage,
CS_CoordinateSystem coordsys,
CT_MathTransform gridToCoordinateSystem)
throws RemoteException
gridCoverage - Source grid coverage.coordsys - Coordinate system of the new grid coverage.gridToCoordinateSystem - Math transform to assign to grid coverage.
RemoteException - if a remote method call failed.
|
Legacy OpenGIS API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
|
New (current) interfaces | Copyright OpenGIS® Consortium |