[Tilecache] wms_name

christopher.schmidt at nokia.com christopher.schmidt at nokia.com
Wed Jan 19 16:20:06 EST 2011


I'm assuming that you're saying you want to access the MapServer
WMS Layer via TileCache; in that case, you just say:

 layers=argentia_brasil

The wms_name is from MapServer to your cascaded server,
not from TileCache to MapServer.

(If you wanted to talk to the remote server directly,
you can just provide a layers=2,3,12,13 -- TileCache
doesn't really care.)

-- Chris

On Jan 19, 2011, at 3:34 PM, ext Aníbal Pacheco wrote:

> Hello list, setting up tilecache with CGI was out-of-the-box, great!.
> But now I have a problem trying to map a WMS layer defined in mapserver to tilecache, the layer takes several layers from a WMS service.
> 
> Here is the definition in the .map:
> 
> LAYER
>     NAME "argentina_brasil"
>     TYPE POLYGON
>     STATUS ON
>     CONNECTIONTYPE WMS
>     CONNECTION "http://somedomain.com/somepath/WMSServer"
>     METADATA
>         "DESCRIPTION" "Argentina_Brasil"
>         "wms_srs" "EPSG:32721"
>         "wms_name" "2,3,12,13"
>         "wms_server_version" "1.1.1"
>         "wms_format" "image/png"
>     END
> END
> 
> 
> The wms_name is the problem, how to write that in the tilecache conf?
> 
> Thanks
> _______________________________________________
> Tilecache mailing list
> Tilecache at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/tilecache



More information about the Tilecache mailing list