[Users] PNG outputFormats for printProvider

gbrun gbrun at myopera.com
Thu Aug 25 12:11:22 CEST 2011


Some additional informations: I tested the capabilities of the print  
plugin trough this URl: http://localhost:8080/geoserver/pdf/info.json (so  
outside of a GeoExt context).

Although PDF and PNG are specified in my yaml file, the capabilities  
document says that PDF is the only available output format. So, it seems  
that the problem comes from the server side, probably from the printing  
GeoServer plugin. Does anyone know if this plugin allows PNG printing?

Geoffrey



On Thu, 25 Aug 2011 10:13:30 +0200, gbrun <gbrun at myopera.com> wrote:

> 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
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users


-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


More information about the Users mailing list