[Geoserver-users] format=application/pdf doesn't do alpha blending?

how awesome would it be if I could export this:
http://transit.frumin.net:8081/geoserver/wms?bbox=226355.0575892257,902465.5512216543,231305.9078647848,908256.0201132837&styles=&Format=application/openlayers&request=GetMap&layers=aw:towns,aw:tiger_road,aw:buildings,aw:bike_buffer,aw:walk_buffer,aw:rt_line,aw:rt_station,aw:aw_bike_arc,aw:bike_tracts,aw:rt_station,aw:possible_rt_origins,aw:rt_daccess_origins&width=1000&height=1000&srs=EPSG:26986

as a PDF? but when I change format=application/pdf, eg:
http://transit.frumin.net:8081/geoserver/wms?bbox=226355.0575892257,902465.5512216543,231305.9078647848,908256.0201132837&styles=&Format=application/pdf&request=GetMap&layers=aw:towns,aw:tiger_road,aw:buildings,aw:bike_buffer,aw:walk_buffer,aw:rt_line,aw:rt_station,aw:aw_bike_arc,aw:bike_tracts,aw:rt_station,aw:possible_rt_origins,aw:rt_daccess_origins&width=1000&height=1000&srs=EPSG:26986

all the semi-opaque polygons get rendered as totally opaque. bummer!

any thoughts?

thanks,
mike

PS I know I still owe you guys a JIRA entry from stuff from yesterday
--
View this message in context: http://www.nabble.com/format%3Dapplication-pdf-doesn't-do-alpha-blending--tf4722474.html#a13501698
Sent from the GeoServer - User mailing list archive at Nabble.com.

mfrumin ha scritto:

how awesome would it be if I could export this:
http://transit.frumin.net:8081/geoserver/wms?bbox=226355.0575892257,902465.5512216543,231305.9078647848,908256.0201132837&styles=&Format=application/openlayers&request=GetMap&layers=aw:towns,aw:tiger_road,aw:buildings,aw:bike_buffer,aw:walk_buffer,aw:rt_line,aw:rt_station,aw:aw_bike_arc,aw:bike_tracts,aw:rt_station,aw:possible_rt_origins,aw:rt_daccess_origins&width=1000&height=1000&srs=EPSG:26986

as a PDF? but when I change format=application/pdf, eg:
http://transit.frumin.net:8081/geoserver/wms?bbox=226355.0575892257,902465.5512216543,231305.9078647848,908256.0201132837&styles=&Format=application/pdf&request=GetMap&layers=aw:towns,aw:tiger_road,aw:buildings,aw:bike_buffer,aw:walk_buffer,aw:rt_line,aw:rt_station,aw:aw_bike_arc,aw:bike_tracts,aw:rt_station,aw:possible_rt_origins,aw:rt_daccess_origins&width=1000&height=1000&srs=EPSG:26986

all the semi-opaque polygons get rendered as totally opaque. bummer!

I have done some tests and I think it's a bug in iText that has been fixed recently. I just tried to use iText 2.0.6, found a workaround
for raster rendering not working and... here is the result of rendering
the spearfish group layer as a pdf:
http://geo.openplans.org/aaime/spearfish.pdf

Here are the two issues that need to be fixed:
http://jira.codehaus.org/browse/GEOS-1460
http://jira.codehaus.org/browse/GEOS-1461

If you can't wait just take your GeoServer, remove the iText
1.3 jar and replace it with an iText 2.0.6 jar you can download
from the iText site. This will fix the rendering transparency issue
(but not the black rasters one)

Cheers
Andrea