ArcSDERasterImageReadParam.java | Class | This class represents the parameters passed to an ArcSDERasterReader each
time an image is read.
Some parameters from the parent class are interpreted strictly in this class.
Required parameters during a read:
- An open and connected
SeConnection used to suck out data from
ArcSDE for this image read operation.(setConnection())
- A
HashMap with
Integer keys equal to the
SeObjectId.longValue() of each
SeRasterBand which is to be read.
Values for each key should be the integer value of the band in the output
image to which the given SeRasterBand should be copied.
For
example, if your ArcSDE Raster contains four bands with
SeRasterBand.getId().longValue()s of 234,235,236 and 237, and you wish to map
those bands to the R,G,B and A bands in your ARGB image, you should create a
map as follows: Map m = new HashMap(); m.put(new Integer(234),
new Integer(1)); m.put(new Integer(234), new Integer(2));
m.put(new Integer(234), new Integer(3)); m.put(new Integer(234), new
Integer(0)); Note that the band indexes you choose will depend on
the type of BufferedImage you're writing to. |