public class ImageServiceParameters
extends com.google.gwt.core.client.JavaScriptObject
Modifier and Type | Class and Description |
---|---|
static class |
ImageServiceParameters.Formats |
static class |
ImageServiceParameters.Interpolations |
Modifier and Type | Method and Description |
---|---|
static ImageServiceParameters |
create()
Creates a new ImageServiceParameters object.
|
com.google.gwt.core.client.JsArrayInteger |
getBandIds()
Array of current band selections.
|
double |
getCompressionQuality()
Current compression quality value.
|
Extent |
getExtent()
Extent of the exported image.
|
ImageServiceParameters.Formats |
getFormat()
Map image format.
|
int |
getHeight()
Requested image height in pixels.
|
ImageServiceParameters.Interpolations |
getInterpolation()
Current interpolation method.
|
MosaicRule |
getMosaicRule()
Specifies the mosaic rule when defining how individual images should be mosaicked.
|
int |
getNoData()
The pixel value that represents no information.
|
RasterFunction |
getRenderingRule()
Specifies the rendering rule for how the requested image should be rendered.
|
TimeExtent |
getTimeExtent()
Define the time extent for the image.
|
int |
getWidth()
Requested image width in pixels.
|
void |
setBandIds(int[] bandIds)
Set the bandIds parameter.
|
void |
setCompressionQuality(double quality) |
void |
setExtent(Extent extent) |
void |
setFormat(ImageServiceParameters.Formats format)
Map image format.
|
void |
setHeight(int height) |
void |
setInterpolation(ImageServiceParameters.Interpolations interpolation)
Current interpolation method.
|
void |
setMosaicRule(MosaicRule mosaicRule) |
void |
setNoData(int pixel) |
void |
setRenderingRule(RasterFunction rule) |
void |
setTimeExtent(TimeExtent timeExtent) |
void |
setWidth(int width) |
public static final ImageServiceParameters create()
public final void setBandIds(int[] bandIds)
bandIds
- - Array of current band selections.public final com.google.gwt.core.client.JsArrayInteger getBandIds()
public final void setCompressionQuality(double quality)
quality
- - Current compression quality value. The compression quality controls how much loss
the image will be subjected to. Only valid with JPG image types.public final double getCompressionQuality()
public final void setExtent(Extent extent)
extent
- - Extent of the exported image.public final Extent getExtent()
public final void setFormat(ImageServiceParameters.Formats format)
Map image format.
Known values: png8 | png24 | jpg | bmp | gifDefault value: png8
format
- public final ImageServiceParameters.Formats getFormat()
public final void setHeight(int height)
height
- - Requested image height in pixels.public final int getHeight()
public final void setInterpolation(ImageServiceParameters.Interpolations interpolation)
interpolation
- public final ImageServiceParameters.Interpolations getInterpolation()
public final MosaicRule getMosaicRule()
public final void setMosaicRule(MosaicRule mosaicRule)
mosaicRule
- - Specifies the mosaic rule when defining how individual images should be mosaicked.public final int getNoData()
public final void setNoData(int pixel)
pixel
- - The pixel value that represents no information.public final RasterFunction getRenderingRule()
public final void setRenderingRule(RasterFunction rule)
rule
- - Specifies the rendering rule for how the requested image should be
rendered. View the Raster Functions help topic in the REST help for more details.public final TimeExtent getTimeExtent()
public final void setTimeExtent(TimeExtent timeExtent)
timeExtent
- - Define the time extent for the image.public final int getWidth()
public final void setWidth(int width)
width
- - Requested image width in pixels.