Re: [Geotools-devel] strange distortion from warp operation in ImageWorker

2016-11-22 Thread Niels Charlier
Indeed, makes sense that those are the two possible approaches to fix the problem. Regards Niels On 22-11-16 11:43, Andrea Aime wrote: On Mon, Nov 21, 2016 at 5:52 PM, Niels Charlier > wrote: Do you have an idea what could cause this kind of distortion? I am now

Re: [Geotools-devel] strange distortion from warp operation in ImageWorker

2016-11-22 Thread Andrea Aime
On Mon, Nov 21, 2016 at 5:52 PM, Niels Charlier wrote: > Do you have an idea what could cause this kind of distortion? I am now > strongly suspecting this a bug in JAI and not resolvable in geotools, > would that be possible? > Mind, this is quite likely the case, there is probably something in

Re: [Geotools-devel] strange distortion from warp operation in ImageWorker

2016-11-21 Thread Niels Charlier
Hello Andrea, Thank you for your response. On 21-11-16 18:07, Andrea Aime wrote: Yes, a significant one under load testing, as it avoids the generation of one level of tiles in the chain, thus reducing both computation and load on the tile cache. So by turning it off you get the good looking

Re: [Geotools-devel] strange distortion from warp operation in ImageWorker

2016-11-21 Thread Andrea Aime
On Mon, Nov 21, 2016 at 5:52 PM, Niels Charlier wrote: > > Strangely enough, this doesn't happen with a single image (or smaller > mosaic). The only difference I can see, is in the X and Y offset values > of the image and the affine transformation. > > This is the picture before the operation: >

[Geotools-devel] strange distortion from warp operation in ImageWorker

2016-11-21 Thread Niels Charlier
Hello, We are getting strange distortions when zooming on a very large mosaic (see https://osgeo-org.atlassian.net/browse/GEOS-7793), which appear to be caused by the JAI warp operation called in ImageWorker (see https://github.com/geotools/geotools/blob/master/modules/library/coverage/src/main