<!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.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi List,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I've been working on getting my "print to scale" 
code to work properly when working in latitude/longitude. I had a consistent 
error, and now realize it's because&nbsp;mapserver seems to ignore the longitude 
when converting from degrees to metres. I was wondering if that is something 
that could be changed. My code actually did compensate for it, which is why my 
scale (which is wrapped around the mapserver scale) did not match my 
scalebarsize after printing. It's quite a simple compensation; it's just a 
matter of taking the number&nbsp;which is currently calculated for the size of 
a&nbsp;pixel, and multiplying it with the cosine of the longitude (I use the 
longitude of the centre of the map). Of course the scale would not be the same 
throughout the map if your extent is large, but it will be a lot closer. In 
Perth the difference is around 15%. Where in the code should this be 
changed?</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></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Jacob</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>JACOB DELFOS<BR>SPATIAL INFORMATION 
ANALYST<BR>Maunsell Australia Pty Ltd<BR>629 Newcastle Street<BR>PO Box 
81<BR>Leederville 6902<BR>Western Australia<BR>ABN 20 093 846 925</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Tel &nbsp;&nbsp;&nbsp;&nbsp;+ 61 8 9281 
6185<BR>Fax&nbsp;&nbsp;&nbsp; + 61 8 9281 6297<BR><A 
href="mailto:jacob.delfos@maunsell.com">jacob.delfos@maunsell.com</A></FONT></DIV></BODY></HTML>