Below are some examples to explain services usage by using HTTP/GET and KVP encoding. |
||
Basic WMPS requests |
Request | Description |
---|---|
GetCapabilities Retrieve capabilities information |
^ up |
WMPS 1.1.1 GetCapabilities |
Retrieve capabilities information by using the following parameters. ...services? REQUEST=GetCapabilities version=1.1.1 service=WMPS |
PrintMap Print a map with a WMPS |
^ up |
WMPS 1.1.1 PrintMap using BBOX |
A simple PrintMap Request using a Bounding Box: ...services? REQUEST=PrintMap SERVICE=WMPS VERSION=1.1.1 WIDTH=500 HEIGHT=500 LAYERS=StateBoundary TRANSPARENT=TRUE BBOX=408430.8964418412,4490191.868920919,532143.0330999622,4583782.789697062 SRS=EPSG:26912 STYLES=default TEMPLATE=template_1 EMAIL=crashtest@dummy.com TITLE=The State of Utah TEXTAREAS= AUTHOR:deegree DESCRIPTION:This is Utah NOTES:just a little example Date:2010-04-16 LOGO_URL:http://localhost:8080/deegree-wmps/images/logo-deegree.png COPYRIGHT=deegree |
WMPS 1.1.1 PrintMap using CENTER and a SCALEBAR |
A simple PrintMap Request using the Center Parameter, a Legend and a Scalebar: ...services? REQUEST=PrintMap SERVICE=WMPS VERSION=1.1.1 WIDTH=500 HEIGHT=500 LAYERS=Municipalities TRANSPARENT=TRUE CENTER=427538,4497780 SCALE=50000 SRS=EPSG:26912 STYLES=default TEMPLATE=template_1 EMAIL=crashtest@dummy.com TITLE=The Municipalities in Utah TEXTAREAS= AUTHOR:deegree DESCRIPTION:This is Utah NOTES:just a little example Date:2010-04-16 LOGO_URL:http://localhost:8080/deegree-wmps/images/logo-deegree.png COPYRIGHT=deegree SCALEBAR=TRUE LEGEND=TRUE |
GetAvailableTemplates Get a list of available templates |
^ up |
WMPS 1.1.1 GetAvailableTemplates |
GetAvailableTemplates Request, which receives a list of all available templates for the WMPS ...services? SERVICE=WMPS REQUEST=GetAvailableTemplates version=1.1.1 |
DescribeTemplate Get detailed information about a template |
^ up |
WMPS 1.1.1 DescribeTemplate |
DescripeTemplate Request, which receives detailed informations about the template named template_1 ...services? SERVICE=WMPS REQUEST=DescribeTemplate version=1.1.1 template=template_1 |