ilog.views.maps.format.oracle
Class IlvRasterSDOReader

java.lang.Object
  extended by ilog.views.maps.raster.IlvRasterAbstractReader
      extended by ilog.views.maps.format.oracle.IlvRasterSDOReader
All Implemented Interfaces:
IlvPersistentObject, IlvMapFeatureIterator, IlvMapReusableFeatureIterator

public class IlvRasterSDOReader
extends IlvRasterAbstractReader

IlvRasterSDOReader represents an Oracle SDO reader that reads images from Oracle GeoRaster objects.

Since:
JViews 8.1

Field Summary
 
Fields inherited from class ilog.views.maps.raster.IlvRasterAbstractReader
needReload
 
Constructor Summary
IlvRasterSDOReader(IlvInputStream stream)
          Constructs an IlvSDORasterReader from a specific input stream.
IlvRasterSDOReader(IlvSDOConnection sdoConnection, String rasterLayerName)
          Constructs an IlvSDORasterReader using a specific SQL connection and a layername.
 
Method Summary
 IlvCoordinateSystem getCoordinateSystem()
          Returns the spatial reference system that describes the system of geometric coordinates for the map features.
 IlvMathTransform getInternalTransformation(int imageIndex)
          Returns the projection associated with the raster image stored at a given index.
 IlvFeatureAttributeProperty getProperties(int imageIndex)
          This method always returns null.
 void write(IlvOutputStream stream)
          Writes this IlvSDORasterReader instance to the specified stream.
 
Methods inherited from class ilog.views.maps.raster.IlvRasterAbstractReader
addRaster, computeGisImageBounds, computeLimits, createRasterTileLoader, dispose, getDefaultFeatureRenderer, getImageBounds, getImageCount, getInverseTransformation, getLowerRightCorner, getLowerRightCorner, getMaximumIntervalsForDeterminingImageLocation, getNextFeature, getRasterMappedBuffer, getRasterProperties, getTileLoader, getTileLoader, getTileLoaders, getTransformation, getUpperLeftCorner, getUpperLeftCorner, isGeoreferenced, isHighQualityRendering, isNeedReload, reload, removeRaster, restart, setHighQualityRendering, setMaximumIntervalsForDeterminingImageLocation, setTransformation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvRasterSDOReader

public IlvRasterSDOReader(IlvInputStream stream)
                   throws IlvReadFileException
Constructs an IlvSDORasterReader from a specific input stream.

Parameters:
stream - The input stream to read from.
Throws:
IlvReadFileException - when an exception occurs during the reading operation for this object.

IlvRasterSDOReader

public IlvRasterSDOReader(IlvSDOConnection sdoConnection,
                          String rasterLayerName)
Constructs an IlvSDORasterReader using a specific SQL connection and a layername.

Parameters:
sdoConnection - The SQL connection to fetch the images from.
rasterLayerName - The name of the SDO layer containing images.
Method Detail

getInternalTransformation

public IlvMathTransform getInternalTransformation(int imageIndex)
Returns the projection associated with the raster image stored at a given index.

Specified by:
getInternalTransformation in class IlvRasterAbstractReader
Parameters:
imageIndex - The index of the raster image to return.
Returns:
The projection associated with the raster image stored at imageIndex.
See Also:
IlvRasterAbstractReader.getInternalTransformation(int)

getProperties

public IlvFeatureAttributeProperty getProperties(int imageIndex)
This method always returns null.

Specified by:
getProperties in class IlvRasterAbstractReader
Parameters:
imageIndex - The index of the image.
Returns:
Always returns null.
See Also:
IlvRasterAbstractReader.getProperties(int)

getCoordinateSystem

public IlvCoordinateSystem getCoordinateSystem()
Returns the spatial reference system that describes the system of geometric coordinates for the map features.

Returns:
The spatial reference system that describes the system of geometric coordinates for the map features.
See Also:
IlvMapFeatureIterator.getCoordinateSystem()

write

public void write(IlvOutputStream stream)
           throws IOException
Writes this IlvSDORasterReader instance to the specified stream.

Specified by:
write in interface IlvPersistentObject
Overrides:
write in class IlvRasterAbstractReader
Parameters:
stream - The output stream to write to.
Throws:
IOException - when an exception occurs during the write operation for this object.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.