<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    That does sound like a bug.&nbsp; Does it exist in v2.4?<br>
    <br>
    <pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
    <br>
    On 1/12/2012 2:33 PM, Mark Volz wrote:
    <blockquote
      cite="mid:36CA828A36E29F45B7CF0A1766E5DFA30BA3F1@swmail01.r8nssis.local"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
p.emailquote, li.emailquote, div.emailquote
        {mso-style-name:emailquote;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:1.0pt;
        border:none;
        padding:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:941307206;
        mso-list-type:hybrid;
        mso-list-template-ids:1616571774 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Brent,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I
            found that measuring on screen works fine, however I agree
            with you it is not a good idea.&nbsp; The issue that I am having
            is that the reported scale on the scale drop down list
            located at the bottom of the screen appears to be incorrect
            when compared to the measuring tools, or Arcgis.&nbsp; For
            example the scale 1:864 on GeoMOOSE appears to be the same
            scale as 1:1200 on ArcMap, and when I measure 1 foot on the
            screen in either application I get 1200 feet.&nbsp; Long story
            short, I think that the scale text on the dropdown menu is
            only 72% as large as it should be. &nbsp;&nbsp;That&#8217;s why I think it
            is a bug, but in either case I am not going to push the
            issue any further.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <div>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Mark
              Volz<o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">GIS
              Specialist<o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">
                Brent Fraser [<a class="moz-txt-link-freetext" href="mailto:bfraser@geoanalytic.com">mailto:bfraser@geoanalytic.com</a>]
                <br>
                <b>Sent:</b> Thursday, January 12, 2012 2:56 PM<br>
                <b>To:</b> Mark Volz<br>
                <b>Cc:</b> GeoMOOSE Users List<br>
                <b>Subject:</b> Re: [Geomoose-users] Possible Bug /
                Issue with the scale - geomoose 2.2?<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Mark,<br>
          <br>
          &nbsp; The glib answer is "don't measure on the screen".&nbsp; Now for
          the long answer....<br>
          <br>
          &nbsp; I did an evaluation of the scale in GeoMoose v1.6.1 a couple
          of years ago and found the same problem as you.&nbsp; Back then
          (before OpenLayers), there was a GeoMoose config setting
          called MAP_PIXELS_PER_INCH with a default setting of 72.&nbsp; When
          I adjusted it to my screen's dpi the scale was fine.&nbsp; I expect
          there is a similar setting in OpenLayers (DOTS_PER_INCH?).&nbsp;
          But the problem is you can't depend on a monitor having a
          particular dpi (the browser can look it up though).&nbsp; Here's
          some of the chatter from Sept 2009 (it that email archived
          somewhere?):<br>
          <br>
          <br>
          <o:p></o:p></p>
        <pre> I'm not really too concerned about the map scale on the screen, <o:p></o:p></pre>
        <pre>but I wanted to make sure I understood how Mapserver/Geommoose/FPDF was scaling <o:p></o:p></pre>
        <pre>the images (since the printed scale is very important).<o:p></o:p></pre>
        <pre><o:p>&nbsp;</o:p></pre>
        <pre>So the first step is to get the screen scale close:<o:p></o:p></pre>
        <pre><o:p>&nbsp;</o:p></pre>
        <pre>&nbsp;&nbsp; Measuring the boxes in the link you provided below (<a moz-do-not-send="true" href="https://gis.ci.stpaul.mn.us/10in-test.html">https://gis.ci.stpaul.mn.us/10in-test.html</a>), I saw that they were 5% <o:p></o:p></pre>
        <pre>too big (the 10cm box measured 10.5cm).&nbsp; I looked up the "pixel pitch" of my <o:p></o:p></pre>
        <pre>monitor (0.281 mm/pixel), calculated the dpi (90.391), set that value (it was <o:p></o:p></pre>
        <pre>originally set to 96 dpi) in the Display (Control <o:p></o:p></pre>
        <pre>panel-&gt;display-&gt;settings-&gt;advanced-&gt;general), rebooted. ... Perfect!<o:p></o:p></pre>
        <pre><o:p>&nbsp;</o:p></pre>
        <pre>&nbsp;&nbsp; Now to measure my graticule.&nbsp; With "MAP_PIXELS_PER_INCH = 72" in the Geomoose <o:p></o:p></pre>
        <pre>config.js file, the grid spacing was about 20% too small; not good.&nbsp; I changed <o:p></o:p></pre>
        <pre>my site settings from "MAP_PIXELS_PER_INCH = 72" to MAP_PIXELS_PER_INCH = <o:p></o:p></pre>
        <pre>90.391; ... Perfect!<o:p></o:p></pre>
        <pre><o:p>&nbsp;</o:p></pre>
        <pre><o:p>&nbsp;</o:p></pre>
        <pre>The bottom line is, while most (all?) monitor drivers dpi setting may be off, <o:p></o:p></pre>
        <pre>Geomoose would be better off doing the calculation as Bob pointed out below, <o:p></o:p></pre>
        <pre>rather than "hard-coding" it in the site settings.<o:p></o:p></pre>
        <pre><o:p>&nbsp;</o:p></pre>
        <pre>&nbsp;&nbsp; Now I need to look at the printed map scale process...<o:p></o:p></pre>
        <p class="MsoNormal">==================================================================<br>
          <br>
          <o:p></o:p></p>
        <pre>&nbsp;&nbsp; To sum up:<o:p></o:p></pre>
        <pre><o:p>&nbsp;</o:p></pre>
        <pre>1. Printing to Scale<o:p></o:p></pre>
        <pre>--------------------<o:p></o:p></pre>
        <pre>&nbsp;&nbsp; I made some mods to v1.6.1 to pass the value of the ScaleBox to the PHP <o:p></o:p></pre>
        <pre>printing system, and added some code to re-calc the extents of the map portion <o:p></o:p></pre>
        <pre>of the page.&nbsp;&nbsp; It seems to work well.&nbsp; If others are interested, I can talk with <o:p></o:p></pre>
        <pre>Dan to get the changes integrated into geomoose-trunk (AKA v1.6.1+).&nbsp;&nbsp; Some <o:p></o:p></pre>
        <pre>parts may even be useful for GM v2.<o:p></o:p></pre>
        <pre><o:p>&nbsp;</o:p></pre>
        <pre>2. Map to Scale on the Screen<o:p></o:p></pre>
        <pre>-----------------------------<o:p></o:p></pre>
        <pre>&nbsp;&nbsp; There's no need to adjust your display driver DPI setting, just set the <o:p></o:p></pre>
        <pre>MAP_PIXELS_PER_INCH value in Geomoose's config.js and you'll get a map displayed <o:p></o:p></pre>
        <pre>exactly to scale. &nbsp;However, this value will be used for all client screens (and <o:p></o:p></pre>
        <pre>they likely all have different DPI), so unless one of your users complains, <o:p></o:p></pre>
        <pre>don't bother.<o:p></o:p></pre>
        <pre><o:p>&nbsp;</o:p></pre>
        <pre>3. Better Screen Scale<o:p></o:p></pre>
        <pre>----------------------<o:p></o:p></pre>
        <pre>&nbsp;&nbsp; A low priority enhancement for GM v2 would be to have the JavaScript <o:p></o:p></pre>
        <pre>calculate the screen resolution (see Bob's earlier posting in this thread) to <o:p></o:p></pre>
        <pre>get the screen scale to within 5%-ish (instead of the current 20% to 30%).<o:p></o:p></pre>
        <p class="MsoNormal"><br>
          <br>
          <br>
          <o:p></o:p></p>
        <pre>Best Regards,<o:p></o:p></pre>
        <pre>Brent Fraser<o:p></o:p></pre>
        <p class="MsoNormal"><br>
          On 1/12/2012 12:47 PM, Mark Volz wrote: <o:p></o:p></p>
        <div>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Hello,<o:p></o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">I
              noticed that the text on the scale dropdown is incorrect.&nbsp;
              For example, I measured 1 foot on my screen, which
              measured out to be 1200 feet on the map; which works out
              to be a scale of 1:1200.&nbsp; The stated scale on the textbox
              on the bottom of the screen reported that the scale is
              1:864 not 1:1200, which it should be.&nbsp; I noticed that
              864/1200 is .72, which mapserver assumes a 72 DPI, so I
              don&#8217;t know if that has something to do with the scale
              being incorrect.<o:p></o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">This
              bug / issue is on all of many of the 2.2 sites that I are
              out there.<o:p></o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Thanks<o:p></o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Mark
              Volz<o:p></o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">GIS
              Specialist<o:p></o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><br>
          <br>
          <br>
          <o:p></o:p></p>
        <pre>_______________________________________________<o:p></o:p></pre>
        <pre>Geomoose-users mailing list<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://lists.osgeo.org/mailman/listinfo/geomoose-users">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><o:p></o:p></pre>
      </div>
    </blockquote>
  </body>
</html>