mapcache icon indicating copy to clipboard operation
mapcache copied to clipboard

mapcache - WMTS service accessing to a defined style in the WMS source

Open hesana opened this issue 14 years ago • 0 comments

It would be useful to access to the different defined styles in the wms source.

<source name="layer_source" type="wms">
      <getmap>
         <params>
            <FORMAT>image/png</FORMAT>
            <LAYERS>layer1</LAYERS>
            <map>/var/www/mapserver/mapfile/layer.map</map>
            <STYLE>style1, style2 </STYLE>
        </params>
      </getmap>
     <http>
         <url>http://localhost/cgi-bin/mapserv</url>
      </http>
  </source>

At the moment only is possible to use the default style. To use different styles I would have to define different mapfiles with 1 default style/layer and, if it's possible, it would be cleaner to use style parameter .

hesana avatar Jun 29 '12 11:06 hesana