<div dir="ltr">Scale bar works well for me.  I have a mile and feet version in two different styles.  They turn on or off in catelogue .  Here is the feet version... <div><br></div><div>Mapbook... </div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre">    </span><map-source name="scalebarft" type="mapserver"></div><div><span class="Apple-tab-span" style="white-space:pre">            </span><file>./scalebarft.map</file></div><div><span class="Apple-tab-span" style="white-space:pre">            </span><layer name="county" status="off"/></div><div><span class="Apple-tab-span" style="white-space:pre">                </span><param name="FORMAT" value="image/png;bits=8"/></div><div><span class="Apple-tab-span" style="white-space:pre">    </span></map-source></div></div><div><br></div><div>Map for one of them... (layer referenced but not drawn...) </div><div><br></div><div><div>MAP</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>NAME "county"</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>SIZE 800 650</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>STATUS ON</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">   </span>UNITS FEET</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">  </span>INCLUDE "geomoose_globals.map"</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">    </span>WEB</div><div><span class="Apple-tab-span" style="white-space:pre">          </span>METADATA</div><div><span class="Apple-tab-span" style="white-space:pre">                     </span>'ows_title' "county"</div><div><span class="Apple-tab-span" style="white-space:pre">                       </span>'ows_srs' 'EPSG:2913 EPSG:4326 EPSG:900913 EPSG:3857'</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>'ows_enable_request' '*'</div><div><span class="Apple-tab-span" style="white-space:pre">                     </span>'ows_onlineresource' '<a href="http://www.geomoose.org">http://www.geomoose.org</a>'</div><div><span class="Apple-tab-span" style="white-space:pre">           </span>END</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>END</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>LEGEND</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>      STATUS ON</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>      LABEL</div><div><span class="Apple-tab-span" style="white-space:pre">               </span>  TYPE TRUETYPE</div><div><span class="Apple-tab-span" style="white-space:pre">             </span>  FONT vera_sans</div><div><span class="Apple-tab-span" style="white-space:pre">            </span>  SIZE 8</div><div><span class="Apple-tab-span" style="white-space:pre">            </span>  COLOR 0 0 0</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>      END<span class="Apple-tab-span" style="white-space:pre">                </span></div><div><span class="Apple-tab-span" style="white-space:pre">     </span>END<span class="Apple-tab-span" style="white-space:pre"> </span></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">    </span>PROJECTION</div><div><span class="Apple-tab-span" style="white-space:pre">           </span>'init=epsg:2913'</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>END</div><div>  </div><div> </div><div>  SCALEBAR </div><div>    STATUS embed </div><div>    SIZE 200 3 </div><div>    UNITS feet</div><div>    BACKGROUNDCOLOR 120 120 120 </div><div>    imagecolor 255 255 255  </div><div>    COLOR 0 0 0</div><div>    STYLE 0 </div><div>    POSTLABELCACHE true </div><div>    TRANSPARENT OFF</div><div>    LABEL </div><div>      COLOR 0 0 90 </div><div>      buffer 2 </div><div>      OutLineColor 255 255 217</div><div>      SIZE small </div><div>    END </div><div>  END </div><div><br></div><div>Layer  </div><div>  Name "county"</div><div>  Data './data/county'</div><div>  Status On</div><div>  Type Polygon</div><div>  Class</div><div>     </div><div>  End</div><div>End</div><div><br></div><div>end </div><div><br></div><div> </div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 28, 2015 at 10:29 AM, Jim Klassen <span dir="ltr"><<a href="mailto:klassen.js@gmail.com" target="_blank">klassen.js@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    I am not familiar with any GeoMoose extensions to do that (nor have
    I ever looked for one).  <br>
    <br>
    My strategy has been to create a mapfile that the sole purpose is to
    draw a scalebar.  Then place it in the mapbook so it is on top of
    the stack and optionally put it in the catalog (if you want users to
    be able to turn it on and off).  As a bonus, the scalebar is then
    automatically printable.<br>
    <br>
    I don't have the mapfile handy now, but it is along the lines of:<br>
    <br>
    MAP<br>
      ...<br>
      SCALEBAR<br>
         ...<br>
      END<br>
       <br>
      # Empty layer needed for WMS  <br>
      LAYER<br>
        NAME 'scalebar'<br>
      END<br>
    END<br>
    <br>
    <div>On 07/28/2015 11:54 AM, Bistrais, Bob
      wrote:<br>
    </div>
    <blockquote type="cite">
      <pre>Thanks for the response, Brent.  I haven't found ScaleLine.js either.
But then, how do I get a scale bar to appear?

From: Brent Fraser [<a href="mailto:bfraser@geoanalytic.com" target="_blank">mailto:bfraser@geoanalytic.com</a>]
Sent: Tuesday, July 28, 2015 12:36 PM
To: Bistrais, Bob; <a href="mailto:geomoose-users@lists.osgeo.org" target="_blank">geomoose-users@lists.osgeo.org</a>
Subject: Re: [Geomoose-users] configuring scaleLine.js

Bob,

Looks like the ScaleLine object was deprecated in v2.6 (<a href="http://www.geomoose.org/releases/2.6.html" target="_blank">http://www.geomoose.org/releases/2.6.html</a>), and it was suggested to use the ScaleLine.js extension, which I never found (<a href="http://lists.osgeo.org/pipermail/geomoose-users/2013-April/004895.html" target="_blank">http://lists.osgeo.org/pipermail/geomoose-users/2013-April/004895.html</a>)



Best Regards,

Brent Fraser
On 7/28/2015 9:43 AM, Bistrais, Bob wrote:
Hello again,

Still looking for advice on how to get the scale line working on GeoMoose 2.6.x ?

From: <a href="mailto:geomoose-users-bounces@lists.osgeo.org" target="_blank">geomoose-users-bounces@lists.osgeo.org</a><a href="mailto:geomoose-users-bounces@lists.osgeo.org" target="_blank"><mailto:geomoose-users-bounces@lists.osgeo.org></a> [<a href="mailto:geomoose-users-bounces@lists.osgeo.org" target="_blank">mailto:geomoose-users-bounces@lists.osgeo.org</a>] On Behalf Of Bistrais, Bob
Sent: Thursday, July 23, 2015 3:00 PM
To: <a href="mailto:geomoose-users@lists.osgeo.org" target="_blank">geomoose-users@lists.osgeo.org</a><a href="mailto:geomoose-users@lists.osgeo.org" target="_blank"><mailto:geomoose-users@lists.osgeo.org></a>
Subject: [Geomoose-users] configuring scaleLine.js

I am trying to enable a scale bar in GeoMoose 2.6.1.  I see that this is now handled through scaleLine.js.  I don't see any specific document on that, and I haven't found scaleLine.js in the code.  Can anyone point me to these?

Thanks,
Bob




_______________________________________________

Geomoose-users mailing list

<a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a><a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank"><mailto:Geomoose-users@lists.osgeo.org></a>

<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a>


</pre>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Geomoose-users mailing list
<a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a></pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div>Dean R Anderson </div>
<div>IT Director </div>
<div>Polk County</div></div>
</div>