[mapserver-users] pdf vector output in 6.02

frequens frequens at gmail.com
Fri Apr 20 14:50:34 PDT 2012


Hi all,

I am having trouble producing a high quality vector output pdf with
6.02 php mapscript (same trouble using shp2img)
Cairo is enabled, the pdf file even gets created, but contains only a
raster image?

Pdf output is enabled:
IMAGETYPE PDF
 and
OUTPUTFORMAT
  NAME "pdf"
  DRIVER CAIRO/PDF
  MIMETYPE "application/x-pdf"
  IMAGEMODE RGB
  EXTENSION "pdf"
END

Since the mapserver documentation on pdf creation is rather archaic,
any help (a stripped version of someone's mapfile?) would be
appreciated!
My cairo library is rather old also: 1.4.10. Might this have any influence?

Many thanks in advance,

frequens



More information about the MapServer-users mailing list