<br><tt><font size=2>cascading getLegendGraphic is not supported</font></tt>
<br><font size=2 face="sans-serif">I already opened a ticket...yesterday!
for this enhancement</font>
<br><tt><font size=2>Ticket URL: <http://trac.osgeo.org/mapserver/ticket/3923></font></tt>
<br><font size=2 face="sans-serif">Steve<br>
</font>
<p>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Pierre GIRAUD <bluecarto@gmail.com>@lists.osgeo.org</b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : mapserver-users-bounces@lists.osgeo.org</font>
<p><font size=1 face="sans-serif">2011-06-17 09:33</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">Andrew Cowie <CowieA@landcareresearch.co.nz></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">"mapserver-users@lists.osgeo.org"
<mapserver-users@lists.osgeo.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">Re: [mapserver-users] Cascading Mapserver
- WMS client -        GetLegendGraphic ?</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br>
<br>
<br><tt><font size=2>Can someone please confirm that cascading getLegendGraphic
is not supported ?<br>
<br>
Thanks.<br>
<br>
Pierre<br>
<br>
On Fri, May 20, 2011 at 6:34 AM, Andrew Cowie<br>
<CowieA@landcareresearch.co.nz> wrote:<br>
> Hello list,<br>
><br>
><br>
><br>
> We have a cascading WMS using Mapserver as a client to request maps
from<br>
> another Mapserver. We have it working well, however we are wondering
whether<br>
> it is possible to do a GetLegendGraphic request to this top level
Mapserver<br>
> and have it in turn pass on that request to the underlying mapserver,
which<br>
> would then return the legend graphic.<br>
><br>
><br>
><br>
> Here’s a snippet of our ‘top level’ Mapserver mapfile, which sits
on our<br>
> public server:<br>
><br>
> ...<br>
><br>
>        LEGEND<br>
><br>
>              
STATUS OFF<br>
><br>
>              
KEYSIZE 30 15<br>
><br>
>              
KEYSPACING 10 10<br>
><br>
>              
LABEL<br>
><br>
>                     
COLOR 0 0 0<br>
><br>
>                     
FONT 'arialbd'<br>
><br>
>                     
TYPE truetype<br>
><br>
>                     
SIZE 10<br>
><br>
>              
END<br>
><br>
>        END<br>
><br>
>        LAYER<br>
><br>
>              
NAME ‘coastpoly’<br>
><br>
>              
TYPE RASTER<br>
><br>
>              
CONNECTIONTYPE WMS<br>
><br>
>              
CONNECTION "http://ourprivateserver/wms?"<br>
><br>
>              
PROCESSING "CLOSE_CONNECTION=DEFER"<br>
><br>
><br>
><br>
>              
METADATA<br>
><br>
>                     
"wms_name"          
       "coastpoly"<br>
><br>
>                     
"wms_title"                
"Topographic Coastline<br>
> Polygons"<br>
><br>
>                     
"wms_server_version"        "1.1.1"<br>
><br>
>                     
"wms_format"         
      "image/png"<br>
><br>
>                     
"wms_srs"                  
"EPSG:2193 EPSG:27200<br>
> EPSG:4326"<br>
><br>
>              
END<br>
><br>
>        END<br>
><br>
> ...<br>
><br>
><br>
><br>
> And a snippet from our underlying Mapserver:<br>
><br>
> ...<br>
><br>
>        LEGEND<br>
><br>
>              
STATUS OFF<br>
><br>
>              
KEYSIZE 30 15<br>
><br>
>              
KEYSPACING 10 10<br>
><br>
>              
LABEL<br>
><br>
>                     
COLOR 0 0 0<br>
><br>
>                     
FONT 'arialbd'<br>
><br>
>                     
TYPE truetype<br>
><br>
>                     
SIZE 10<br>
><br>
>              
END<br>
><br>
>        END<br>
><br>
>        LAYER<br>
><br>
>              
NAME 'coastpoly'<br>
><br>
>              
TYPE POLYGON<br>
><br>
>              
STATUS OFF<br>
><br>
>              
CONNECTIONTYPE postgis<br>
><br>
>              
CONNECTION "dbname='ourdb' host=’ourprivateserver’ port=5432<br>
> user='user' password=pass"<br>
><br>
>              
PROCESSING "CLOSE_CONNECTION=DEFER"<br>
><br>
>              
DATA 'the_geom FROM "data"."coastlinepoly" USING UNIQUE
gid<br>
> USING srid=2193'<br>
><br>
>              
PROJECTION<br>
><br>
>                     
"proj=tmerc" "lat_0=0" "lon_0=173" "k=0.9996"<br>
> "x_0=1600000" "y_0=10000000" "ellps=GRS80"
"towgs84=0,0,0,0,0,0,0"<br>
> "units=m"<br>
><br>
>              
END<br>
><br>
>              
EXTENT 983515.7211 4728776.8709 2117458.3527 6223676.2306<br>
><br>
>              
METADATA<br>
><br>
>                     
"wms_name"          
       "coastpoly"<br>
><br>
>              
       "wms_title"                
"Topographic Coastline<br>
> Polygons"<br>
><br>
>                     
"wms_version"              
"1.1.1"<br>
><br>
>                     
"wms_format"         
      "image/png"<br>
><br>
>                     
"wms_srs"                  
"EPSG:2193 EPSG:27200<br>
> EPSG:4326"<br>
><br>
>                     
"wms_abstract"<br>
> "Abstract"<br>
><br>
>              
END<br>
><br>
>              
CLASS<br>
><br>
>                     
NAME 'Coast Polygon'<br>
><br>
>                     
STYLE<br>
><br>
>                            
COLOR 225 223 197<br>
><br>
>                     
END<br>
><br>
>              
END<br>
><br>
>        END<br>
><br>
> ...<br>
><br>
><br>
><br>
> I think we may be missing something obvious here, so any ideas greatly<br>
> appreciated... J<br>
><br>
><br>
><br>
> Andrew<br>
><br>
><br>
><br>
> ________________________________<br>
> Please consider the environment before printing this email<br>
> Warning: This electronic message together with any attachments is<br>
> confidential. If you receive it in error: (i) you must not read, use,<br>
> disclose, copy or retain it; (ii) please contact the sender immediately
by<br>
> reply email and then delete the emails.<br>
> The views expressed in this email may not be those of Landcare Research
New<br>
> Zealand Limited. http://www.landcareresearch.co.nz<br>
><br>
> _______________________________________________<br>
> mapserver-users mailing list<br>
> mapserver-users@lists.osgeo.org<br>
> http://lists.osgeo.org/mailman/listinfo/mapserver-users<br>
><br>
><br>
<br>
<br>
<br>
-- <br>
Pierre GIRAUD<br>
http://www.camptocamp.com<br>
_______________________________________________<br>
mapserver-users mailing list<br>
mapserver-users@lists.osgeo.org<br>
http://lists.osgeo.org/mailman/listinfo/mapserver-users<br>
</font></tt>
<br>
<br>
<br>