= Overriding WMS Settings for MapGuide Open Source Consumption = Configuration of WMS feature sources within MapGuide Open Source is generally done using one of the commercial (such as Autodesk MapGuide Studio) or open source (such as Webstudio) GUI's. Unfortunately, these GUI's currently do not allow the overriding of configuration information used in the WMS requests. Examples of these configuration options include: * Image transparency * Image format (png, jpeg, gif, etc) * Image background color * Coordinate system * Displaying of multiple WMS layers in a single MapGuide layer = Configuration Document = This section describes how to create the configuration document for the MapGuide WMS feature source. == Get the Capabilities Document == 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://?service=wms&request=GetCapabilities == Basic Configuration Document == This section describes a basic configuration document that configures and exposes a single WMS layer. Copy the following XML to a text editor. {{{ PNG true 0xFFFFFF 0 EPSG:4326 could be added. Once the substitutions have been made save the file. == Multiple WMS Layers in a Single MapGuide Layer == To get multiple WMS layers in a single MapGuide layer, it is enough to specify multiple Layer tags in the configuration document. When the resulting feature class (i.e., name substituted for %!FeatureClassName%) is specified in a layer, the layer will display all of the specified WMS layers. The following XML snippet shows how the multiple layers are specified: {{{ PNG true 0xFFFFFF 0 EPSG:4326