Hi Nicholas,

> This works great except for when you query for a point that falls on one of 
> the pixels directly
> on the edge the tiff. The outermost pixels aren't considered to be inside the 
> region. Pictures
> make this much clearer: 
> http://opentripplanner.org/attachment/ticket/163/bad_points.png and
> http://opentripplanner.org/attachment/ticket/163/bad_points_zoom.png. The 
> markers represent
> the points that threw a PointOutsideCoverageException.

This effect is (I'm pretty sure) because the bilinear interpolation
requires data for neighbouring cells that are beyond the edge of the
image. In that sense it's a bit like doing a convolution where you
will lose the outermost cells unless you buffer the input image.

I'm afraid I don't know what's happening with imagemosaic. Simone
might be able to help you there.

Michael

------------------------------------------------------------------------------
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to