|
From: Michael B. <mic...@gm...> - 2008-08-22 03:03:27
|
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 |