<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</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]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal style='line-height:14.4pt'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>i am a
super newbie (as you will see from my code)<br>
<br>
i'm not sure if i can even get my scalebar to show up without using some<br>
form of html code<br>
<br>
i am using a wms server<br>
<br>
this is some of my code before the layer definitions:<br>
<br>
#<br>
# Start of map file<br>
#<br>
<br>
MAP<br>
# NAME PRDC-demo<br>
<br>
# background color of image if transparency<br>
# is not requested<br>
IMAGECOLOR 174 206 180<br>
<br>
# default output image dimensions<br>
SIZE 600 400<br>
<br>
# always returns a map<br>
STATUS ON<br>
<br>
# set top level projection<br>
PROJECTION<br>
&nbsp; &quot;init=epsg:2961&quot;<br>
END<br>
<br>
#start of the scalebar<br>
SCALEBAR<br>
&nbsp; STATUS EMBED<br>
&nbsp; LABEL<br>
&nbsp;&nbsp;&nbsp; SIZE tiny<br>
&nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>
&nbsp;&nbsp;&nbsp; OUTLINECOLOR 255 255 255<br>
&nbsp; END<br>
&nbsp; STYLE 0<br>
&nbsp; INTERVALS 3<br>
&nbsp; SIZE 100 3<br>
&nbsp; COLOR 0 0 0<br>
&nbsp; BACKGROUNDCOLOR 255 255 255<br>
&nbsp; OUTLINECOLOR 0 0 0<br>
&nbsp; UNITS MILES<br>
&nbsp; POSITION LR<br>
&nbsp; TRANSPARENT TRUE<br>
&nbsp; #POSTLABELCACHE true<br>
END # Scalebar<br>
<br>
<br>
<br>
<br>
# image format options<br>
OUTPUTFORMAT<br>
&nbsp; NAME png<br>
&nbsp; DRIVER &quot;GD/PNG&quot;<br>
&nbsp; MIMETYPE &quot;image/png&quot;<br>
&nbsp; IMAGEMODE RGB<br>
&nbsp; EXTENSION &quot;png&quot;<br>
END<br>
<br>
<br>
# minx miny maxx maxy<br>
# sets:<br>
# /WMT_MS_Capabilities/Capability/Layer/LatLonBoundingBox(@minx @miny<br>
@maxx @maxx)<br>
# EXTENT -180 -90 180 90 # World<br>
EXTENT 486716 5.01368e+006 572241 5.07531e+006<br>
<br>
# add def pointers for symbols<br>
<br>
SYMBOLSET &quot;../etc/symbols/symbols.sym&quot;<br>
<br>
&nbsp; FONTSET&nbsp;&nbsp; &quot;../etc/fonts/fonts.txt&quot;<br>
<br>
SCALEBAR<br>
&nbsp; IMAGECOLOR 255 255 255<br>
# background color of the image placeholder<br>
&nbsp; LABEL<br>
&nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>
# color of the labels indicating the distance<br>
&nbsp;&nbsp;&nbsp; SIZE SMALL<br>
# size of the labels<br>
&nbsp; END<br>
&nbsp; SIZE 350 5<br>
# sixe in pixels of the scalebar<br>
&nbsp; COLOR 255 255 255<br>
# color used in the scalebar<br>
&nbsp; BACKGROUNDCOLOR 0 0 0<br>
# background color of the drawn scalebar<br>
&nbsp; OUTLINECOLOR 0 0 0<br>
# outline color of the salebar<br>
&nbsp; UNITS kilometers<br>
# units to be used<br>
&nbsp; INTERVALS 5<br>
# How many intervals in total in the<br>
# scalebar<br>
&nbsp; STATUS ON<br>
# the scalebar is on by default<br>
END<br>
<br>
#<br>
# Start of web interface definition<br>
WEB<br>
<br>
&nbsp; # this is the real filepath to the temp dir for intermediate file<br>
creation<br>
&nbsp; IMAGEPATH &quot;/tmp/ms_tmp/&quot;<br>
<br>
&nbsp; # this is the web-accessible path to IMAGEPATH<br>
&nbsp; IMAGEURL &quot;/ms_tmp/&quot;<br>
<br>
&nbsp; HEADER &quot;../templates/query_header.html&quot;<br>
&nbsp; FOOTER &quot;../templates/query_footer.html&quot;<br>
<br>
&nbsp; METADATA<br>
<br>
&nbsp;&nbsp; &quot;map&quot;
&quot;/var/www/html/mapserver/service/prdc-demo.map&quot;<br>
<br>
&nbsp;&nbsp; &quot;ows_schemas_location&quot; &quot;<a
href="http://schemas.opengeospatial.net/" target="_blank" ?><font color=black><span
style='color:black'>http://schemas.opengeospatial.net&quot;</span></font></a><br>
<br>
&nbsp;&nbsp; &quot;ows_title&quot; &quot;Pictou County GIS demo&quot;<br>
<br>
&nbsp;&nbsp; &quot;ows_abstract&quot; &quot;Pictou County GIS demo.&nbsp;
Enjoy!&quot;<br>
<br>
&nbsp;&nbsp; &quot;ows_keywordlist&quot; &quot;mapserver,ogc,workshop&quot;<br>
<br>
&nbsp;&nbsp; &quot;ows_service_onlineresource&quot; &quot;<a
href="http://localhost/mapserver/index.html" target="_blank" ?><font
color=black><span style='color:black'>http://localhost/mapserver/index.html&quot;</span></font></a><br>
&nbsp;&nbsp; &quot;ows_fees&quot; &quot;none&quot;<br>
&nbsp;&nbsp; &quot;ows_accessconstraints&quot; &quot;none&quot;<br>
&nbsp;&nbsp; &quot;wms_contactperson&quot; &quot;Libo Feng&quot;<br>
&nbsp;&nbsp; &quot;wms_contactorganization&quot; &quot;Pictou County&quot;<br>
&nbsp;&nbsp; &quot;wms_contactposition&quot; &quot;Systems Scientist&quot;<br>
&nbsp;&nbsp; &quot;wms_addresstype&quot; &quot;postal&quot;<br>
&nbsp;&nbsp; &quot;wms_address&quot;&nbsp;&nbsp;&nbsp;&nbsp; &quot;980 East
River rd.&quot;<br>
&nbsp;&nbsp; &quot;wms_city&quot; &quot;New Glasgow&quot;<br>
&nbsp;&nbsp; &quot;wms_stateorprovince&quot; &quot;Nova Scotia&quot;<br>
&nbsp;&nbsp; &quot;wms_postcode&quot; &quot;B2H-2G3&quot;<br>
&nbsp;&nbsp; &quot;wms_country&quot; &quot;Canada&quot;<br>
&nbsp;&nbsp; &quot;wms_contactvoicetelephone&quot; &quot;+01-905-336-4409&quot;<br>
&nbsp;&nbsp; &quot;wms_contactfacsimiletelephone&quot;
&quot;+01-905-336-4499&quot;<br>
&nbsp; &quot;wms_contactelectronicmailaddress&quot; &quot;lfeng@prdc.com&quot;<br>
&nbsp;&nbsp; &quot;wms_srs&quot; &quot;EPSG:4326&quot;<br>
&nbsp;&nbsp; &quot;wms_feature_info_mime_type&quot;&nbsp; &quot;text/html&quot;<br>
&nbsp;&nbsp; &quot;wfs_srs&quot; &quot;EPSG:4326&quot;<br>
&nbsp;&nbsp; &quot;wfs_namespace_uri&quot; &quot;<a
href="http://localhost/mapserver" target="_blank" ?><font color=black><span
style='color:black'>http://localhost/mapserver&quot;</span></font></a><br>
&nbsp;&nbsp; &quot;wfs_namespace_prefix&quot; &quot;ms_ogc&quot;<br>
&nbsp;&nbsp; &quot;wcs_label&quot; &quot;Sample OWS for MapServer OGC Web
Services Workshop&quot;<br>
&nbsp;&nbsp; &quot;wcs_description&quot; &quot;Sample OWS for MapServer OGC Web
Services Workshop.<br>
Enjoy!&quot;<br>
&nbsp; &quot;WMS_SLD_SYMBOL_URL&quot; &quot;<a href="http://wendy/dot.png"
target="_blank" ?><font color=black><span style='color:black'>http://wendy/dot.png&quot;</span></font></a><br>
<br>
<br>
<br>
&nbsp;&nbsp; # sets:<br>
&nbsp;&nbsp; # /WCS_Capabilities/Service/metadataLink/@xlink:href<br>
&nbsp;&nbsp; &quot;wcs_metadatalink_href&quot; &quot;<a
href="http://devgeo.cciw.ca/index.html" target="_blank" ?><font color=black><span
style='color:black'>http://devgeo.cciw.ca/index.html&quot;</span></font></a><br>
&nbsp;&nbsp; END<br>
END<br>
<br>
# hilite map for GetFeatureInfo &quot;info_format=text/html&quot;<br>
# requests<br>
<br>
QUERYMAP<br>
&nbsp; STATUS ON<br>
&nbsp; SIZE 200 200<br>
&nbsp; STYLE HILITE<br>
&nbsp; COLOR 255 255 0<br>
END<br>
<br>
<br>
# set defaults for GetLegendGraphic requests<br>
LEGEND<br>
&nbsp; LABEL<br>
&nbsp;&nbsp; TYPE BITMAP<br>
&nbsp;&nbsp; SIZE MEDIUM<br>
&nbsp;&nbsp; COLOR 222 0 0<br>
&nbsp;&nbsp; POSITION cc<br>
&nbsp; END<br>
END<br>
<br>
and this is the address i am using for my mapserver:<br>
<br>
&quot;<a href="http://192.168.3.102/cgi-bin/mapserv" target="_blank"><font
color=black><span style='color:black'>http://192.168.3.102/cgi-bin/mapserv</span></font></a>?<br>
map=/var/www/html/mapserver/service/prdc-<br>
demo.map&amp;version=1.1.1&amp;service=WMS&amp;request=GetMap&amp;srs=EPSG:2961&amp;mode=scaleb<br>
ar&amp;width=600&amp;height=400&amp;layers=cobounds,roads&amp;SLD=<a
href="http://192.168.3.102/maps" target="_blank"><font color=black><span
style='color:black'>http://192.168.3.102/maps</span></font></a><br>
erver/service/sld_line_width.xml&quot;<br>
<br>
<br>
<br>
i am probably missing something simple<br>
<br>
any direction would be appreciated<br>
<br>
thnx<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>