Changes between Version 10 and Version 11 of FdoWmsNotes
- Timestamp:
- 02/15/08 10:16:23 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FdoWmsNotes
v10 v11 1 1 [[PageOutline]] 2 2 = Overriding WMS Settings for !MapGuide Open Source Consumption = 3 3 '''If you wish, you can download a PDF version of this document at the bottom of the page.''' … … 16 16 17 17 == Get the Capabilities Document == 18 Before anything can be done, you should get the capabilities document for the WMS service. This document contains the list of all the layers and possible values that can be used for the configuration parameters. To do this: Start a web browser and go to the location http://<WMSServiceAddress>?service=wms&request=!GetCapabilities 18 Before anything can be done, you should get the capabilities document for the WMS service. This document contains the list of all the layers and possible values that can be used for the configuration parameters. To do this: Start a web browser and go to the location 19 20 !http://<WMSServiceAddress>?service=wms&request=!GetCapabilities 19 21 20 22 == Basic Configuration Document == … … 124 126 125 127 == Specifying Multiple Feature Classes == 126 A WMS service typically serves multiple layers. Using the basic configuration document approach above it is a lot of work to expose the layers because one feature source per WMS layer would need to be created. The following describes how to specify more than one feature class per !MapGuide WMS feature source; a feature class corresponds to a set of WMS layers that can be displayed in a single !MapGuide layer. Note that for each feature class, multiple WMS layers could also be specified as described in the Multiple WMS Layers in a Single !MapGuide Layer section. 127 128 Three sections need to be replicated in order to create another feature class. The replicated sections are in bold below. The sequence of the sections is important. 128 A WMS service typically serves multiple layers. Using the basic configuration document approach above it is a lot of work to expose the layers because one feature source per WMS layer would need to be created. The following is an example of how to specify more than one feature class per !MapGuide WMS feature source; a feature class corresponds to a set of WMS layers that can be displayed in a single !MapGuide layer. Note that for each feature class, multiple WMS layers could also be specified as described in the Multiple WMS Layers in a Single !MapGuide Layer section. 129 129 130 130 131 {{{ … … 246 247 == Creating the Feature Source in !MapGuide == 247 248 The next step is to upload the feature source document onto the !MapGuide site. The steps to do this are as follows: 248 1. Start a web browser and go to the location http://<machinename>/mapguide/mapagent/index.html, where machinename is the location in which !MapGuide is installed.249 1. Start a web browser and go to the location !http://<machinename>/mapguide/mapagent/index.html, where machinename is the location in which !MapGuide is installed. 249 250 2. Click on the !SetResource link in the left frame. A SETRESOURCE form will appear in the right frame. 250 251 3. In the Resource ID field, type the name of the resource that you want to create. Make sure that the name ends with .!FeatureSource. The resource name is case-sensitive. … … 256 257 After completing the steps above, a blank web page will take the place of the SETRESOURCE form. 257 258 259 Note that you have not yet uploaded the configuration document, so this is an incomplete feature source and will not work. 260 258 261 = Attaching the Configuration Document = 259 262 This section describes how to attach the configuration document created above to the feature source. 260 1. Start a web browser and go to the location http://<machinename>/mapguide/mapagent/index.html, where machinename is the location in which !MapGuide is installed. Figure 1 above shows how the web page should look.263 1. Start a web browser and go to the location !http://<machinename>/mapguide/mapagent/index.html, where machinename is the location in which !MapGuide is installed. Figure 1 above shows how the web page should look. 261 264 2. Click on the !SetResourceData link in the left frame. A SETRESOURCEDATA form will appear in the right frame. 262 265 3. In the Resource ID field, type the name of the resource to which you want to add the configuration document. This is the same feature source resource that you created above. The resource name is case sensitive.