[mapserver-users] Can MapCache address a Group on my Mapserver?

thomas.bonfort at gmail.com thomas.bonfort at gmail.com
Thu Jan 9 08:58:15 PST 2014


MapCache doesn't actually interpret the layers from your source WMS server, it just splits the returned image data into tiles. So as Peter said, you can easily use multiple WMS layers in a single mapcache tileset by specifying multiple layers in your mapcache source, e.g.:

<source name="foobar" type="wms">
      <http>
         <url>http://myserver/cgi-bin/mapserv?map=/path/to/mymap.map</url>
      </http>
      <getmap>
         <params>
            <FORMAT>image/png</FORMAT>
            <LAYERS>layers1,layer2,layer3....,layerN</LAYERS>
         </params>
      </getmap>
   </source>

you can also group your layers in the mapfile directly, and reference that group name in your mapcache configuration.

--
thomas

On 9 janv. 2014, at 17:16, EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE <james.evans.4 at us.af.mil> wrote:

> Hi,
> Is it possible to represent a GROUP of 50 different layers on a  MapServer as a single Source/TileSet on a MapCache?  Does MapCache have any way of representing a grouping of layers?  
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list