| java.lang.Object org.deegree.model.coverage.grid.GridCoverageExchange
GridCoverageExchange | public class GridCoverageExchange (Code) | | 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. More sophesticated
implementations may extract the grid coverages from a database. In such case, a
GridCoverageExchange instance will hold a connection to a specific database and
the
GridCoverageExchange.dispose method will need to be invoked in order to close this connection.
author: Andreas Poth version: 1.0 since: 2.0 |
Method Summary | |
public GridCoverageReader | getReader(Object source) Returns a grid coverage reader that can manage the specified source
Parameters: source - An object that specifies somehow the data source. | public GridCoverageReader | getReader(InputStream source, CoverageOffering description, Envelope envelope, Format format) This method is a deegree specific enhancement of the GridCoverageExchange
class/interface as defined by GeoAPI. | public GridCoverageReader | getReader(Object resource, CoverageOffering description, Envelope envelope, Format format) This method is a deegree specific enhancement of the GridCoverageExchange
class/interface as defined by GeoAPI. | public GridCoverageReader | getReader(Object[] resources, CoverageOffering description, Envelope envelope, Format format) This method is a deegree specific enhancement of the GridCoverageExchange
class/interface as defined by GeoAPI. | public GridCoverageWriter | getWriter(Object destination, Format format) Returns a GridCoverageWriter that can write the specified format. |
SHAPE_DIR_NAME | final public static String SHAPE_DIR_NAME(Code) | | |
SHAPE_IMAGE_FILENAME | final public static String SHAPE_IMAGE_FILENAME(Code) | | |
getReader | public GridCoverageReader getReader(InputStream source, CoverageOffering description, Envelope envelope, Format format) throws IOException(Code) | | This method is a deegree specific enhancement of the GridCoverageExchange
class/interface as defined by GeoAPI. Returns a grid coverage reader that can manage the
specified source
Parameters: source - An object that specifies somehow the data source. Parameters: description - an object describing the grid coverage and the access to avaiable metadata Parameters: envelope - Parameters: format - The grid coverage reader. throws: IOException - if an error occurs during reading. |
getReader | public GridCoverageReader getReader(Object resource, CoverageOffering description, Envelope envelope, Format format) throws IOException, InvalidParameterValueException(Code) | | This method is a deegree specific enhancement of the GridCoverageExchange
class/interface as defined by GeoAPI. Returns a grid coverage reader that can manage the
specified source
Parameters: resource - a string that specifies somehow the data source (e.g. a file). Parameters: description - an object describing the grid coverage and the access to avaiable metadata Parameters: envelope - Parameters: format - The grid coverage reader. throws: IOException - if an error occurs during reading. |
getReader | public GridCoverageReader getReader(Object[] resources, CoverageOffering description, Envelope envelope, Format format) throws IOException, InvalidParameterValueException(Code) | | This method is a deegree specific enhancement of the GridCoverageExchange
class/interface as defined by GeoAPI. Returns a grid coverage reader that can manage the
specified source
Parameters: resources - an array strings that specifies somehow the data sources (e.g. some files). Parameters: description - an object describing the grid coverage and the access to avaiable metadata Parameters: envelope - The grid coverage reader. throws: IOException - if an error occurs during reading. |
getWriter | public GridCoverageWriter getWriter(Object destination, Format format) throws IOException(Code) | | Returns a GridCoverageWriter that can write the specified format. The file format name is
determined from the
Format interface. Sample file formats include:
"GeoTIFF" |
- GeoTIFF |
"PIX" |
- PCI Geomatics PIX |
"HDF-EOS" |
- NASA HDF-EOS |
"NITF" |
- National Image Transfer Format |
"STDS-DEM" |
- Standard Transfer Data Standard |
Parameters: destination - An object that specifies somehow the data destination. Can be ajava.lang.String, an java.io.OutputStream, ajava.nio.channels.FileChannel, whatever. It's up to the associated gridcoverage writer to make meaningful use of it. Parameters: format - the output format. The grid coverage writer. throws: IOException - if an error occurs during reading. |
|
|