<!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.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=292200307-02062005>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=292200307-02062005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=292200307-02062005>The&nbsp;units of the projection&nbsp;is m. The Extent 
of your mapfile&nbsp;are m? If it is, the units of the mapfile should&nbsp;be 
m.&nbsp;&nbsp;</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=292200307-02062005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=292200307-02062005>best 
regards</SPAN></FONT></DIV>
<BLOCKQUOTE>
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Oorspronkelijk bericht-----<BR><B>Van:</B> Krung Saengpole 
  [mailto:saengpole@yahoo.com]<BR><B>Verzonden:</B> dinsdag 31 mei 2005 
  20:12<BR><B>Aan:</B> Dirk-Jan Huisman; 
  mapserver-users@lists.umn.edu<BR><B>Onderwerp:</B> Re: [UMN_MAPSERVER-USERS] 
  Simple question about scalebar.<BR><BR></FONT></DIV>
  <DIV>Hi,</DIV>
  <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
  <DIV>Thank you for your response. My map file is simple as below:</DIV>
  <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
  <DIV>MAP<BR>&nbsp;SHAPEPATH "d:\work\gis\kornburi\data\"<BR>&nbsp;FONTSET 
  "./fonts/fonts.list"<BR>&nbsp;SYMBOLSET "./symbols/symbol.sym"<BR>&nbsp;EXTENT 
  730000 1550000 935000 1750000<BR>&nbsp;UNITS kilometers<BR>&nbsp;SIZE 600 
  450<BR>&nbsp;IMAGETYPE gif<BR>&nbsp;TRANSPARENT 
  on<BR>SCALEBAR<BR>&nbsp;POSITION ll<BR>&nbsp;STATUS off<BR>&nbsp;COLOR 255 0 
  255<BR>&nbsp;IMAGECOLOR 255 255 0<BR>&nbsp;UNITS KILOMETERS<BR>&nbsp;INTERVALS 
  3<BR>&nbsp;STYLE 0<BR>END<BR>PROJECTION<BR>&nbsp;&nbsp;&nbsp; 
  "proj=utm"<BR>&nbsp;&nbsp;&nbsp; "zone=47"<BR>&nbsp;&nbsp;&nbsp; 
  "a=6377276.345"<BR>&nbsp;&nbsp;&nbsp; "b=6356075.413"<BR>&nbsp;&nbsp;&nbsp; 
  "towgs84=209,818,290,0,0,0,0"<BR>&nbsp;&nbsp;&nbsp; 
  "units=m"<BR>&nbsp;&nbsp;&nbsp; "no_defs"<BR>END<BR>LAYER</DIV>
  <DIV>...</DIV>
  <DIV>...</DIV>
  <DIV>END</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>My problem is that scalebar showed wrong distance. Everything is ok but 
  scalebar. I told you last message that true distance it should be 18.3 km but 
  scalebar showed 18300 km. I thought if this number was correct, then the unit 
  should be meter not kilometer. </DIV>
  <DIV><BR><B><I>Dirk-Jan Huisman &lt;d.huisman@INGBCC.NL&gt;</I></B> 
  wrote:</DIV>
  <BLOCKQUOTE class=replbq 
  style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
    <META content="MSHTML 6.00.2600.0" name=GENERATOR>
    <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
    class=314024505-31052005>Hi,</SPAN></FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
    class=314024505-31052005></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
    class=314024505-31052005>It's not clear what goes wrong. Include 
    some&nbsp;code of your mapfile. What are the map units and the scalebar 
    units?</SPAN></FONT></DIV>
    <DIV><FONT face=Tahoma><FONT face=Arial color=#0000ff 
    size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial 
    color=#0000ff size=2></FONT><BR></DIV><FONT size=2><SPAN 
    class=314024505-31052005></SPAN></FONT>
    <DIV><FONT size=2><SPAN 
    class=314024505-31052005>&nbsp;</SPAN>----Oorspronkelijk 
    bericht-----<BR><B>Van:</B> Krung Saengpole 
    [mailto:saengpole@YAHOO.COM]<BR><B>Verzonden:</B> maandag 30 mei 2005 
    16:34<BR><B>Aan:</B> MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Onderwerp:</B> 
    [UMN_MAPSERVER-USERS] Simple question about 
    scalebar.<BR><BR></DIV></FONT></FONT>
    <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
      <DIV>Dear all,</DIV>
      <DIV>&nbsp;</DIV>
      <DIV>Whether or not&nbsp;I embeded scalebar in map, it showed wrong 
      distance, e.g. it should be 18.3 km but it showed 18300 km. Nontheless I 
      use projection or not. What I have to specially set to get right 
      scalebar?</DIV>
      <DIV>&nbsp;</DIV>
      <DIV>TIA</DIV>
      <DIV>&nbsp;</DIV>
      <DIV>Krung</DIV>
      <P>__________________________________________________<BR>Do You 
      Yahoo!?<BR>Tired of spam? Yahoo! Mail has the best spam protection around 
      <BR>http://mail.yahoo.com</P></BLOCKQUOTE>
    <P><FONT face=Arial><BR><FONT 
    size=1>-----------------------------------------------------------------------------------<BR>Prins 
    Mauritsstraat 17, Postbus 75, 4140 AB Leerdam<BR>Telefoon (0345) 63 96 96, 
    Fax (0345) 63 96 66,<BR>E-mail </FONT></FONT><A 
    href="mailto:post@ingbcc.nl"><FONT face=Arial 
    size=1>post@ingbcc.nl</FONT></A><BR><FONT face=Arial size=1>Internet 
    </FONT><A href="http://www.ingbcc.nl/"><FONT face=Arial 
    size=1>www.ingbcc.nl</FONT></A><BR><FONT face=Arial 
    size=1>-----------------------------------------------------------------------------------<BR>Deze 
    e-mail en de eventuele bestanden die meegezonden zijn, zijn vertrouwelijk en 
    alleen bedoeld voor het gebruik door de individu of instelling aan wie deze 
    e-mail geadresseerd is. Als u deze e-mail onterecht ontvangen heeft wilt u 
    het ons dan laten 
    weten.<BR>-----------------------------------------------------------------------------------<BR>This 
    e-mail and any files transmitted with it are confidential and intended 
    solely for the use of the individual or entity to whom they are addressed. 
    If you have received this e-mail in error please notify the system 
    manager.<BR>-----------------------------------------------------------------------------------</FONT></P></BLOCKQUOTE>
  <P>
  <HR SIZE=1>
  Do You Yahoo!?<BR>Yahoo! Small Business - <A 
  href="http://us.rd.yahoo.com/evt=31637/*http://smallbusiness.yahoo.com/resources/">Try 
  our new Resources site!</A></BLOCKQUOTE>
<P><FONT face=Arial><BR><FONT 
size=1>-----------------------------------------------------------------------------------<BR>Prins 
Mauritsstraat 17, Postbus 75, 4140 AB Leerdam<BR>Telefoon (0345) 63 96 96, Fax 
(0345) 63 96 66,<BR>E-mail </FONT></FONT><A href="mailto:post@ingbcc.nl"><FONT 
face=Arial size=1>post@ingbcc.nl</FONT></A><BR><FONT face=Arial size=1>Internet 
</FONT><A href="http://www.ingbcc.nl"><FONT face=Arial 
size=1>www.ingbcc.nl</FONT></A><BR><FONT face=Arial 
size=1>-----------------------------------------------------------------------------------<BR>Deze 
e-mail en de eventuele bestanden die meegezonden zijn, zijn vertrouwelijk en 
alleen bedoeld voor het gebruik door de individu of instelling aan wie deze 
e-mail geadresseerd is. Als u deze e-mail onterecht ontvangen heeft wilt u het 
ons dan laten 
weten.<BR>-----------------------------------------------------------------------------------<BR>This 
e-mail and any files transmitted with it are confidential and intended solely 
for the use of the individual or entity to whom they are addressed. If you have 
received this e-mail in error please notify the system 
manager.<BR>-----------------------------------------------------------------------------------</FONT></P>
</BODY></HTML>