Matt,
The documentation about PDF output says that legend, scalebar are not supported.
Cheers from México
IC Carlos Ruiz
________________________________
From: Matt McClelland <[email protected]>
To: [email protected]
Sent: Sunday, September 25, 2011 8:53 PM
Subject: [mapserver-users] Scalebar on PDF
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 :)
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users