<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div style="font-family: arial,helvetica,sans-serif;"><span>Matt,</span></div><div style="font-family: arial,helvetica,sans-serif;"><br><span></span></div><div style="font-family: arial,helvetica,sans-serif;"><span>The documentation about PDF output says that </span>legend, scalebar are not supported.</div><div style="font-family: arial,helvetica,sans-serif;"><br></div><div style="font-family: arial,helvetica,sans-serif;">Cheers from México<br></div><div style="font-family: arial,helvetica,sans-serif;">&nbsp;</div><div><font style="font-weight:bold;color:rgb(0, 96, 191);font-family:verdana, helvetica, sans-serif;" size="2">IC Carlos Ruiz</font><br><br></div><div style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 10pt;"><div style="font-family: times new roman, new york, times, serif;
 font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Matt McClelland &lt;matt@wildwalks.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> mapserver-users@lists.osgeo.org<br><b><span style="font-weight: bold;">Sent:</span></b> Sunday, September 25, 2011 8:53 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [mapserver-users] Scalebar on PDF<br></font><br><div id="yiv789279095">Hi All<br><br>I am trying to add a scalebar to the map output.&nbsp; It works fine in raster images (using WMS request)<br>but when I try to create a pdf (x-pdf) I get this error message<br>----------------------------------------<br>
msEmbedScalebar(): (null) failed to create scalebar image<br>msDrawScalebar(): General error message. Outputformat not supported for scalebar<br>-----------------------------------------<br><br>Is this a bug or known limitation?<br>
Does anyone know how to get scale bars working on PDF's??<br><br>mapfile entry that I am using (I also tried STATUS as ON, this gets rid of the error message, but no scalebar was rendered)<br>---------------------<br>
SCALEBAR<br>INTERVALS 5<br>UNITS meters<br>OUTLINECOLOR 0 0 0<br>STYLE 0<br>TRANSPARENT on<br>POSITION ul<br>STATUS embed<br>&nbsp; LABEL<br>&nbsp;&nbsp;&nbsp; SIZE small<br>&nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>&nbsp; END<br>END<br><br>---------------------<br><br>
<br>Thanks<br><br><br clear="all">Matt&nbsp; :)<br><br>
</div><br>_______________________________________________<br>mapserver-users mailing list<br><a ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br><br><br></div></div></div></body></html>