Pitney Bowes MapXtreme User Manual

Page 352

Advertising
background image

Chapter 19: Web Map Service

Setting up a MapXtreme WMS Server

MapXtreme v7.1

359

Developer Guide

also be nested so that by requesting a parent layer, all the child layers are included in the
response.
The following example is the entry for a single layer called States. The bold text below call out
the elements added in support of WMS 1.3.0.
For more information about how to build these entries, see

Configuring Layer Information for

a WMS Server

.

<mxp-wms:WmsLayer>

<mxp-wms:Name>States</mxp-wms:Name>
<mxp-wms:Title>States</mxp-wms:Title>
<mxp:SRSName>EPSG:4326</mxp:SRSName>
<mxp-wms:Attribution type="FGDC:1998">

<mxp-wms:Title>Attribution</mxp-wms:Title>
<mxp-wms:OnlineResource

xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
xlink:href="http://localhost/metadata/roads.txt">

</mxp-wms:OnlineResource>
<mxp-wms:LogoURL width="500" height="600">

<mxp-wms:Format>text/plain</mxp-wms:Format>
<mxp-wms:OnlineResource

xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
xlink:href="http://localhost/metadata/roads.txt">

</mxp-wms:OnlineResource>

</mxp-wms:LogoURL>

</mxp-wms:Attribution>
<mxp-wms:MetadataURL type="FGDC:1998">

<mxp-wms:Format>text/plain</mxp-wms:Format>
<mxp-wms:OnlineResource

xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
xlink:href="http://localhost/metadata/roads.txt" />

</mxp-wms:MetadataURL>
<mxp-wms:MetadataURL type="ISO19115:2003">

<mxp-wms:Format>text/xml</mxp-wms:Format>
<mxp-wms:OnlineResource

xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
xlink:href="http://localhost/metadata/roads.xml" />

</mxp-wms:MetadataURL>
<mxp-wms:FeatureListURL>

<mxp-wms:Format>text/xml</mxp-wms:Format>
<mxp-wms:OnlineResource

xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
xlink:href="http://localhost/featurelist/feature1.xml" />

</mxp-wms:FeatureListURL>
<mxp-wms:FeatureListURL>

<mxp-wms:Format>text/plain</mxp-wms:Format>
<mxp-wms:OnlineResource

xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
xlink:href="http://localhost/featurelist/feature2.xml" />

</mxp-wms:FeatureListURL>
<mxp-wms:WmsStyleSet>

<mxp-wms:WmsStyle>

<mxp-wms:Name>BlueFill</mxp-wms:Name>

Advertising