|
||||
[maplab-users] excludeing layers from legendJean-Francois.Doyon@CCRS.NRCan.gc.ca Jean-Francois.Doyon@CCRS.NRCan.gc.caThu, 27 Feb 2003 14:49:25 -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_01C2DE99.54A99E40 Content-Type: text/plain; charset="iso-8859-1" Paul, Well, if you rolled out your entire application using all the tools in maplab, then it should still not be too big a deal ... It turns out that MapLab uses HTML based legends in it's applications ... So once your application is rolled out, a quick editing of the template will enable the feature you like. I've never used it ro roll an entire application out (I use MapEdit only), so I don't know how much control it gives you for the legend output, but either you can do it through the interface, or just edit a bit of code in the resulting app's legend template. Basically, just make sure you have a relevant metadata item for legend ordering, and then edit the template, as per the docs, and you should be good to go! J.F. -----Original Message----- From: Paul Dymecki [mailto:millardymecki@sympatico.ca] Sent: Thursday, February 27, 2003 2:41 PM To: Jean-Francois.Doyon@CCRS.NRCan.gc.ca Subject: Re: [maplab-users] excludeing layers from legend Hi Francois, My application is already deeply intertwined with maplab unfortunately, (i've already modified the legend template to make it a select list) so will have to figure something out. I'll look into the metadata you mentioned a bit more to see if that helps, thx, Paul ----- Original Message ----- From: Jean-Francois.Doyon@CCRS.NRCan.gc.ca <mailto:Jean-Francois.Doyon@CCRS.NRCan.gc.ca> To: millardymecki@sympatico.ca <mailto:millardymecki@sympatico.ca> ; maplab-users@dmsolutions.ca <mailto:maplab-users@dmsolutions.ca> Sent: Thursday, February 27, 2003 2:35 PM Subject: RE: [maplab-users] excludeing layers from legend 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_01C2DE99.54A99E40 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=209534319-27022003><FONT face=Arial color=#0000ff size=2>Paul,</FONT></SPAN></DIV> <DIV><SPAN class=209534319-27022003><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=209534319-27022003><FONT face=Arial color=#0000ff size=2>Well, if you rolled out your entire application using all the tools in maplab, then it should still not be too big a deal ...</FONT></SPAN></DIV> <DIV><SPAN class=209534319-27022003><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=209534319-27022003><FONT face=Arial color=#0000ff size=2>It turns out that MapLab uses HTML based legends in it's applications ... So once your application is rolled out, a quick editing of the template will enable the feature you like.</FONT></SPAN></DIV> <DIV><SPAN class=209534319-27022003><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=209534319-27022003><FONT face=Arial color=#0000ff size=2>I've never used it ro roll an entire application out (I use MapEdit only), so I don't know how much control it gives you for the legend output, but either you can do it through the interface, or just edit a bit of code in the resulting app's legend template.</FONT></SPAN></DIV> <DIV><SPAN class=209534319-27022003><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=209534319-27022003><FONT face=Arial color=#0000ff size=2>Basically, just make sure you have a relevant metadata item for legend ordering, and then edit the template, as per the docs, and you should be good to go!</FONT></SPAN></DIV> <DIV><SPAN class=209534319-27022003><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=209534319-27022003><FONT face=Arial color=#0000ff size=2>J.F.</FONT></SPAN></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:41 PM<BR><B>To:</B> Jean-Francois.Doyon@CCRS.NRCan.gc.ca<BR><B>Subject:</B> Re: [maplab-users] excludeing layers from legend<BR><BR></FONT></DIV> <DIV><FONT face=Arial size=2>Hi Francois,</FONT></DIV> <DIV><FONT face=Arial size=2> My application is already deeply intertwined with maplab unfortunately, (i've already modified the legend template to make it a select list) so will have to figure something out. I'll look into the metadata you mentioned a bit more to see if that helps,</FONT></DIV> <DIV><FONT face=Arial size=2>thx,</FONT></DIV> <DIV><FONT face=Arial size=2>Paul</FONT></DIV> <BLOCKQUOTE dir=ltr style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A title=Jean-Francois.Doyon@CCRS.NRCan.gc.ca href="mailto:Jean-Francois.Doyon@CCRS.NRCan.gc.ca">Jean-Francois.Doyon@CCRS.NRCan.gc.ca</A> </DIV> <DIV style="FONT: 10pt arial"><B>To:</B> <A title=millardymecki@sympatico.ca href="mailto:millardymecki@sympatico.ca">millardymecki@sympatico.ca</A> ; <A title=maplab-users@dmsolutions.ca href="mailto:maplab-users@dmsolutions.ca">maplab-users@dmsolutions.ca</A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, February 27, 2003 2:35 PM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [maplab-users] excludeing layers from legend</DIV> <DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><BR></DIV> <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> </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> </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> </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> </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> </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> (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> </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> </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> 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></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML> ------_=_NextPart_001_01C2DE99.54A99E40--
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |