2008/8/21 Martin Desruisseaux wrote: > To be slightly more generic, you may invoke > org.geotools.referencing.operation.matrix.XAffineTransform.getScaleX0(gridToCRS) > and XAffineTransform.getScaleY0(gridToCRS) instead. They will work even if > there is a rotation.
Super - many thanks Martin. What do you and others think about wrapping the generic calculation into an obvious method for clients to call ? Naively I would have though that querying the cell size was a common requirement - though perhaps the absence of such a function means that it isn't. cheers Michael ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users