You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sis.apache.org by "Martin Desruisseaux (Jira)" <ji...@apache.org> on 2023/03/24 10:56:00 UTC

[jira] [Created] (SIS-576) Add interpolation and caching in DefaultEvaluator

Martin Desruisseaux created SIS-576:
---------------------------------------

             Summary: Add interpolation and caching in DefaultEvaluator
                 Key: SIS-576
                 URL: https://issues.apache.org/jira/browse/SIS-576
             Project: Spatial Information Systems
          Issue Type: Improvement
          Components: Coverage
    Affects Versions: 1.3, 1.2, 1.1
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux


The default, implementation of {{GridCoverage.evaluator()}} returns an instance of the package-private {{DefaultEvaluator}} class. The {{apply(DirectPosition)}} method of that class requested a {{RenderedImage}} of size 1×1 pixel every times that the method is invoked. This is inefficient. We should request an image of the size of a tile, for example 512×512 pixels, and cache it.

This work may require the completion of {{TileMatrix}} work, because we may try to align the requests to the size and position of existing tiles.

Having larger sizes also allow the use of bilinear or other interpolations, which are currently not implemented in {{DefaultEvaluator}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)