Hi everybody! I posted a message on the GeoExt list, but I think my problem rather deals with GeoServer.
I'm using the print module of GeoServer based on the MapFish print module: http://docs.geoserver.org/stable/en/user/community/printing/index.html It works very good, but only for PDF printing. However, I specified PNG in the output formats in my YAML file. When I test the capabilities of the print module based on this YAML file, PNG is missing (others output formats also). Does anyone know if GeoServer printing module support only PDF? Geoffrey ------- Forwarded message ------- From: gbrun <[email protected]> To: [email protected] Cc: Subject: Re: [Users] PNG outputFormats for printProvider Date: Thu, 25 Aug 2011 12:11:22 +0200 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 <[email protected]> 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 > [email protected] > http://www.geoext.org/cgi-bin/mailman/listinfo/users -- Using Opera's revolutionary email client: http://www.opera.com/mail/ ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
