Ciao Michael, Ciao Andrea,
I took a deep look at the Interpolato2D class today and I changed it a
little bit and I would like to have your feedback:

- now we always get the pixel using the GridToWorld mapped to corner
of coordinate
- I added usage of a borderextender so that we can compute
interpolations even at borders
- I have refined the interpolation code to actually keep into account
that when speaking model coordinates we have to include the right and
bottom edges as well since the envelope spans across the last pixel


Feedback welcome.

Ciao,
Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder - Software Engineer
Via Carignoni 51
55041  Camaiore (LU)
Italy

phone: +39 0584983027
fax:      +39 0584983027
mob:    +39 333 8128928


http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini
http://twitter.com/simogeo

-------------------------------------------------------

------------------------------------------------------------------------------

_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to