Thanks David!

I knew, PNG printing was a recent adding in MapFish but I didn't make the  
link in my brain about the possibility that GeoServer module was done  
before the improvement in MapFish... Silly question!

I've no knowledge in programming outside web languages (JavaScript, Php)  
but I will take a look at the link you sent!

Geoffrey


On Fri, 02 Sep 2011 15:10:45 +0200, David Winslow <[email protected]>  
wrote:

> Well, if the PNG output is a recently added feature, it probably is not  
> in
> the GeoServer community module which relies on a specific version of  
> mapfish
> (IIRC, several months old at this point.)
>
> If you want a newer version in GeoServer, the quickest way is going to  
> be to
> fix up the community module yourself.  It may just be a matter of  
> grabbing
> the community module sources from SVN and changing the version in the
> pom.xml (which describes the dependencies for the module, among other
> things.)  If you're not sure what to do, feel free to ask about it on the
> IRC channel (we are getting a little beyond the scope of the users list.)
> http://docs.geoserver.org/stable/en/developer/quickstart/index.html is a
> good start too.
>
> --
> David Winslow
> OpenGeo - http://opengeo.org/
>
> On Fri, Sep 2, 2011 at 9:00 AM, gbrun <[email protected]> wrote:
>
>> Hi everybody!
>>
>> So I tried a lot of things to fix this problem! But nothing worked...
>>
>> Stephen says, there was something to do about with ImagIO. So I
>> reinstalled this many times, and JAI also. I changed many times my Java
>> version but without success. So, my problem doesn't come from the this  
>> two
>> things: native JAI and native ImagIO are activated in GeoServer.
>>
>> Does someone know if there are some printing limits with the GeoServer
>> printing module?
>>
>> Geoffrey
>>
>>
>>
>> On Mon, 29 Aug 2011 09:58:50 +0200, gbrun <[email protected]> wrote:
>>
>> > Thanks for your answer Stephen. I've already installed ImageIO, but  
>> I'm
>> > not sure if I did it in the right way. However, GeoServer says in its
>> > server status that ImageIO works fine! Nevertheless, I will look at  
>> it,
>> > and also look at the related subjects in the MapFish mailing-list.
>> >
>> > Geoffrey
>> >
>> >
>> > On Fri, 26 Aug 2011 17:56:43 +0200, Stephen V. Mather
>> > <[email protected]> wrote:
>> >
>> >> Hi Geoffrey,
>> >>      I don't know specifically for GeoServer, but I have anecdotes  
>> that
>> >> may be helpful.  Have you installed ImageIO?  This is, as I  
>> understand
>> >> it,
>> >> required for the MapFish print to image functionality, and that
>> >> functionality is itself considered experimental.  This functionality
>> >> was a
>> >> recent discussion on the MapFish users listserve.
>> >>
>> >> Best,
>> >> Steve
>> >>
>> >> Stephen Mather
>> >> Geographic Information Systems (GIS) Manager
>> >> (216) 635-3243
>> >> [email protected]
>> >> clevelandmetroparks.com
>> >>
>> >>
>> >>
>> >>
>> >> -----Original Message-----
>> >> From: gbrun [mailto:[email protected]]
>> >> Sent: Friday, August 26, 2011 9:27 AM
>> >> To: [email protected]
>> >> Subject: [Geoserver-users] PNG not working in outputFormats for the
>> >> printing
>> >> module
>> >>
>> >> 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/
>>
>>
>> ------------------------------------------------------------------------------
>> Special Offer -- Download ArcSight Logger for FREE!
>> Finally, a world-class log management solution at an even better
>> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
>> download Logger. Secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsisghtdev2dev
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>


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

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to