Thanks.<br><br>I think <font face="Trebuchet MS" size="2"><span class="625394919-21062006"><br><br>2) Don't tell anybody what the scale ratio of your map is, and rely on the scale bar for relating display distances to map distances.<br><br>is the way forward.<br><br><br></span></font><br><b><i>Tim Schaub <tim@commenspace.org></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> <meta content="MSHTML 6.00.2900.2912" name="GENERATOR"> <div dir="ltr" align="left"><font face="Trebuchet MS" size="2"><span class="625394919-21062006">Hey Donal-</span></font></div> <div dir="ltr" align="left"><font face="Trebuchet MS" size="2"><span class="625394919-21062006"></span></font> </div> <div dir="ltr" align="left"><font face="Trebuchet MS" size="2"><span class="625394919-21062006">MapServer assumes a monitor resolution of 72 dpi
by default (so this is what the scale bar assumes by default). This is seldom correct. The upshot is that the scale ratio (1:1000000) is seldom correct. However, this doesn't really matter unless you advertise the scale ratio and a client with a non 72 dpi monitor takes out a ruler.</span></font></div> <div dir="ltr" align="left"><font face="Trebuchet MS" size="2"><span class="625394919-21062006"></span></font> </div> <div dir="ltr" align="left"><font face="Trebuchet MS" size="2"><span class="625394919-21062006">There are two things that you can do if this bothers you.</span></font></div> <div dir="ltr" align="left"><font face="Trebuchet MS" size="2"><span class="625394919-21062006">1) Guess at your client's resolution and modify the scale bar's resolution property (myScaleBar.resolution = 96).</span></font></div> <div dir="ltr" align="left"><font face="Trebuchet MS" size="2"><span class="625394919-21062006">2) Don't tell anybody what
the scale ratio of your map is, and rely on the scale bar for relating display distances to map distances.</span></font></div> <div dir="ltr" align="left"><font face="Trebuchet MS" size="2"><span class="625394919-21062006"></span></font> </div> <div dir="ltr" align="left"><font face="Trebuchet MS" size="2"><span class="625394919-21062006">Since people always toss around numbers like 1:250000 for map scales, it might be disappointing to hear that these numbers aren't generally accurate for monitor displays (since there is not a reliable way for the server to know the client's screen resolution ahead of time). This is why I think it's better to rely on a scale bar than a numeric scale.</span></font></div> <div dir="ltr" align="left"><font face="Trebuchet MS" size="2"><span class="625394919-21062006"></span></font> </div> <div dir="ltr" align="left"><font face="Trebuchet MS" size="2"><span class="625394919-21062006">Tim</span></font></div> <div
dir="ltr" align="left"><font face="Trebuchet MS" size="2"><span class="625394919-21062006"></span></font> </div><br> <blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; margin-left: 5px; margin-right: 0px;"> <div class="OutlookMessageHeader" dir="ltr" align="left" lang="en-us"> <hr tabindex="-1"> <font face="Tahoma" size="2"><b>From:</b> ka-map-users-bounces@lists.maptools.org [mailto:ka-map-users-bounces@lists.maptools.org] <b>On Behalf Of </b>Donal Regan<br><b>Sent:</b> Wednesday, June 21, 2006 1:48 AM<br><b>To:</b> ka-Map-users@lists.maptools.org<br><b>Subject:</b> [ka-Map-users] scalebar question 1cm = 1km?<br></font><br></div> <div></div>Hello all.<br><br>I am displaying a map that has amongst it's scales 1:100000. I would expect my scalebar to show 1cm = 1km, i.e if I physically measure the scalebar with a ruler, 1cm on the ruler would correspond to 1km on the scalebar. However, I'm finding that 0.9cm =
1km , 1.85cm = 2km up to 5.7cm = 6km.<br><br><br> Is this just the way it is or am I misunderstanding the way the scalebar should be working?<br><br>Cheers,<br><br>Donal.<br><br> <div> </div><hr size="1"> Try the <a href="http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/wall_st_2/*http://us.rd.yahoo.com/evt=40565/*http://uk.docs.yahoo.com/nowyoucan.html">all-new Yahoo! Mail</a> . "The New Version is radically easier to use" – The Wall Street Journal</blockquote></blockquote><br><p> 
                <hr size=1>
"My Verdict: <a href="http://us.rd.yahoo.com/mail/uk/taglines/yahoo_co_uk/nowyoucan/wall_st/*http://us.rd.yahoo.com/evt=40569/*http://uk.docs.yahoo.com/nowyoucan.html">The new Yahoo! Mail</a> is far superior..." – The Wall Street Journal.