Hi All<br><br>I am trying to add a scalebar to the map output.  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&#39;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>  LABEL<br>    SIZE small<br>    COLOR 0 0 0<br>  END<br>END<br><br>---------------------<br><br>
<br>Thanks<br><br><br clear="all">Matt  :)<br><br>