org.geotools.data.wms
Class WMS1_3_0.GetMapRequest
Object
AbstractRequest
AbstractWMSRequest
AbstractGetMapRequest
WMS1_0_0.GetMapRequest
WMS1_1_0.GetMapRequest
WMS1_1_1.GetMapRequest
WMS1_3_0.GetMapRequest
- All Implemented Interfaces:
- Request, GetMapRequest
- Enclosing class:
- WMS1_3_0
public static class WMS1_3_0.GetMapRequest
- extends WMS1_1_1.GetMapRequest
Fields inherited from interface GetMapRequest |
BBOX, BGCOLOR, ELEVATION, EXCEPTION_BLANK, EXCEPTION_INIMAGE, EXCEPTION_XML, EXCEPTIONS, FORMAT, HEIGHT, LAYERS, REMOTE_OWS_TYPE, REMOTE_OWS_WCS, REMOTE_OWS_WFS, REMOVE_OWS_URL, SLD, SLD_BODY, SRS, STYLES, TIME, TRANSPARENT, WFS, WIDTH |
Method Summary |
protected void |
initVersion()
Sets up the version number for this request. |
void |
setSRS(String srs)
From the Web Map Service Implementation Specification: "The required SRS
parameter states which Spatial Reference System applies to the values
in the BBOX parameter. |
Methods inherited from class AbstractGetMapRequest |
addLayer, addLayer, addLayer, addLayer, addLayer, getFinalURL, setBBox, setBBox, setBGColour, setDimensions, setDimensions, setDimensions, setElevation, setProperties, setSampleDimensionValue, setTime, setTransparent, setVendorSpecificParameter, setVersion, toServerCRS |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WMS1_3_0.GetMapRequest
public WMS1_3_0.GetMapRequest(URL onlineResource)
initVersion
protected void initVersion()
- Description copied from class:
AbstractRequest
- Sets up the version number for this request. Typically something like
setProperty("VERSION", "1.1.1");
- Overrides:
initVersion
in class WMS1_1_1.GetMapRequest
setSRS
public void setSRS(String srs)
- Description copied from class:
AbstractGetMapRequest
- From the Web Map Service Implementation Specification: "The required SRS
parameter states which Spatial Reference System applies to the values
in the BBOX parameter. The value of the SRS parameter shall be on of
the values defined in the character data section of an <SRS> element
defined or inherited by the requested layer. The same SRS applies to
all layers in a single request. If the WMS has declared SRS=NONE for a
Layer, then the Layer does not have a well-defined spatial reference
system and should not be shown in conjunction with other layers. The
client shall specify SRS as "none" in the GetMap request and the Server
may issue a Service Exception otherwise."
- Specified by:
setSRS
in interface GetMapRequest
- Overrides:
setSRS
in class AbstractGetMapRequest
- Parameters:
srs
- A String indicating the Spatial Reference System to render
the layers in.
Copyright © 1996-2014 Geotools. All Rights Reserved.