| java.lang.Object org.wfp.vam.intermap.kernel.map.mapServices.MapService org.wfp.vam.intermap.kernel.map.mapServices.arcims.ArcIMSService
Field Summary | |
final public static int | TYPE |
Method Summary | |
public int | getActiveLayer() | public BoundingBox | getBoundingBox() | public BoundingBox | getDefBoundingBox() Builds a Bounding Box from the envelope tag in the GET_SERVICE_INFO
response. | public String | getErrorMsg() | public String | getGroupImageUrl(BoundingBox bBox, int width, int height, List imageNames) | public String | getImageUrl(BoundingBox bBox, int width, int height) Sends a GET_IMAGE request to the map server. | public String | getLegendUrl() Sends a GET_IMAGE request to the map server to get the legend. | public String | getShapefileUrl(BoundingBox bBox, int width, int height) Sends a GET_EXTRACT request to the map server. | public int | getType() | public Vector | getVisibleLayers() | public void | identify(int layer, int x, int y, int width, int height, int tolerance, String reqFormat) | public void | setActiveLayer(int layer) | public void | setLayerVisible(String id, boolean visible) | public Element | toElement() |
TYPE | final public static int TYPE(Code) | | |
ArcIMSService | public ArcIMSService(String url, String name) throws Exception(Code) | | Sets the ArcIMS map server URL and the service name.
Also sends a GET_SERVICE_INFO request to the map server and sets the
starting visibility for the layers as specified in the response.
The GET_SERVICE_INFO response can be retrieved using the toElement
method.
Parameters: url - the map server url Parameters: name - the map service name |
getActiveLayer | public int getActiveLayer()(Code) | | |
getDefBoundingBox | public BoundingBox getDefBoundingBox() throws Exception(Code) | | Builds a Bounding Box from the envelope tag in the GET_SERVICE_INFO
response.
The default service envelope |
getLegendUrl | public String getLegendUrl() throws Exception, ServiceException(Code) | | Sends a GET_IMAGE request to the map server to get the legend.
Parameters: bBox - a BoundingBox the URL of the image on the server throws: Exception - |
getType | public int getType()(Code) | | |
getVisibleLayers | public Vector getVisibleLayers()(Code) | | Returns an array of all visible layers
a Vector |
setLayerVisible | public void setLayerVisible(String id, boolean visible)(Code) | | Sets layer visibility
Parameters: id - layer id Parameters: visible - layer visibility |
toElement | public Element toElement()(Code) | | Returns an element represenation of the status of the map service
an Element |
Methods inherited from org.wfp.vam.intermap.kernel.map.mapServices.MapService | abstract public int getActiveLayer()(Code)(Java Doc) abstract public BoundingBox getBoundingBox()(Code)(Java Doc) abstract public BoundingBox getDefBoundingBox() throws Exception(Code)(Java Doc) abstract public String getImageUrl(BoundingBox bBox, int width, int height) throws ServiceException, Exception(Code)(Java Doc) public Element getInfo()(Code)(Java Doc) public Element getLastResponse()(Code)(Java Doc) abstract public String getLegendUrl() throws Exception(Code)(Java Doc) public String getName()(Code)(Java Doc) public String getServerURL()(Code)(Java Doc) public String getTitle()(Code)(Java Doc) abstract public int getType()(Code)(Java Doc) abstract public Vector getVisibleLayers()(Code)(Java Doc) abstract public void identify(int layer, int x, int y, int width, int height, int tolerance, String reqFormat) throws Exception(Code)(Java Doc) abstract public void setActiveLayer(int layer) throws Exception(Code)(Java Doc) abstract public void setLayerVisible(String id, boolean visible)(Code)(Java Doc) abstract public Element toElement()(Code)(Java Doc)
|
|
|