<!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.6000.16525" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Paul...</FONT></DIV>
<DIV><FONT face=Arial size=2>I tried to make HTML Legends works with Mapscript 
C# (5.0 beta 5) without success as well...</FONT></DIV>
<DIV><FONT face=Arial size=2>Always getting a empty string from <FONT 
face="Times New Roman"><FONT size=3>proces</FONT><FONT size=2>sLegendTemplate 
... </FONT></FONT></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Maybe It is a bug? Someone could confirm that or point a 
solution?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Ty</FONT></DIV>
<BLOCKQUOTE 
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=pauljame@GMAIL.COM href="mailto:pauljame@GMAIL.COM">Paul james</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=MAPSERVER-USERS@LISTS.UMN.EDU 
  href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, August 23, 2007 5:48 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [UMN_MAPSERVER-USERS] HTML 
  Legends + mapscript (Updated)</DIV>
  <DIV><BR></DIV>
  <DIV>Thank you Tamas....</DIV>
  <DIV>But, I´ve already read that discussion before and unfortunately I 
  don´t known how It can help-me to make proces<FONT size=2>sLegendTemplate 
  function works...</FONT></DIV>
  <DIV><FONT size=2></FONT> </DIV>
  <DIV><FONT size=2>If anyone have a sample using it, I will be very happy 
  !  I´m stuck in that about 2 days ....</FONT></DIV>
  <DIV><FONT size=2>I think my template html is fine... The only problem I think 
  is that function that always return a empty string :( ...</FONT></DIV>
  <DIV><FONT size=2></FONT> </DIV>
  <DIV><FONT size=2>Ty very much again!</FONT></DIV>
  <DIV><BR><BR> </DIV>
  <DIV><SPAN class=gmail_quote>On 8/23/07, <B class=gmail_sendername>Tamas 
  Szekeres</B> <<A 
  href="mailto:szekerest@gmail.com">szekerest@gmail.com</A>> wrote:</SPAN> 
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Paul,<BR><BR>I 
    recall I had a discussion about an issue like this a few months ago<BR>in 
    this list which can be found here: <BR><A 
    href="http://www.mail-archive.com/mapserver-users@lists.umn.edu/msg11539.html">http://www.mail-archive.com/mapserver-users@lists.umn.edu/msg11539.html</A><BR><BR>I'm 
    not totally sure whether the statements out there apply to this <BR>version 
    exactly but this feature have been working that time 
    pretty<BR>well.<BR><BR><BR>Best regards,<BR><BR>Tamas<BR><BR><BR>2007/8/23, 
    Paul james <<A 
    href="mailto:pauljame@gmail.com">pauljame@gmail.com</A>>:<BR>> I 
    created a template.html like that :<BR>><BR>> [leg_class_html 
    opt_flag=15]<BR>><BR>><BR>> <img src=[leg_icon]> 
    [leg_class_name] <br><BR>><BR>> 
    [/leg_class_html]<BR>><BR>> And in my mapfile: 
    <BR>><BR>><BR>> LEGEND<BR>><BR>> STATUS ON<BR>><BR>> 
    KEYSIZE 18 12<BR>><BR>> # LABEL object<BR>><BR>> 
    LABEL<BR>><BR>> TYPE BITMAP<BR>><BR>> SIZE 
    MEDIUM<BR>><BR>> COLOR 0 0 89 <BR>><BR>> END<BR>><BR>> 
    TEMPLATE "template.html"<BR>><BR>> END<BR>><BR>> Now, In 
    code(c#) I´m trying to use processLegendTemplate function without<BR>> 
    sucess ... The function always return empty string ... <BR>> I think I´m 
    not using it correctly :<BR>><BR>><BR>><BR>> string[] _x = new 
    string[1];<BR>> string [] _y = new string[1];<BR>> 
    string  _html = mapaObj.processLegendTemplate(_x, _y, 
    1);<BR>><BR>> obs.: _html always return 
    empty...<BR>><BR>><BR>><BR>> Any ideas? I´m using Mapserver 5.0 
    beta 3 !<BR>><BR>> []´s<BR>><BR>><BR>><BR>><BR>> On 
    8/23/07, Paul james <<A href="mailto:pauljame@gmail.com"> 
    pauljame@gmail.com</A>> wrote:<BR>> ><BR>> > Hello guys 
    !<BR>> > I need change my legend system (mapaObj.Legend()) drawwith 
    HTML legend ...<BR>><BR>> > I´d like to known if someone could help 
    me with that... Any samples using <BR>> mapscript?<BR>> > I´m 
    completely  lost on this task!<BR>> ><BR>> > Any help 
    ?<BR>> ><BR>> > Thx<BR>> ><BR>> 
  ><BR>><BR>><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>