<html>
<head>
<style type="text/css">
<!--
body { font-variant: normal; line-height: normal; margin-left: 4px; margin-right: 4px; margin-top: 4px; margin-bottom: 1px }
p { margin-top: 0; margin-bottom: 0 }
-->
</style>
</head>
<body style="margin-left: 4px; margin-right: 4px; margin-top: 4px; margin-bottom: 1px">
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Comic Sans MS">I'm not sure that there is something built in for MapServer for this, but I do know that we built this capability into GeoMoose, which takes the pixel sizes into account and does the scaling on the fly at the client for any view size.</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Comic Sans MS">Just click in the Scale window at the bottom right of this interface to see what I mean. You can type in a scale or use one of the predefined ones in the list.</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<i><font color="#0000ff" size="3" face="Comic Sans MS"><a href="http://gis.ci.stpaul.mn.us/gis/gismo_public/html/"><u>http://gis.ci.stpaul.mn.us/gis/gismo_public/html/</u></a></font></i><font size="3" face="Comic Sans MS"></font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Comic Sans MS">This got us out of a lot of those what scale is this questions. Doesn't really help with your question directly about making a scale, but it helps with figuring out what scale a view is at. We do work harder on the scale display in the printing tool though (which now that I look, is not included in the external viewer list for some reason)</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Comic Sans MS">Anyway, might help with how you arrive at your scale computations. The conversion code is in one of the javascript includes.</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Comic Sans MS">bobb</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<br>
<br>
>>> Chris Kantarjiev <cak@speedgauge.net> wrote:<br> </p>
<div style="border-left: solid 1px #050505; padding-left: 7px; background-color: #f3f3f3; margin-left: 15px; margin-right: 0; margin-top: 0; margin-bottom: 0">
<p style="margin-top: 0; margin-bottom: 0">
I've figured out my issues through trial and error (and mode=map). I'm<br>now wondering if there's an easy way to get the scale legend to display<br>the SCALEDENOM directly, rather than having to guess and/or convert<br>units? That would be really useful.<br><br>Thanks,<br>chris<br>_______________________________________________<br>mapserver-users mailing list<br>mapserver-users@lists.osgeo.org<br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver">http://lists.osgeo.org/mailman/listinfo/mapserver</a>-users<br>
</p>
</div>
</body>
</html>