[mapserver-dev] v6 beta 4 Cairo PDF and raster
Brent Fraser
bfraser at geoanalytic.com
Fri Apr 1 23:46:00 EDT 2011
shp2img crashes when rendering a tif into a pdf using:
MAP
NAME 'topo'
# Map image size
SIZE 800 800
UNITS meters
EXTENT 285000 5435000 291000 5440000
PROJECTION
'proj=utm'
'zone=12'
'ellps=WGS84'
'datum=WGS84'
'units=m'
'no_defs'
END
# Background color for the map canvas -- change as desired
IMAGECOLOR 255 255 255
IMAGETYPE CAIRO_PDF
OUTPUTFORMAT
NAME 'CAIRO_PDF'
DRIVER CAIRO/PDF
EXTENSION "pdf"
END
LAYER
NAME '082h04'
TYPE RASTER
DATA 'C:\Inetpub\wwwroot\Topo\data\raster\SHADING\08H04.tif'
STATUS DEFAULT
OPACITY 50
PROJECTION
'proj=longlat'
'ellps=GRS80'
'datum=NAD83'
'no_defs'
END
END
END
I'll file a ticket...
--
Best Regards,
Brent Fraser
More information about the mapserver-dev
mailing list