MapTools.org

[maplab-users] excludeing layers from legend

Jean-Francois.Doyon@CCRS.NRCan.gc.ca Jean-Francois.Doyon@CCRS.NRCan.gc.ca
Thu, 27 Feb 2003 14:35:54 -0500
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2DE97.71984DF0
Content-Type: text/plain;
	charset="iso-8859-1"

Paul,
 
This can easily be achieved by using the HTML Legend feature ... Not with
the standard GIF one however though.
 
Using the HTML Legend feature, you can set various metadata items on a
per-layer basis, and then have your legend template act based on those.
 
In your case, simply the built-in support of the order_metadata parameter
can be sued to achieve the desired effect.
 
Just check out the HTML Legend HOWTO it details it all.
 
Also note that this is more a question for the main mapserver list at
mapserver-users@lists.gis.umn.edu <mailto:mapserver-users@lists.gis.umn.edu>
(http://lists.gis.umn.edu/mailman/listinfo/mapserver-users) as it does not
pertain to maplab directly.
 
Cheers,
J.F.
 

-----Original Message-----
From: Paul Dymecki [mailto:millardymecki@sympatico.ca]
Sent: Thursday, February 27, 2003 2:22 PM
To: maplab-users@dmsolutions.ca
Subject: [maplab-users] excludeing layers from legend


Hello,
    I was wondering if anyone knows how i would go about displaying only a
select group of layers in the legend(ie. excludeing some of them).
thx,
Paul Dymecki


------_=_NextPart_001_01C2DE97.71984DF0
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2722.900" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=697072819-27022003><FONT face=Arial color=#0000ff 
size=2>Paul,</FONT></SPAN></DIV>
<DIV><SPAN class=697072819-27022003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=697072819-27022003><FONT face=Arial color=#0000ff size=2>This 
can easily be achieved by using the HTML Legend feature ... Not with the 
standard GIF one however though.</FONT></SPAN></DIV>
<DIV><SPAN class=697072819-27022003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=697072819-27022003><FONT face=Arial color=#0000ff size=2>Using 
the HTML Legend feature, you can set various metadata items on a per-layer 
basis, and then have your legend template act based on 
those.</FONT></SPAN></DIV>
<DIV><SPAN class=697072819-27022003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=697072819-27022003><FONT face=Arial color=#0000ff size=2>In 
your case, simply the built-in support of the order_metadata parameter can be 
sued to achieve the desired effect.</FONT></SPAN></DIV>
<DIV><SPAN class=697072819-27022003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=697072819-27022003><FONT face=Arial color=#0000ff size=2>Just 
check out the HTML Legend HOWTO it details it all.</FONT></SPAN></DIV>
<DIV><SPAN class=697072819-27022003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=697072819-27022003><FONT face=Arial color=#0000ff size=2>Also 
note that this is more a question for the main mapserver list at <A 
href="mailto:mapserver-users@lists.gis.umn.edu">mapserver-users@lists.gis.umn.edu</A>&nbsp; 
(http://lists.gis.umn.edu/mailman/listinfo/mapserver-users) as it does not 
pertain to maplab directly.</FONT></SPAN></DIV>
<DIV><SPAN class=697072819-27022003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=697072819-27022003><FONT face=Arial color=#0000ff 
size=2>Cheers,</FONT></SPAN></DIV>
<DIV><SPAN class=697072819-27022003><FONT face=Arial color=#0000ff 
size=2>J.F.</FONT></SPAN></DIV>
<DIV><SPAN class=697072819-27022003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Paul Dymecki 
  [mailto:millardymecki@sympatico.ca]<BR><B>Sent:</B> Thursday, February 27, 
  2003 2:22 PM<BR><B>To:</B> maplab-users@dmsolutions.ca<BR><B>Subject:</B> 
  [maplab-users] excludeing layers from legend<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
  <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; I was wondering if anyone 
  knows how i would go about displaying only a select group of layers in the 
  legend(ie. excludeing some of them).</FONT></DIV>
  <DIV><FONT face=Arial size=2>thx,</FONT></DIV>
  <DIV><FONT face=Arial size=2>Paul 
Dymecki</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C2DE97.71984DF0--


This archive was generated by Pipermail.