Package org.geotools.ows.wms
Class 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
-
-
Field Summary
-
Fields inherited from class AbstractRequest
EXCEPTION_XML, hints, onlineResource, properties
-
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
-
-
Constructor Summary
Constructors Constructor Description GetMapRequest(URL onlineResource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 WMS1_1_0.GetMapRequest
getRequestException, getRequestFormat, initRequest, processKey
-
Methods inherited from class WMS1_0_0.GetMapRequest
createResponse, setExceptions, setProperty
-
Methods inherited from class AbstractGetMapRequest
addLayer, addLayer, addLayer, addLayer, addLayer, getFinalURL, isGeotoolsLongitudeFirstAxisOrderForced, setBBox, setBBox, setBGColour, setDimensions, setDimensions, setDimensions, setElevation, setFormat, setProperties, setSampleDimensionValue, setTime, setTransparent, setVendorSpecificParameter, setVersion, toServerCRS
-
Methods inherited from class AbstractWMSRequest
initService
-
Methods inherited from class AbstractRequest
getPostContentType, getProperties, getRequestHints, performPostOutput, requiresPost, setRequestHints
-
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface Request
getPostContentType, getProperties, getRequestHints, performPostOutput, requiresPost, setRequestHints
-
-
-
-
Constructor Detail
-
GetMapRequest
public GetMapRequest(URL onlineResource)
-
-
Method Detail
-
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 classWMS1_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 interfaceGetMapRequest
- Overrides:
setSRS
in classAbstractGetMapRequest
- Parameters:
srs
- A String indicating the Spatial Reference System to render the layers in.
-
-