On Wed, Jul 13, 2011 at 5:38 PM, Andrea Aime
<[email protected]> wrote:
> On Wed, Jul 13, 2011 at 10:25 PM, Gabriel Roldan <[email protected]> wrote:
>> 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?
>
> Gabriel, I've definitely seen that error too, just not sure if it's still 
> there.
> The JPEG writer is never happy about tiled images with origin != 0,
> if you are meta-tiling and slicing you have to care for that or you'll
> get errors.
> The ImageWorker class has a write jpeg method that takes care of that,
> but I guess GWC code is not depending on geotools coverage module,
> and thus cannot use that method?

I guess that holds true for vanilla gwc, but as mentioned above,
embedded geoserver layers do use the same rendering path than
geoserver's WMS, which in turn calls ImageWorker if I'm not mistaken,
and the specific subclass of RenderedImageMapResponse will take care
of calling the appropriate ImageWorker method as well of any extra
image preparation, right?

Gabriel
>
> 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
>
> -------------------------------------------------------
>



-- 
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