beautypg.com

Pitney Bowes MapXtreme User Manual

Page 351

background image

Chapter 19: Web Map Service

Setting up a MapXtreme WMS Server

MapXtreme v7.1

358

Developer Guide

1. Open WMSSample.xml in a text editor and modify line to point

to your WMS Server.
You can modify other elements as you see fit, including the server name, title, abstract, keyword
lists and vocabularies, contact information, fees, and access constraints.

Sample WMS Server
Sample WMS Server
This is a sample WMS server

biota

wms:Keyword>

biota

wms:Keyword>

rivers


http://localhost:port/WMS/GetMap.ashx

wms:OnlineResource>

$10
none

2. Register your data layers by modifying the paths in the . Every

layer you wish to serve on your WMS needs an entry. The following is a portion of the
WMSSample.xml that identifies TAB files for a sample WMS Server:

xmlns="http://www.mapinfo.com/mxp">

STATES
MYPATH\USA.TAB


xmlns="http://www.mapinfo.com/mxp">

US_HIWAY
MYPATH\US_HIWAY.TAB


xmlns="http://www.mapinfo.com/mxp">

OCEAN
MYPATH\OCEAN.TAB

3. Describe the layers you want to host on your WMS server under the

section. You will need one entry for every layer you plan to offer on your WMS server. Layers can