<!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.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=035503216-30012006>Thanks 
for the reply Luis,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=035503216-30012006>I 
would indeed like to see your code. </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=035503216-30012006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=035503216-30012006>&gt;&gt;you can use 
[scale] in your template file.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=035503216-30012006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=035503216-30012006>Formating aside, Im assuming that the template file 
need to have some extra code inorder to subsitute [scale] with the value of the 
scale. Is this assumption correct? If so, where can I find that 
code?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=035503216-30012006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=035503216-30012006>Thanks</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=035503216-30012006>Jeremy</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=035503216-30012006></SPAN></FONT>&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> Luis Treviņo Huerta 
  [mailto:ltrevino@gpobsi.com.mx]<BR><B>Sent:</B> January 30, 2006 11:21 
  AM<BR><B>To:</B> Sears, Jeremy; 
  MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> Re: [UMN_MAPSERVER-USERS] 
  scale?<BR><BR></FONT></DIV>
  <DIV>
  <DIV><FONT face=Arial size=2>Jeremy:</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>you can use [scale] in your template 
  file.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Use some javascript to format the value of scale 
  (like: 1:50,000 or 1:50.000). I have a small code that does this formating 
  using a getElementById. if you want it I can mail it to you.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Regards</FONT></DIV>
  <DIV><FONT face=Arial size=2>Luis</FONT></DIV></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=Jeremy.Sears@CCRS.NRCAN.GC.CA 
    href="mailto:Jeremy.Sears@CCRS.NRCAN.GC.CA">Sears, Jeremy</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> Monday, January 30, 2006 9:45 
    AM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> [UMN_MAPSERVER-USERS] 
    scale?</DIV>
    <DIV><BR></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=945583515-30012006>Hi 
    All,</SPAN></FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
    class=945583515-30012006>This should be an easy question, however I cant 
    find information on it....</SPAN></FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
    class=945583515-30012006></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
    class=945583515-30012006>How does one display the scale&nbsp;of a map? Im 
    looking to have mapserver (or other means?) produce a scale like "1:50 000", 
    rather than the scale bar. </SPAN></FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
    class=945583515-30012006></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
    class=945583515-30012006>Thanks</SPAN></FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
    class=945583515-30012006>Jeremy</SPAN></FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
    class=945583515-30012006></SPAN></FONT>&nbsp;</DIV>
    <BLOCKQUOTE>
      <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
      size=2>-----Original Message-----<BR><B>From:</B> UMN MapServer Users List 
      [mailto:MAPSERVER-USERS@LISTS.UMN.EDU]<B>On Behalf Of </B>Jerl 
      Simpson<BR><B>Sent:</B> January 30, 2006 10:27 AM<BR><B>To:</B> 
      MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] 
      setting variable value in mapfile<BR><BR></FONT></DIV>Hello,<BR><BR>I know 
      I can easily use variables in a mapfile, when the value comes from cookies 
      or a GET request.&nbsp; But what about setting a variable inside the 
      mapfile itself?<BR>Something like:<BR><BR>HIGHWAY_MAX_SCALE=2000000 
      <BR>HIGHWAY_MIN_SCALE=90000<BR><BR>or<BR><BR>HIGHWAY_COLOR="255 250 
      115"<BR><BR>then be able to use something like:<BR><BR>COLOR&nbsp; 
      %HIGHWAY_COLOR% <BR><BR>in a CLASS<BR><BR><BR>That way if I decide I want 
      to change a color, I can change it once, and have it take affect for 
      everywhere else? 
<BR><BR>Thanks,<BR><BR><BR>Jerl<BR></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>