<HTML dir=ltr><HEAD>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19046"></HEAD>
<BODY>
<DIV dir=ltr id=idOWAReplyText50207>
<DIV dir=ltr><FONT color=#000000 size=2 face=Arial>Hi Tamas,</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT> </DIV>
<DIV dir=ltr><FONT size=2 face=Arial>The notion we had was that a GetLegendGraphic on a union layer would just work in the same way as a GetLegendGraphic on a layer group does at the moment. i.e. Displays all of the classes for all of the source layers.</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT> </DIV>
<DIV dir=ltr><FONT size=2 face=Arial>cheers</FONT></DIV></DIV>
<DIV dir=ltr id=idSignature26515>
<DIV RE>__________________________________ </DIV>
<DIV RE><FONT size=2 face="Courier New">Keith Moss</FONT></DIV>
<DIV RE><FONT size=2 face="Courier New">Satellite Remote Sensing Services</FONT></DIV>
<DIV RE><FONT size=2 face="Courier New">Operations</FONT></DIV>
<DIV RE><FONT size=2 face="Courier New">Landgate</FONT></DIV>
<DIV RE><FONT size=2 face="Courier New">65 Brockway Road, FLOREAT WA 6014</FONT></DIV>
<DIV RE><FONT size=2 face="Courier New">PO Box 741 Wembley WA 6913</FONT></DIV>
<DIV RE><FONT size=2 face="Courier New">Ph. (08) 9387 0332 | Fx. (08) 9383 7142</FONT></DIV>
<DIV RE><A href="mailto:keith.moss@landgate.wa.gov.au"><FONT size=2 face="Courier New">keith.moss@landgate.wa.gov.au</FONT></A></DIV>
<DIV RE><A href="http://www.landgate.wa.gov.au/"><FONT size=2 face="Courier New">www.landgate.wa.gov.au</FONT></A></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Tamas Szekeres [mailto:szekerest@gmail.com]<BR><B>Sent:</B> Thu 19/05/2011 16:12<BR><B>To:</B> Keith Moss<BR><B>Cc:</B> mapserver-users@lists.osgeo.org<BR><B>Subject:</B> Re: [mapserver-users] Union Layers and GetLegendGraphic<BR></FONT><BR></DIV>
<DIV>Keith,<BR><BR>The idea looks promising. Which source layer should be used to copy the styles?<BR>In case if the source layer contains multiple classes (with expressions, classitem etc.), the actual feature may be required to select the class to be used.<BR><BR>Best regards,<BR><BR>Tamas<BR><BR><BR>
<DIV class=gmail_quote>2011/5/19 Keith Moss <SPAN dir=ltr><<A href="mailto:Keith.Moss@landgate.wa.gov.au">Keith.Moss@landgate.wa.gov.au</A>></SPAN><BR>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class=gmail_quote>
<DIV>
<DIV dir=ltr>
<DIV dir=ltr><FONT color=#000000 size=2 face=Arial>Hi all,</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT> </DIV>
<DIV dir=ltr><FONT size=2 face=Arial>Just noticed an issue with the new 'UNION' layer type in MapServer 6.</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT> </DIV>
<DIV dir=ltr><FONT size=2 face=Arial>With 'STYLEITEM AUTO' set the styles are inherited for GetMap requests but, it seems, not for GetLegendGraphic requests. Giving the UNION layer a copy of the styles for the source layers works, but obviously this is exactly ideal. Just wondering if this is on anyone's "to implement" list?</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT> </DIV>
<DIV dir=ltr><FONT size=2 face=Arial>cheers</FONT></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>__________________________________ </DIV></DIV>
<DIV dir=ltr>
<DIV><FONT size=2 face="Courier New">Keith Moss</FONT></DIV>
<DIV><FONT size=2 face="Courier New">Satellite Remote Sensing Services</FONT></DIV>
<DIV><FONT size=2 face="Courier New">Operations</FONT></DIV>
<DIV><FONT size=2 face="Courier New">Landgate</FONT></DIV>
<DIV><FONT size=2 face="Courier New">65 Brockway Road, FLOREAT WA 6014</FONT></DIV>
<DIV><FONT size=2 face="Courier New">PO Box 741 Wembley WA 6913</FONT></DIV>
<DIV><FONT size=2 face="Courier New">Ph. (08) 9387 0332 | Fx. (08) 9383 7142</FONT></DIV>
<DIV><A href="mailto:keith.moss@landgate.wa.gov.au" target=_blank><FONT size=2 face="Courier New">keith.moss@landgate.wa.gov.au</FONT></A></DIV>
<DIV><A href="http://www.landgate.wa.gov.au/" target=_blank><FONT size=2 face="Courier New">www.landgate.wa.gov.au</FONT></A></DIV></DIV>
<P><SPAN style="FONT-SIZE: 11pt">This e-mail and any files transmitted with it are intended only for the use of the addressee(s). It may contain information that is confidential and privileged, in which case neither is intended to be waived or lost by mistaken delivery to you. If you are not an intended recipient, any use, interference with, disclosure, distribution or copying of this material is unauthorised and prohibited. If you receive this e-mail in error, please notify the sender by return e-mail and delete the message and any attachments from your system. Unless specifically indicated, this e-mail does not constitute formal advice or commitment by the sender or the Western Australian Land Information Authority (Landgate). Information in this message not relating to the official business of Landgate shall be understood as neither given nor endorsed by it. It is your responsibility to check any attachments for viruses and defects before opening or sending them on. Landgate’s liability is limited to re-supplying affected attachments.</SPAN></P></DIV><BR>_______________________________________________<BR>mapserver-users mailing list<BR><A href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A><BR><A href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target=_blank>http://lists.osgeo.org/mailman/listinfo/mapserver-users</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>