%-- $Id$ --%> <%@ page language="java" contentType="text/html" pageEncoding="UTF-8" %> <%@ page import="org.deegree.framework.version.*" %>
CapabilitiesThe WMS Capabilites: Get Capabilities
Get Map
A simple GetMap Request
layers = StateOverview
styles = default style
Get MapA specialized GetMap Request
layers = StateOverview, Vegetation, Lakes, Roads
styles = default and BasicRoadsStyle
GetMapand again as an image:
and again as an image:
Get Feature InfoSome examples for GetFeatureInfo Requests
(simulating a "click" on the middle of the map of a GetMap Request):A GetFeatureInfo Request for GML output (Layers 'StateBoundary')
A GetFeatureInfo Request for html output, (Layers 'StateBoundary' and 'Counties')
A GetFeatureInfo Request for GML output, (Layers 'County Boundaries' + 'StateBoundary')
Describe LayerSome examples for DescribeLayer Requests:
A DescribeLayer Request on Layer 'StateBoundary'
A DescribeLayer Request on Layer 'Roads'
Get Map and StylesSome examples for the effect of styles on GetMap Requests:
Four examples of a simple GetMap Request, using the same LAYERS information but different STYLES:
Counties (default style)
Colourful Counties ('ColourfulCounties' style)
Grey Counties ('GreyCounties' style, small bounding box)
Grey Counties with labels ('GreyCounties' style, larger bounding box)
A simple GetMap Request: Zip Codes (default SLD style)
A simple GetMap Request: Zip Codes (Classified by Population SLD style)
A simple GetMap Request: Colourful Roads ('BasicRoadsStyle' style)
A simple GetMap Request: State boundaries with Colourful Roads ('BasicRoadsStyle' style)
A GetMap request with wrong style demonstrating EXCEPTIONS format application/application/vnd.ogc.se_xml
A GetMap request with wrong style demonstrating EXCEPTIONS format application/vnd.ogc.se_inimage
Example of component WMS requests (style definition by client):
SLD example:
<sld:StyledLayerDescriptor version="1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:sld="http://www.opengis.net/sld"
xsi:schemaLocation="http://www.opengis.net/sld
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd"
xmlns:app="http://www.deegree.org/app"
xmlns:gml="http://www.opengis.net/gml"
xmlns:ogc="http://www.opengis.net/ogc">
<sld:UserLayer>
<sld:Name>MyLayer</sld:Name>
<sld:LayerFeatureConstraints>
<sld:FeatureTypeConstraint>
<sld:FeatureTypeName>app:Railroads</sld:FeatureTypeName>
</sld:FeatureTypeConstraint>
</sld:LayerFeatureConstraints>
<sld:UserStyle>
<sld:FeatureTypeStyle>
<sld:Rule>
<sld:MinScaleDenominator>0</sld:MinScaleDenominator>
<sld:MaxScaleDenominator>999999999</sld:MaxScaleDenominator>
<sld:LineSymbolizer>
<sld:Stroke>
<sld:CssParameter name="stroke">#ff0000</sld:CssParameter>
<sld:CssParameter name="stroke-opacity">1.0</sld:CssParameter>
<sld:CssParameter name="stroke-width">1.0</sld:CssParameter>
<sld:CssParameter name="stroke-dasharray">1</sld:CssParameter>
</sld:Stroke>
</sld:LineSymbolizer>
</sld:Rule>
</sld:FeatureTypeStyle>
</sld:UserStyle>
</sld:UserLayer>
</sld:StyledLayerDescriptor>
This xml document needs to be url encoded to work as in the following example requests:
A GetMap Request sending SLD style information via HTTP GET (example red): red railroads
A GetMap Request sending SLD style information via HTTP GET (example green): green railroads
A GetMap with an SLD UserLayer: externally referenced from http://localhost:8080/deegree-wms/user_layer_style.xml.
Requires tomcat to be running on Port 8080 (Example of component WMS) Blue railroads (SLD UserStyle)