Interpolate function as per Symbology Encoding 1.1
--------------------------------------------------

                 Key: GEOT-3001
                 URL: http://jira.codehaus.org/browse/GEOT-3001
             Project: GeoTools
          Issue Type: New Feature
            Reporter: Michael Bedward
            Assignee: Andrea Aime
         Attachments: se_functions.patch

The attached patch is a first go at implementing the Interpolate function for 
numeric and colour interpolation. Please review it carefully as I expect many 
changes and improvements will be required. The patch also has a new version of 
the unit tests for the Categorize function but more work is required for them 
(and probably that function).

Some design issues:
The SE 1.1 spec defines two optional parameters for this function: method 
("numeric" or "color") and mode ("linear", "cosine" or "cubic"). Surely these 
terms are the wrong way round (?)

The cubic algorithm used was chosen for its simplicity and, hopefully, speed 
relative to more complex cubic spline algorithms, but I've only assessed its 
performance briefly and qualitatively.

The cubic algorithm requires at least 4 interpolation points. If less than 4 
are provided the function falls back to cosine interpolation - is this 
reasonable ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to