public class CombineImageSettings extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ARCIMS_PROTOCOL |
static String |
ARCSERVER_PROTOCOL |
static String |
IMAGE_PROTOCOL |
static String |
TMS_PROTOCOL |
static String |
WMS_PROTOCOL |
static String |
WMSC_PROTOCOL |
| Constructor and Description |
|---|
CombineImageSettings() |
| Modifier and Type | Method and Description |
|---|---|
void |
addUrl(CombineImageUrl ciu)
Add the CombineImageUrl
|
static CombineImageSettings |
fromJson(org.json.JSONObject settings) |
Integer |
getAngle() |
Bbox |
getBbox() |
Bbox |
getBboxFromUrls()
Gets the bbox from a url
|
Bbox |
getCalculatedBbox()
Corrects the BBOX to the ratio of the height / width.
|
List |
getCalculatedUrls()
Calculate the urls in the combineImageSettings.
|
Color |
getDefaultWktGeomColor() |
Integer |
getHeight() |
Map<String,String> |
getLegendMap() |
String |
getMimeType() |
org.json.JSONObject |
getOriginalJSON() |
ImageBbox |
getRequestBbox()
Get the request Bbox,height and width
|
Integer |
getSrid() |
String |
getTilingServiceUrl() |
List<CombineImageUrl> |
getUrls() |
Integer |
getWidth() |
Integer[] |
getWidthAndHeightFromUrls()
Try to resolve the width and height from the CombineImageUrl's
|
List |
getWktGeoms() |
void |
setAngle(Integer angle) |
void |
setBbox(double[] bbox) |
void |
setBbox(String bbox) |
void |
setDefaultWktGeomColor(Color defaultWktGeomColor) |
void |
setHeight(Integer height) |
void |
setLegendMap(Map legendMap) |
void |
setMimeType(String mimeType) |
void |
setOriginalJSON(org.json.JSONObject originalJSON) |
void |
setSrid(Integer srid) |
void |
setTilingServiceUrl(String tilingServiceUrl) |
void |
setUrls(List<CombineImageUrl> urls) |
void |
setWidth(Integer width) |
void |
setWktGeoms(List<CombineImageWkt> wktGeoms) |
void |
setWktGeoms(String[] wktGeoms)
Set the wktGeoms
|
public static final String WMS_PROTOCOL
public static final String ARCIMS_PROTOCOL
public static final String ARCSERVER_PROTOCOL
public static final String IMAGE_PROTOCOL
public static final String WMSC_PROTOCOL
public static final String TMS_PROTOCOL
public List getCalculatedUrls()
public Bbox getCalculatedBbox()
public void addUrl(CombineImageUrl ciu)
ciu - public void setWktGeoms(String[] wktGeoms)
wktGeoms - Array of wktGeomspublic Bbox getBboxFromUrls()
public Integer[] getWidthAndHeightFromUrls()
public Color getDefaultWktGeomColor()
public void setDefaultWktGeomColor(Color defaultWktGeomColor)
public String getMimeType()
public void setMimeType(String mimeType)
public List<CombineImageUrl> getUrls()
public void setUrls(List<CombineImageUrl> urls)
public List getWktGeoms()
public void setWktGeoms(List<CombineImageWkt> wktGeoms)
public Bbox getBbox()
public void setBbox(double[] bbox)
public Integer getSrid()
public void setSrid(Integer srid)
public Integer getWidth()
public void setWidth(Integer width)
public Integer getHeight()
public void setHeight(Integer height)
public String getTilingServiceUrl()
public void setTilingServiceUrl(String tilingServiceUrl)
public Integer getAngle()
public void setAngle(Integer angle)
public void setLegendMap(Map legendMap)
public org.json.JSONObject getOriginalJSON()
public void setOriginalJSON(org.json.JSONObject originalJSON)
public ImageBbox getRequestBbox()
public static CombineImageSettings fromJson(org.json.JSONObject settings) throws org.json.JSONException, Exception
org.json.JSONExceptionExceptionCopyright © 2016. All rights reserved.