[Users] PNG outputFormats for printProvider

gbrun gbrun at myopera.com
Thu Aug 25 10:13:30 CEST 2011


Hi everybody!

I'm trying to export my mapPanel view in PNG format trough the print  
capabilities of GeoExt and GeoServer. For PDF, it works great! But not for  
PNG or other formats...

I read on this page http://www.mapfish.org/doc/print/configuration.html  
that the server needs JAI and ImageIO installed on it to provide some  
raster formats. In fact, there have already been installed on the server,  
and GeoServer noticed it. They are turned on 'true' in the GeoServer  
status. Besides, I don't think JAI and ImageIO are necessary to export  
maps in PNG.

In my yaml file, I specified of course PNG as outputFormat. Nevertheless,  
when I use firebug looking inside my printProvider variable, only one  
outputFormat is detected: PDF. How can I solve this problem?

If someone achieved exporting maps in PNG/JPG format, it would really be  
nice to explain how he did! Unfortunately, GeoExt's documentation only  
deals with PDF format. :s

Best regards,

Geoffrey


More information about the Users mailing list