[mapserver-dev] v6 beta 4 Cairo PDF and raster

Brent Fraser bfraser at geoanalytic.com
Wed Apr 13 10:49:48 EDT 2011


Thanks to all involved in fixing the problem 
(http://trac.osgeo.org/mapserver/ticket/3799).  Shp2img no longer 
crashes, but the OPACITY doesn't seem to work.  Can someone confirm that?

Thanks!

Best Regards,
Brent Fraser


On 4/1/2011 9:46 PM, Brent Fraser wrote:
> 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...
>



More information about the mapserver-dev mailing list