org.deegree.io.oraclegeoraster
Class GeoRasterWriter
java.lang.Object
org.deegree.io.oraclegeoraster.GeoRasterWriter
public class GeoRasterWriter
- extends java.lang.Object
This class offers one public static method for importing an image read from a file into Oracle
GeoRaster Database. To work correctly following assumptions are made:
- a worldfile is assigend to the image file
- DLLTrigger has been set for RDT-Table
- no mosaicing and pyramid calculations will be perform by this class
- Version:
- $Revision: 6251 $, $Date: 2007-03-19 16:59:28 +0100 (Mo, 19 Mrz 2007) $
- Author:
- Andreas Poth, last edited by: $Author: poth $
Method Summary |
static double[] |
createParsFromWorldfile(java.io.Reader reader)
|
static void |
importRaster(java.sql.Connection connection,
java.lang.String imageFile,
java.lang.String worldFilename,
java.lang.String rdtName,
java.lang.String imageTableName,
java.lang.String georColName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeoRasterWriter
public GeoRasterWriter()
importRaster
public static void importRaster(java.sql.Connection connection,
java.lang.String imageFile,
java.lang.String worldFilename,
java.lang.String rdtName,
java.lang.String imageTableName,
java.lang.String georColName)
throws java.lang.Exception
- Parameters:
connection
- database connectionimageFile
- absolut path to the image file to importworldFilename
- name of the images worldfilerdtName
- name of the RDT tableimageTableName
- name of the tabvle to store the imagegeorColName
- name of the GeoRaster column in imageTableName
- Throws:
java.lang.Exception
createParsFromWorldfile
public static double[] createParsFromWorldfile(java.io.Reader reader)
throws java.lang.Exception
- Throws:
java.lang.Exception
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org