Dear all, esp. Simone and Andrea, After much dithering I now have the proposed GridCoverage2D coord conversion methods proposed in this issue...
http://jira.codehaus.org/browse/GEOT-2666 ...working correctly. A patch is attached to the issue. The methods for point conversion reference grid cell centre coords. The world to grid method treats points lying on any margin of the grid coverage as included. The method for converting from grid to world envelope returns the world coords of the outer cell edges. The method for converting from world to grid envelope returns coords of those grid cells whose centres are included in the input world envelope. I'm hoping that these conventions (a) make sense and (b) are commonly useful. Obviously users can still opt for whatever other convention best suits them by accessing the MathsTransforms directly. Michael ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
