| java.lang.Object org.geotools.arcsde.gce.ArcSDEPyramid
ArcSDEPyramid | public class ArcSDEPyramid (Code) | | This class represents an ArcSDE Raster Pyramid. Basically, it wraps the SeRasterAttr
object and implements some convenience methods for doing calculations with it.
author: Saul Farber |
Constructor Summary | |
public | ArcSDEPyramid(SeRasterAttr rasterAttributes, CoordinateReferenceSystem crs) Creates an in-memory representation of an ArcSDE Raster Pyramid. | public | ArcSDEPyramid(int tileWidth, int tileHeight, int numLayers) Don't use this constructor. |
Method Summary | |
public void | addPyramidLevel(int level, SeExtent extent, CoordinateReferenceSystem crs, SDEPoint offset, int xTiles, int yTiles, Dimension imageSize) Don't use this method. | public RasterQueryInfo | fitExtentToRasterPixelGrid(ReferencedEnvelope reqEnv, int rasterLvl) Given a requested envelope and a chosen raster level, figure out and return the
actual SDE raster tiles, image size and the exact envelope of that image. | public int | getNumLevels() | public ArcSDEPyramidLevel | getPyramidLevel(int level) | public Dimension | getTileDimension() | public int | pickOptimalRasterLevel(ReferencedEnvelope requestEnvelope, Rectangle pixelDimensions) Given this raster's pyramid info this method picks the optimal pyramid
level for rendering this request. |
tileWidthtileHeight | int tileWidthtileHeight(Code) | | |
ArcSDEPyramid | public ArcSDEPyramid(SeRasterAttr rasterAttributes, CoordinateReferenceSystem crs) throws DataSourceException(Code) | | Creates an in-memory representation of an ArcSDE Raster Pyramid. Basically it wraps the
supplide SeRasterAttr object and implements some convenience logic for extracting information/
doing calculations with it.
Parameters: rasterAttributes - the SeRasterAttr object for the raster of interest. Parameters: crs - throws: DataSourceException - |
ArcSDEPyramid | public ArcSDEPyramid(int tileWidth, int tileHeight, int numLayers)(Code) | | Don't use this constructor. It only exists for unit testing purposes.
Parameters: tileWidth - DON'T USE Parameters: tileHeight - DON'T USE Parameters: numLayers - DON'T USE |
addPyramidLevel | public void addPyramidLevel(int level, SeExtent extent, CoordinateReferenceSystem crs, SDEPoint offset, int xTiles, int yTiles, Dimension imageSize)(Code) | | Don't use this method. It's only public for unit testing purposes.
Parameters: level - DON'T USE Parameters: extent - DON'T USE Parameters: crs - DON'T USE Parameters: offset - DON'T USE Parameters: xTiles - DON'T USE Parameters: yTiles - DON'T USE Parameters: imageSize - DON'T USE |
fitExtentToRasterPixelGrid | public RasterQueryInfo fitExtentToRasterPixelGrid(ReferencedEnvelope reqEnv, int rasterLvl)(Code) | | Given a requested envelope and a chosen raster level, figure out and return the
actual SDE raster tiles, image size and the exact envelope of that image.
Parameters: reqEnv - The original requested envelope. Parameters: rasterLvl - The chosen pyramid level at which to best-fit the requsted envelope. |
getNumLevels | public int getNumLevels()(Code) | | |
pickOptimalRasterLevel | public int pickOptimalRasterLevel(ReferencedEnvelope requestEnvelope, Rectangle pixelDimensions) throws DataSourceException(Code) | | Given this raster's pyramid info this method picks the optimal pyramid
level for rendering this request.
Parameters: requestEnvelope - The requested geographical extent Parameters: pixelDimensions - The request pixel size of the image the integer number of the raster level most appropriate for thisrequest. |
|
|