[mapserver-users] Scalebar on PDF

Carlos Ruiz boolean10001 at yahoo.com
Mon Sep 26 08:02:14 PDT 2011


Matt,

The documentation about PDF output says that legend, scalebar are not supported.

Cheers from México

 
IC Carlos Ruiz



________________________________
From: Matt McClelland <matt at wildwalks.com>
To: mapserver-users at lists.osgeo.org
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
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110926/c5ecbaba/attachment.htm>


More information about the MapServer-users mailing list