<!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> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=292200307-02062005>The units of the projection is m. The Extent
of your mapfile are m? If it is, the units of the mapfile should be
m. </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=292200307-02062005></SPAN></FONT> </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> </DIV>
<DIV>Thank you for your response. My map file is simple as below:</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>MAP<BR> SHAPEPATH "d:\work\gis\kornburi\data\"<BR> FONTSET
"./fonts/fonts.list"<BR> SYMBOLSET "./symbols/symbol.sym"<BR> EXTENT
730000 1550000 935000 1750000<BR> UNITS kilometers<BR> SIZE 600
450<BR> IMAGETYPE gif<BR> TRANSPARENT
on<BR>SCALEBAR<BR> POSITION ll<BR> STATUS off<BR> COLOR 255 0
255<BR> IMAGECOLOR 255 255 0<BR> UNITS KILOMETERS<BR> INTERVALS
3<BR> STYLE 0<BR>END<BR>PROJECTION<BR>
"proj=utm"<BR> "zone=47"<BR>
"a=6377276.345"<BR> "b=6356075.413"<BR>
"towgs84=209,818,290,0,0,0,0"<BR>
"units=m"<BR> "no_defs"<BR>END<BR>LAYER</DIV>
<DIV>...</DIV>
<DIV>...</DIV>
<DIV>END</DIV>
<DIV> </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 <d.huisman@INGBCC.NL></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> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=314024505-31052005>It's not clear what goes wrong. Include
some 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> </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> </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> </DIV>
<DIV>Whether or not 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> </DIV>
<DIV>TIA</DIV>
<DIV> </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>