Below are some examples to explain services usage by using HTTP/GET and KVP encoding. |
||
Special WMS GetMap Requests |
Request / Description | Result |
---|---|
GetMap and Styles Four examples of a simple GetMap request, using the same LAYERS information but different STYLES: |
^ up |
WMS 1.1.1 GetMap Counties (default style)
Layer Counties using the default style
|
|
WMS 1.1.1 GetMap Colourful Counties
Layer Counties using the colourful style
|
|
WMS 1.1.1 GetMap Grey Counties large BoundingBox
Layer Counties using a grey style with a large bounding box
|
|
WMS 1.1.1 GetMap Grey Counties small BoundingBox
Layer Counties using a grey style with a smaller bounding box and scale dependent labeling
|
|
WMS 1.1.1 GetMap State Boundaries with Roads
Layers StateBoundaries and Roads with styles in just one request
|
|
GetMap and Exceptions GetMap requests demonstrating the different kinds of exception formats by using a faulty style name |
^ up |
WMS 1.1.1 GetMap demonstrating Exceptions format application/application/vnd.ogc.se_xml application/application/vnd.ogc.se_xml
|
|
WMS 1.1.1 GetMap demonstrating Exceptions format application/vnd.ogc.se_inimage application/vnd.ogc.se_inimage
|
|
GetMap and SLD Example of component WMS (style definition by client) |
^ up |
WMS 1.1.1 GetMap with SLD HTTP GET (red railroads) A GetMap request sending SLD UserLayer and user defined style information via HTTP GET and an SLD_BODY Please note: the SLD_BODY needs to get URL encoded before being send to the service
HTTP KVP Request: |
|
WMS 1.1.1 GetMap client style with UserLayer
A GetMap request sending SLD UserLayer and user defined style information via HTTP GET and an SLD reference (user_layer_style.xml).
HTTP KVP Request:
|
|
WMS 1.1.1 GetMap client style with NamedLayer and UserStyle
A GetMap request sending SLD NamedLayer and user style information via HTTP GET and an SLD reference (named_layer_user_style.xml). In addition to the above request, a filter has been added to only return objects with id <= 842.HTTP KVP Request: ...services? REQUEST=GetMap SERVICE=WMS VERSION=1.1.1 WIDTH=500 HEIGHT=500 TRANSPARENT=TRUE FORMAT=image/png BBOX=372233.9342431239,4460438,489069,4552689 SRS=EPSG:26912 SLD=${default.webapp.url}/sld/named_layer_user_style.xml |