after the gwc improvements backport (post 2.1.1), 2.1.x use the same
rendering routine than GeoServer itself to create the tiles out of the
metatile RenderedImage. It actually calls
RenderedImageMapResponse.write(...). So there should be no difference,
if GeoServer's WMS can render it, then GWC can. AT LEAST there's some
misbehavior depending on whether  RenderedImageMapResponse.write(...)
receives a RenderedImage or a BufferedImage (gwc gives it a
RenderedImage product of a JAI crop operation. But I doubt that'd be
the case, as there are all kinds on clever tricks inside the
RenderedImageMapResponse to account for that kind of things?

Cheers,
Gabriel

On Thu, Jul 7, 2011 at 4:52 AM, Andrea Aime
<[email protected]> wrote:
> On Thu, Jul 7, 2011 at 5:14 AM, Joshua M. Thompson
> <[email protected]> wrote:
>>
>> On Wed, Jul 6, 2011 at 10:21 PM, Gabriel Roldan <[email protected]>
>> wrote:
>> >>
>> >> I hate to reply to my own message already, but I finally figured this
>> >> out. The new server had native JAI, but not JAI-ImageIO installed.
>> >> Installing the JAI-ImageIO extensions solved the issue.
>> > sorry I didn't see the question before. That's just what I was going
>> > to ask. Glad you figured it out.
>> >
>> > Am I right that after installing Jai-ImageIO you needed to truncate
>> > the cache in order for the tiles to be correctly generated?
>>
>> Yes, I was wiping the cache every time I arn another test. The tiles
>> were definitely generated incorrectly; I could tell by the file sizes
>> on many tiles being identical.
>>
>> So is that (JAI but no JAI-ImageIO) an invalid configuration? If so
>> geoserver should probably complain loudly when it sees that, because
>> there was nothing in the logs to indicate anything was amiss. I only
>> noticed it by comparing the server status screens.
>
> Sounds more like just a bug to me. Normally devs have one particular
> dev setup (e.g., particular jdk and all jai libraries installed)
> and might not see the issue if it happens only with a different config
> Cheers
> Andrea
>
> --
> -------------------------------------------------------
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
>
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax:      +39 0584 962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -------------------------------------------------------
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to