Dataset mappings

Normally you don't need to specify individual layers for your providers. Each layer is identified by three attributes: id, wfs, and wms. As long as these three values are the same, a layer will be included automatically.

If the values of these attributes don't match, you must use a <dataset> element to configure the layer, as shown in this example:

<CONFIG
wms="http://servername/OGCProviderWMS/WMSService"
wfs="http://servername/OGCProviderWFS/WFSService"
wfsversion="1.1.0"
wmsversion="1.3.0"
cachetime="0">
   <mapping>
      <dataset id="NYWat" wfs="NYWater" wms=”NY_Water” />
   </mapping>
</CONFIG>