raster to pdf
Andrew Huang
ahuang at GEOANALYTIC.COM
Tue Aug 16 08:25:49 PDT 2005
Hi,
I'm trying to get mapserver to output a pdf file from a tiff image.
I can't seem to find much documentation about creating pdf files with mapserver so I thought I'd post something in here.
I'm able to create a pdf, but the file seems to only have 256 colors.
Below is a copy of the map file I use. Am I doing something wrong?
MAP
NAME test
STATUS ON
OUTPUTFORMAT
NAME pdf
MIMETYPE "application/x-pdf"
DRIVER pdf
IMAGEMODE RGB
EXTENSION "pdf"
END
SIZE 10800 10800
EXTENT 679793.750000 5485393.75 717518.75 5515106.250000
UNITS METERS
PROJECTION "proj=utm" "ellps=clrk66" "zone=11" "datum=NAD27" END
LAYER
NAME "82G09"
TYPE RASTER
STATUS ON
DATA "082G09FN.tif"
PROJECTION "proj=utm" "ellps=clrk66" "zone=11" "datum=NAD27" END
END
END
Thanks,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050816/31dba18c/attachment.htm>
More information about the MapServer-users
mailing list