[Tilecache] Newbie question

Simon Mercier mercier.simon at gmail.com
Thu Jan 21 09:04:00 EST 2010


david, to combine your 2 WMS, you have to build a mapfile and group them
with a GROUP tag... like this:

MAP
..
WEB
..
  "wms_onlineresource"         "
http://your_server/cgi-bin/mapserv?map=/srv/map/gr_wms.map"
END
..
    LAYER
        NAME "STREET_PPS_L"
        GROUP "GROUP_WMS"    <-------------------
        TYPE RASTER
        CONNECTION "http://url_to_wms_1"
        CONNECTIONTYPE WMS
        MAXSCALE 60000
        MINSCALE 2000
        METADATA
            "wms_srs"             "EPSG:32198"
            "wms_group_title"    "group_wms_title"  <-------------------
            "wms_name"           "street_pps"
            "wms_title"              "Street"
            "wms_server_version"  "1.1.1"
            "wms_format"          "image/png"
        END
    END
    LAYER
        NAME "NAME_PPS_L"
        GROUP "GROUP_WMS"   <-------------------
        TYPE RASTER
        CONNECTION "http://url_to_wms_1"
        CONNECTIONTYPE WMS
        MAXSCALE 60000
        MINSCALE 2000
        METADATA
            "wms_srs"             "EPSG:32198"
            "wms_group_title"    "group_wms_title"  <-------------------
            "wms_name"           "NAME_PPS_L"
            "wms_title"              "Label"
            "wms_server_version"  "1.1.1"
            "wms_format"          "image/png"
        END
    END
END

2010/1/21 David Alda Fernandez de Lezea <dalda at ikt.es>

>  Hello list,
>
> I'm quite new in Tilecache, and I have some questions to which I don't find
> any answer anywhere. As I posted yesterday, I'm developing a GIS Viewer
> based on MapServer + Openlayers + Tilecache. I've managed to use tilecache
> with a WMS layer, but now I want to combine two WMS layer to be tiled
> together (an ortophoto and some parcels). Is this possible?? If it's
> possible, what are the steps to get it work together??
>
> Thanks in advance.
>
>
>
>
>
>
> Un saludo,
>
>
>
>
> ··················································································
>
> *David Alda Fernández de Lezea*
>
> Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad
>
>
>
> *IKT*
>
> Granja Modelo s/n · 01192 · Arkaute (Araba)
>
>
>
> ··················································································
> Tlfnos.: 945-00-32-95                         Fax: 945-00.32.90
>
> ··················································································
> email: dalda at ikt.es                                web: www.ikt.es
>
> ··················································································
>
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20100121/b879737b/attachment.html


More information about the Tilecache mailing list