[mapserver-users] Scalebar on PDF
Matt McClelland
matt at wildwalks.com
Sun Sep 25 18:53:06 PDT 2011
Hi All
I am trying to add a scalebar to the map output. It works fine in raster
images (using WMS request)
but when I try to create a pdf (x-pdf) I get this error message
----------------------------------------
msEmbedScalebar(): (null) failed to create scalebar image
msDrawScalebar(): General error message. Outputformat not supported for
scalebar
-----------------------------------------
Is this a bug or known limitation?
Does anyone know how to get scale bars working on PDF's??
mapfile entry that I am using (I also tried STATUS as ON, this gets rid of
the error message, but no scalebar was rendered)
---------------------
SCALEBAR
INTERVALS 5
UNITS meters
OUTLINECOLOR 0 0 0
STYLE 0
TRANSPARENT on
POSITION ul
STATUS embed
LABEL
SIZE small
COLOR 0 0 0
END
END
---------------------
Thanks
Matt :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110926/8a168b64/attachment.htm>
More information about the MapServer-users
mailing list