Changes between Version 10 and Version 11 of FdoWmsNotes


Ignore:
Timestamp:
Feb 15, 2008, 10:16:23 AM (16 years ago)
Author:
jbirch
Comment:

Minor formatting...

Legend:

Unmodified
Added
Removed
Modified
  • FdoWmsNotes

    v10 v11  
    1 
     1[[PageOutline]]
    22= Overriding WMS Settings for !MapGuide Open Source Consumption =
    33'''If you wish, you can download a PDF version of this document at the bottom of the page.'''
     
    1616
    1717== 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
     18Before 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
    1921
    2022== Basic Configuration Document ==
     
    124126
    125127== 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.
     128A 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
    129130
    130131{{{
     
    246247== Creating the Feature Source in !MapGuide ==
    247248The 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.
    249250 2. Click on the !SetResource link in the left frame. A SETRESOURCE form will appear in the right frame.
    250251 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.
     
    256257After completing the steps above, a blank web page will take the place of the SETRESOURCE form.
    257258
     259Note that you have not yet uploaded the configuration document, so this is an incomplete feature source and will not work.
     260
    258261= Attaching the Configuration Document =
    259262This 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.
    261264 2. Click on the !SetResourceData link in the left frame. A SETRESOURCEDATA form will appear in the right frame.
    262265 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.